supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com>
To: debian-user@lists.debian.org, supervision@list.skarnet.org
Subject: nosh version 1.14
Date: Sun, 10 May 2015 00:09:35 +0100	[thread overview]
Message-ID: <554E93AF.3070709@NTLWorld.com> (raw)
In-Reply-To: <554E53EF.4080600@NTLWorld.com>

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.



       reply	other threads:[~2015-05-09 23:09 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54430B41.3010301@NTLWorld.com>
     [not found] ` <54B86FD5.3090203@NTLWorld.com>
     [not found]   ` <554E53EF.4080600@NTLWorld.com>
2015-05-09 23:09     ` Jonathan de Boyne Pollard [this message]
2015-06-01  0:02       ` nosh version 1.16 Jonathan de Boyne Pollard
2015-06-28 15:19         ` redo version 1.2 Jonathan de Boyne Pollard
2018-02-18  6:39           ` redo version 1.4 Jonathan de Boyne Pollard via freebsd-hackers
2015-06-28 16:39         ` nosh version 1.17 Jonathan de Boyne Pollard
2015-06-28 16:55           ` pflog(8) manual page bug Jonathan de Boyne Pollard
2015-06-28 20:55             ` Warren Block
2015-08-20 13:01           ` nosh version 1.18 Jonathan de Boyne Pollard
2015-08-22 18:04             ` nosh version 1.19 Jonathan de Boyne Pollard
     [not found]               ` <CADQ2Nw-506S3Gm4s40t+WzJu3Wzpwp=wPBWCFoQGZ2yrctCM_w@mail.gmail.com>
2015-09-28  1:05                 ` nosh version 1.20 Jonathan de Boyne Pollard
2015-09-28  1:33                   ` Joe Maloney
2015-09-28  7:27                     ` Jonathan de Boyne Pollard
2015-10-05  5:39                   ` nosh version 1.21 Jonathan de Boyne Pollard
2015-11-02  2:15                     ` nosh version 1.22 Jonathan de Boyne Pollard
2015-12-17 13:50                       ` nosh version 1.23 Jonathan de Boyne Pollard
2016-01-13  9:25                         ` nosh version 1.24 Jonathan de Boyne Pollard
2016-02-01  1:03                           ` nosh version 1.25 Jonathan de Boyne Pollard
2016-05-06 23:19                             ` nosh version 1.27 Jonathan de Boyne Pollard
2016-08-06 17:30                               ` nosh version 1.28 Jonathan de Boyne Pollard
     [not found]                                 ` <a1646fa5-e64c-5b2d-b057-aa347d1f30a1@freebsd.org>
2016-08-21 11:04                                   ` Jonathan de Boyne Pollard
2016-08-30 15:58                                     ` Joe Nosay
     [not found]                                 ` <0c339dcb-d09b-f234-d37f-9521d97146b1@NTLWorld.com>
     [not found]                                   ` <d9dddf06-257f-2f5e-c7dd-99cfd6aba187@NTLWorld.com>
     [not found]                                     ` <CADQ2Nw8YbeHp-yOUxTBXn6H8_OrU74ab1nb5=gc-+xeBL4FWFw@mail.gmail.com>
     [not found]                                       ` <159edb67-0288-a07e-c2cb-76574d0d2b98@NTLWorld.com>
     [not found]                                         ` <CADQ2Nw-XksEtP_wrXtaRFKw0yM=A-0okfXxFOpyDiCQGptQEww@mail.gmail.com>
     [not found]                                           ` <5769980e-cdc3-b802-b704-fdb8d0ce3f8f@NTLWorld.com>
     [not found]                                             ` <CADQ2Nw95KwkwDDErc_wsLrg=rHjhKHRsfseFPhA9avS0siu+5Q@mail.gmail.com>
2016-12-03 11:33                                               ` nosh version 1.29 Jonathan de Boyne Pollard
2016-12-03 11:41                                                 ` Jonathan de Boyne Pollard
2016-12-31 23:53 ` nosh version 1.30 Jonathan de Boyne Pollard
2017-01-14 11:26   ` nosh version 1.31 Jonathan de Boyne Pollard
2017-01-30  9:09     ` nosh version 1.32 Jonathan de Boyne Pollard
2017-04-09 19:52       ` nosh version 1.33 Jonathan de Boyne Pollard
2017-07-05 20:41         ` nosh version 1.34 Jonathan de Boyne Pollard
2017-09-10 10:43           ` nosh version 1.35 Jonathan de Boyne Pollard
2017-12-11  8:03             ` nosh version 1.36 Jonathan de Boyne Pollard
2018-02-18  6:49   ` nosh version 1.37 Jonathan de Boyne Pollard via freebsd-hackers
2018-02-18 21:23     ` Guillermo
2018-02-18 23:05       ` Jonathan de Boyne Pollard
2018-02-19  3:12         ` Guillermo
2018-02-19  5:10           ` Jonathan de Boyne Pollard
2018-02-20 19:13       ` Jonathan de Boyne Pollard
2018-02-21  1:21         ` Guillermo
2018-02-21  7:53           ` Jonathan de Boyne Pollard
2019-01-23  4:51     ` nosh version 1.39 Jonathan de Boyne Pollard
2019-03-20 10:21       ` nosh version 1.40 Jonathan de Boyne Pollard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=554E93AF.3070709@NTLWorld.com \
    --to=j.deboynepollard-newsgroups@ntlworld.com \
    --cc=debian-user@lists.debian.org \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).