From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2777 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dewayne Geraghty Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: s6 usability Date: Mon, 23 Dec 2019 10:47:36 +1100 Message-ID: <7e4f7540-94ab-7b49-a774-1bb927e18389@heuristicsystems.com.au> References: <20191125214342.y7lx5mixrljr6s27@gromit.local> <20191127203307.ohaameqfgncm52h5@gromit.local> <20191129140901.klifpegc74iv4zul@klumpi.ignorelist.com> <20191221092639.p5iid3y3csmni4iw@klumpi.ignorelist.com> <20191222153327.6ee088bd@mydesk.domain.cxm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="82033"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 To: supervision@list.skarnet.org Original-X-From: supervision-return-2366-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Dec 23 00:49:18 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 1ijAyL-000KzQ-1z for gcsg-supervision@m.gmane.org; Mon, 23 Dec 2019 00:49:18 +0100 Original-Received: (qmail 9023 invoked by uid 89); 22 Dec 2019 23:49:29 -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 9016 invoked from network); 22 Dec 2019 23:49:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1577058473; x=1577663274; bh=rWSR8zOHrmSPmnqBS1DaDXNXXQEMKbsHsyOZplu2mOA=; h=Subject:To:From:Message-ID:Date; b=Lk1PY0PCSpFLs2/7xOomAX2rewdgw2ZBB8fkSXmqY9abPZdROBtsc1q9MXyGl+8ch 5vv+m1QJ3Js34oxrBngcC+oUaPTWBIheAMfq84LmpuxRGMJcOOZbK90XYULqr4NoNU 8V7NemQ98XuG37j3vROro6m/Fs83jpnEhSQBKnVpSJUX017VIIpGu X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] In-Reply-To: <20191222153327.6ee088bd@mydesk.domain.cxm> Content-Language: en-GB Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2777 Archived-At: On the question of PATH for BSD land (FreeBSD, TrueOS, HardenedBSD et al), binaries installed from packages (ports) live under /usr/local, with the exception of /var and /tmp. The wars were fought and /usr/local can easily be mounted read-only. Of the 1446 packages I have installed (no desktop stuff), the breakdown is # ls /usr/local/bin/ | wc -l 2857 # ls /usr/local/sbin/ | wc -l 349 # find /usr/local/bin/ -type d -depth 1 /usr/local/bin/db5; # No directories under /usr/local/sbin # ls /usr/local/libexec|wc -l 72 The placement of files, is more a "distribution" decision that I'm sure is already settled. On the documentation front, Laurent's work is very good, but I did find the examples from the gentoo docset for s6 & s6-rc, a life saver for someone with no prior process or service management background. (I'd only used monit previously, and still do to reload application configs and some other system state change events over s6 tools).