Re: First time user experiences

Jan Braun <[email protected]> Tue, 24 Feb 2026 16:23:13 +0100
Newsgroups gmane.comp.sysutils.supervision.general
Message-ID <aZ3CYb6lKJUE4XR_@abakus>
--k+M9e8REU7AOPlHj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Ian Macdonald via supervision schrob:
> Despite my lack of understanding, s6-supervision seems to have been
> achieved but only for those processes started as part of the 'boot'
> process. The only other 'long running' programs I need are a window
> manager (dwm), terminal (st), dbus, a browser, a mail program and a
> file manager, all started in .xinitrc and all running in the foreground
>  (except bdus).
>=20
> Should they, can they and is there any advantage in them being
> supervised?

Supervision primarily means that the supervisor will try very hard to
ensure that there's always exactly one instance of the supervised
program runnning.

I'd absolutely want to be able to open several terminals, so supervising
st would be silly.
If you really want your Browser/mail/file manager to be always running
in your graphical session (including to automatically pop up again
should you close them), you could. Imho, it's of dubious value, unless
you're setting up an unprivileged "kiosk" pc/account, where you want to
ensure that those programs (and presumably only those) are always
present.

Xserver, window manager and user dbus lend themselves well to being
supervised, provided you handle $DISPLAY correctly.
On the other hand, if any of those crash, restarting them is probably an
insignificant part of the effort to get your state back to working
condition. Thus, imho, supervising them doesn't buy you much either.

> One final question. My service directories are, of course, under /etc,
> with all the other s6 stuff. What makes that the worst possible place
> for them to be!

Not sure which place Laurent recommends, but I can come up with far
worse places. ;)

cheers,
    Jan

--k+M9e8REU7AOPlHj
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEFzbVDxcLcKaSI7wVKV5wPm0dL88FAmmdwlwACgkQKV5wPm0d
L881Jg/+OJS1owwP/Lr9aU4IovK5TBc52x7BKtwgWU3U7FXiDElrpUwj5aIH+2Wr
XTubemfjMx1aBmdVLtqf1wDTFppYC0Z7yVqTe4mq5J27X13f8WrmRExzWeHaXGq5
6GGrL3IrUOI0eOOL1Q+NQCD1Ijqifp6m39pcrkRsgDrWDMw4qnC1qySFyBstIUTs
iurHVzMpTGsAZGz9kHMLEW4uaPkIVgbEWXEKuRKRrYgkvpZaJgHcnQyWKHE/zbAN
M1geUB4ScTaofDq3HwtTyPEfdr/okMRaKPMjb8BISVof22KosyG/plah2wAf2gxQ
x0EwNMZ0sUDeeStRrGx9pxq2mk0cmzemSgkzohAxHI9r29IUSHi2FdU7x2eBR1pf
qOyGoz6bIchaspcVX17IVYQwOjQ02Ovszy99geqkbu5Ur8o3Fu19gRgkWYy85pxc
9IKTqg1CYyiKUU4VqgGGUeU7nBmugtPSi8Axs3vq0LmW9yYFmwz25/UWNVlEcL4Y
3BVPmAsux40C7pb65usyMZ/6AxP/49i2Z7/j2V/6K5kPHZVZjSvR2FXHHjmCATA+
59WPadm8+S8KWEiXTva1TSfmhyzKwH/IoXFn8tnaMtE9m4sbnPUCziBNFmk1mgdZ
csAsqODBObIFJbvceHz54CmKyKQ186Nond5IM/eoJiXfZ0CFLj8=
=31cv
-----END PGP SIGNATURE-----

--k+M9e8REU7AOPlHj--