From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2745 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Holland Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: s6 usability Date: Mon, 2 Dec 2019 17:17:50 -0600 Message-ID: <337de051-b2b4-4f69-78e7-3f737f40384f@sholland.org> References: <20191125214342.y7lx5mixrljr6s27@gromit.local> <20191127203307.ohaameqfgncm52h5@gromit.local> <20191129140901.klifpegc74iv4zul@klumpi.ignorelist.com> <20191201214752.2ec0a81b@mydesk.domain.cxm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="163796"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 To: Laurent Bercot , "supervision@list.skarnet.org" Original-X-From: supervision-return-2334-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Dec 03 00:17:55 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1ibux0-000gUQ-9Q for gcsg-supervision@m.gmane.org; Tue, 03 Dec 2019 00:17:55 +0100 Original-Received: (qmail 6087 invoked by uid 89); 2 Dec 2019 23:18:19 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 6076 invoked from network); 2 Dec 2019 23:18:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=o s5FehbxrgQXVDpVSTGn6+XNGJphXDvkxh4PQJa2Phg=; b=HG+/c+yZU+tn3q6e2 ANNqOtt+OcunBGm1h8l1d0aATul1hnOKkE7q5j+xG6/GchzUunLxME+1HDYxbag2 TTXeeNFmESycW9QstqV9Ry8SunQDGoBPGkItX1JHVCxj/fHyZwe1+ribSkwG8t/z B/vc6IAP3gJQfhh0bN96+OIEid3Te4y3Ds01jpiFgA0t3JRyDfVhihb3JJ41g9MU k6RYQcdIzyGKz4y2NcO34XIzT7BnEkojjh4D6TA7Ngs+LzDXtH4LhMRd7PKfqfsQ SsDISqqu1Rcm6bbZ9FfV1HB2571OVMpnRNabq0QxYayeItXso/6ZqQMaiHax2jIj c89Ig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=os5FehbxrgQXVDpVSTGn6+XNGJphXDvkxh4PQJa2P hg=; b=IAh/WME49tnQ/jp2mYw475pg1cIiDf4sJXUkY2gPcGaFtfnUZlOdSx31j w15tUEBPkVL6+JRiOg3gVjFKy8lQvfsIqaQpwps1RAku5nl0F1hyLhcE4HE0WYSx y6Tu1CROJVsiwxSp8S7WeeKUvjHTndQQBhEVXcgHkzXGLUn2LXKEoKyxqQ+23jgd 8PcyPWKgxa6iPncldQjrv7A+cJ1rFeyiCcMHNfhfUbBtzdWCW5JtiGHHcXj79Zuo MEKSARiQ1KEvDCFs0T3sPNI35o0OdX7o8inUlBFr6ciHHiPLFE5jbsM6XAU7s+VF S3mYI2Dh8lnfojBJjmRLDqp0BHedQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejiedgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpefurghmuhgvlhcujfholhhlrghnugcuoehsrghmuhgvlhes shhhohhllhgrnhgurdhorhhgqeenucfkphepudefiedrfedvrdeifedrvdegvdenucfrrg hrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghnugdrohhrghenucev lhhushhtvghrufhiiigvpedt X-ME-Proxy: In-Reply-To: Content-Language: en-US Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2745 Archived-At: On 12/2/19 3:32 PM, Laurent Bercot wrote: >> As a guy who has both daemontools and s6 installed on the same box, I >> thank you from the bottom of my heart for: >> >> 1) Prepending s6- to each command so they don't clash with djb's >> 2) Except for the s6-, naming them the same as djb's so I have less to >>    remember. > > Yes, there are a good number of people, me included, who prefer that > naming scheme. However, Jan's UX return is valid, and if I want to make > s6 adoption as easy as possible, it needs to be taken into account too. >From a Linux distribution perspective, there's also the question of if s6 can be made a drop-in replacement for daemontools, since it does follow djb's naming scheme. In gentoo, there are various packages that depend on virtual/daemontools; for example, the nullmailer test suite uses ipcserver. From a quick comparison of the documentation, it looks like s6 only adds options, and remains compatible with the daemontools options. So would it be valid/acceptable for a distribution to create unprefixed symlinks to the s6-* binaries? It looks like this would mostly only work for the subset of the binaries that implement daemontools functionality; some others (s6-setsid, s6-sudo) would have naming conflicts if they were not prefixed. Then, with the symlinks, s6 could "provide" virtual/daemontools. Maybe this would also help discoverability (the issue at hand). Maybe the inconsistency would cause more harm than good, and the symlinks should be "for compatibility only". Thoughts? Samuel