From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2214 Path: news.gmane.org!not-for-mail From: Jonathan de Boyne Pollard Newsgroups: gmane.linux.debian.user,gmane.comp.sysutils.supervision.general Subject: nosh version 1.14 Date: Sun, 10 May 2015 00:09:35 +0100 Message-ID: <554E93AF.3070709@NTLWorld.com> References: <54430B41.3010301@NTLWorld.com> <54B86FD5.3090203@NTLWorld.com> <554E53EF.4080600@NTLWorld.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1431214408 14407 80.91.229.3 (9 May 2015 23:33:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 May 2015 23:33:28 +0000 (UTC) To: debian-user@lists.debian.org, supervision@list.skarnet.org Original-X-From: bounce-debian-user=gldu-debian-user-2=m.gmane.org@lists.debian.org Sun May 10 01:33:18 2015 Return-path: Envelope-to: gldu-debian-user-2@m.gmane.org Original-Received: from bendel.debian.org ([82.195.75.100]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YrEFB-0006LX-WA for gldu-debian-user-2@m.gmane.org; Sun, 10 May 2015 01:33:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by bendel.debian.org (Postfix) with QMQP id 3058BB4; Sat, 9 May 2015 23:33:13 +0000 (UTC) Old-Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on bendel.debian.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 Original-Received: from localhost (localhost [127.0.0.1]) by bendel.debian.org (Postfix) with ESMTP id 45F9973 for ; Sat, 9 May 2015 23:16:55 +0000 (UTC) X-Virus-Scanned: at lists.debian.org with policy bank en-ht X-Amavis-Spam-Status: No, score=-2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no Original-Received: from bendel.debian.org ([127.0.0.1]) by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525) with ESMTP id nVR8raGf7zbq for ; Sat, 9 May 2015 23:16:50 +0000 (UTC) Original-Received: from know-smtprelay-omc-7.server.virginmedia.net (know-smtprelay-omc-7.server.virginmedia.net [80.0.253.71]) by bendel.debian.org (Postfix) with ESMTP id 4D083A8 for ; Sat, 9 May 2015 23:15:35 +0000 (UTC) X-policyd-weight: using cached result; rate: -5 X-Greylist: delayed 338 seconds by postgrey-1.34 at bendel; Sat, 09 May 2015 23:16:00 UTC Original-Received: from [192.168.1.100] ([86.20.122.200]) by know-smtprelay-7-imp with bizsmtp id RzAK1q00h4KXVwe01zAKDz; Sun, 10 May 2015 00:10:19 +0100 X-Originating-IP: [86.20.122.200] X-Spam: 0 X-Authority: v=2.1 cv=cpwVkjIi c=1 sm=1 tr=0 a=WByauD8lJrWvBFCNrxRoEQ==:117 a=WByauD8lJrWvBFCNrxRoEQ==:17 a=LdKPt8bmWjYA:10 a=N659UExz7-8A:10 a=NLZqzBF-AAAA:8 a=1THDc1oPn8vIwv5qEqoA:9 a=pILNOxqGKmIA:10 a=XdyKOaxJwVsA:10 a=NJfp1ZnvUGcA:10 User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <554E53EF.4080600@NTLWorld.com> X-Rc-Spam: 2008-11-04_01 X-Rc-Virus: 2007-09-13_01 X-Rc-Spam: 2008-11-04_01 Resent-Message-ID: Resent-From: debian-user@lists.debian.org X-Mailing-List: archive/latest/691061 X-Loop: debian-user@lists.debian.org List-Id: List-URL: List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: debian-user-request@lists.debian.org Resent-Date: Sat, 9 May 2015 23:33:13 +0000 (UTC) Xref: news.gmane.org gmane.linux.debian.user:496063 gmane.comp.sysutils.supervision.general:2214 Archived-At: nosh is now up to version 1.14 * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html These particular changelog entries are a big deal for Debian Linux. * The previous regular sockets, sysinit services, and standard targets packages are now all merged into the bundles package. * There is now a new user VT package that runs new-style user VT services. * There is now a new kernel VT package that runs old-style kernel VT services. * The nosh-systemd-services package now automatically runs various nosh subsystems under systemd. I've taken the list of Debian packages available for download off the infobox at the side of the blurb page and set up a page devoted specifically to the Debian packages, explaining what they contain and are for in more detail than could fit into that infobox. * http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh/debian-binary-packages.html There's a known bug that I'm working on. Because the preset conversion is a little too aggressive, and because getttynam() exists on Debian Linux, you'll currently need a dummy BSD /etc/ttys file that presets the ttylogin@.service services that you want. Something like: tty1 /bin/false linux on secure tty5 /bin/false linux on secure tty7 /bin/false linux off secure vc0-tty /bin/false linux on secure vc1-tty /bin/false linux on secure vc2-tty /bin/false linux on secure Those "vcN-tty" lines are user-mode virtual terminals. As you can probably work out from this, on the BSD side the nosh user-mode virtual terminal system is able to pull terminal login service enable/disable information from the existing /etc/ttys configuration mechanism. (It also can pull from /etc/rc.conf and does "onifconsole" too.) The list of 157 things that I have to convert in order to fully replace BSD /etc/rc.d is discussed in detail on the FreeBSD Hackers mailing list. We have long since passed the point where it's possible to have an entirely nosh-managed FreeBSD/PC-BSD system, though. The list of things that I have to convert before I can likewise run my Debian Linux system fully under the nosh system-manager is down to about a handful, and is mainly the likes of service bundles for dbus and udev. If you already have daemontools-style run scripts for those, or eudev, or mdev, or whatever you enjoy, then you can race ahead of me. (-: The page also warns about the nosh-bundles package potentially enabling a lot of services. It's a package of over 400 service bundles. One way of avoiding this is to go the only-enable-what-I-permit route, and use this 99-default.preset: disable *.service disable *.socket With something like this 00-administrator.preset alongside: enable cyclog@acpid.service enable cyclog@atd.service enable cyclog@console-fb-realizer@*.service enable cyclog@console-multiplexor@*.service enable cyclog@gnucron.service enable cyclog@kerneloops.service enable cyclog@ModemManager.service enable cyclog@NetworkManager.service enable cyclog@org.cups.cups*.service enable cyclog@polkitd.service enable cyclog@terminal-emulator@*.service enable cyclog@ttylogin@*.service enable cyclog@update-binfmts.service enable cyclog@wpa_supplicant.service enable acpid.service enable atd.service enable console-fb-realizer@*.service enable console-multiplexor@*.service enable gnucron.service enable kerneloops.service enable ModemManager.service enable NetworkManager.service enable org.cups.cups*.service enable polkitd.service enable terminal-emulator@*.service enable ttylogin@*.service enable update-binfmts.service enable wpa_supplicant.service Adjust according to taste, of course. Mine also enables various additional service bundles including dnscache, tinydns, http6d, rabbitmq-server, and epmd (and their concomitant logging services) for example.