Re: what init systems do you use ?

2019-05-13 Thread multiplexd
All,

On Fri, May 03, 2019 at 02:53:21AM +0200, Jeff wrote:
> what init systems do this list's subscribers use ?

I saw Guillermo's reply up-thread, so I thought I'd add my own two cents. My
main workstation at present is a Debian 9 box booted with s6 and s6-rc, with
system setup and teardown (i.e. stages 1 and 3) handled by some execline scripts
heavily adapted from those generated by s6-linux-init-maker 0.4.x.x.

It's been nearly two years since I set this up, so I don't recall all the
details, but I started out with a sysvinit Debian 9 system, and
reverse-engineered the boot sequence, which included a by-hand conversion of all
the necessary /etc/init.d scripts into s6-rc service definitions.

The boot process follows the general flow to be expected from a system using
s6-svscan as PID 1. The stage 1 script sets up an initial service directory,
spawns the script which starts stage 2 and then exec's into s6-svscan. Most of
the runtime state configuration and management is then handled through s6-rc in
stage 2. Stage 3 involves deactivating all the s6-rc managed services and then
signalling the PID 1 s6-svscan, which execs into a script which kills the
remaining processes, unmounts filesystems and then performs a halt, poweroff, or
reboot as necessary.

The particulars of the configuration I'm using are generally not portable to
other machines though, as it was a proof-of-concept I came up with a year or two
or go for a different system, which I then ported to my current workstation,
which was set up in a very similar manner. I've also had to make it largely
signal-compatible with sysvinit, as apt(8) sometimes attempts to reload the init
configuration upon package changes. The signal used to request a configuration
reload from sysvinit is SIGUSR1 if I recall correctly, however the default
behaviour of the version of s6-linux-init-maker I was using at the time was to
power off the machine upon receiving SIGUSR1 in PID 1, so I had to change the
signal configuration for s6-svscan.

That being said, it's been very stable and has largely stayed out my way, so
it's been worth the initial setup effort in the long run.

Cheers,
--multiplexd.


Re: s6-ps

2019-01-05 Thread multiplexd
Hi all,

(Apologies to JdePB, I accidentally replied to him directly instead of
to the supervision list.)

On Sat, Jan 05, 2019 at 10:46:29AM +, Jonathan de Boyne Pollard wrote:
> Alas, the Debian world has not yet caught up with the other
> toolsets, and the third-party Debian packaging for s6-linux-utils and the
> others has yet to make it into Debian's own repository.

>
> * https://github.com/multiplexd/s6-packaging
>

Thanks for the advertising, Jonathan :-). I would, however, like to note
that getting that packaging into the official Debian repos is not an
immediate goal for me, as I don't have the time to commit to being a
Debian package maintainer for the forseeable future.

Cheers,
--multiplexd.


Re: has anyone gotten nosh to build on Void Linux?

2018-06-30 Thread multiplexd
On Sat, Jun 30, 2018 at 01:44:45AM -0700, Chris Brannon wrote:
> When I run package/compile from the root of the unpacked source tree, I
> get:
> redo: ERROR: all: Cannot find .do file to use.
> 
> -- Chris

Do you have pax installed? As I recall, not having pax is a common
stumbling block when trying to compile software packaged by JdeBP.

multiplexd.


Re: Compatibilities between runit and s6 (re: Incompatibilities between runit and s6?)

2018-01-16 Thread multiplexd
On Tue, Jan 16, 2018 at 08:06:09AM +, Jonathan de Boyne Pollard wrote:
> You have prompted me to fill in a long-standing dangling hyperlink.
> 
> * http://jdebp.eu./FGA/slashpackage.html
> 

Ah, good to hear! I've been waiting for that page to be written for a 
while :).