From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2747 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Casper Ti. Vector" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: s6 usability (was: runit patches to fix compiler warnings on RHEL 7) Date: Wed, 4 Dec 2019 09:30:52 +0800 Message-ID: <20191204013052.iimc76r2nehw5qs3@CasperVector> 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 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="89254"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision@list.skarnet.org Original-X-From: supervision-return-2336-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Dec 04 02:31:01 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 1icJVM-000N3r-5w for gcsg-supervision@m.gmane.org; Wed, 04 Dec 2019 02:31:00 +0100 Original-Received: (qmail 28613 invoked by uid 89); 4 Dec 2019 01:31:24 -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 28606 invoked from network); 4 Dec 2019 01:31:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=FbT/U7xGO44ak//VZ5lFunzgPFTZIb7PF1ZUtY6DRLo=; b=M/H+XP6hNtzIVk7fiiyMZvZlUvceXiqRHJcTzalBsrlCbi8RY3nqp+Ic4fULbQeIg0 SnUqnebf0A0auyLctSRkU6mAyrL38iV8DYKqyTFataSXdx4+o+8XZAcUqSseuMrYss8m e5wESY2GmgT55HdCVP9LQu4PPjqwQySaoP3ze5zjyiJZ4fcDR9O4QPKIZs1rFd4UK+Th jCBdOTcDJXygc1lLCXvrXePYzrKoIcCHM8tlVIbxcdbD6lWTDwSqQC+bBXCv+jQCESB9 nAj0qEJCP3Q8xAVWOEdCl/2JMaPCOhiEPY8YT96iM8QLidomM1p0qakHsn2oKrb+rDUg Gd+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=FbT/U7xGO44ak//VZ5lFunzgPFTZIb7PF1ZUtY6DRLo=; b=MoH9En7RP5r+9LS7I456xBu9CdnGqvjacX9OBv4BfFpq9p2izYXkjwohk8AyrnFwC7 IHzVDABaAXaL5RXKn4f6NM8sUrW92QNpzWSFt3lEWypwaDoDd9j7MxpXTS0n0FGKiv3+ tV1BsIXLOxUHOd1zNQslO/zyS85YRJYBPyvnlfV90r46m8kKBTDs6jP01HJ1hQM44q9g 7T/rpNvatF4SmynTeDUcmlfTsomANXRRNvRshpcEwXMnDdL/rpkZIBjfW3fenxy/UWKB qubWBeiH9MBPmrHcDOPTkdLM19aoeZ4exptwdHiWz8j/kU14VyiR4LPZRvxR8ldlO3k1 9y8w== X-Gm-Message-State: APjAAAUHz2K77aUbogVEAqLzYFCcaWzR7YUr/JNOj+uxevimMaUX75o/ qqtjl1CMwaIb7JXNo1RKkirzU1NR X-Google-Smtp-Source: APXvYqxhaCf5kZ/SP5R9zO1up4An1wB4XaQodlm4Iqxt8rYbSL1PKTZX4do2BF8zox+6UdY2vtcc+w== X-Received: by 2002:a17:90a:9dc3:: with SMTP id x3mr507131pjv.45.1575423055606; Tue, 03 Dec 2019 17:30:55 -0800 (PST) X-Google-Original-From: "Casper Ti. Vector" Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20191201214752.2ec0a81b@mydesk.domain.cxm> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2747 Archived-At: On Sun, Dec 01, 2019 at 09:47:52PM -0500, Steve Litt wrote: > Would it be acceptable to you and them to put the binaries in /bin/s6 > and then very early in the boot add /bin/s6 to the path? This isn't a > lot different from what djb did with /command, except it's not off the > root, which everyone seems to hate. Or can we consider the Plan 9 style [1], which searches all relative paths (in the broad sense, i.e. all which do not begin with `/', `./' or `../') from $PATH, so we can install chainloaders into /bin/s6 and then use `s6/cd' to run `/bin/s6/cd' in execline? [1] I fully understand that this convention is not followed in most Unix shells (except for rc(1) which is from Plan 9, and perhaps some others), but execline is not a shell, and we can additionally symlink /bin/s6/* into /bin for backward compatibility. -- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2020.10.19) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C