Re: Rebuilding s6

"Laurent Bercot" <[email protected]> Sun, 01 Dec 2024 07:41:44 +0000
Newsgroups gmane.comp.sysutils.supervision.general
Message-ID <[email protected]>
>Is there a trick to re installing the s6 programs or have I just made
>an obvious mistake?

  Generally speaking, --enable-absolute-paths is a bad idea, except in
very specific situations. Things will likely work better without
that option; I suggest you rebuild the packages again without it.

  The step you're missing is probably running s6-linux-init-maker again,
after rebuilding/reinstalling the packages.

  Be aware that the default PATH set by s6-linux-init-maker is
/usr/bin:/bin, and that's what all the services will inherit. If you
have a service that needs a binary in /usr/sbin, make sure to update
the PATH in the run script for the service.
  Alternatively, if your whole infrastructure relies on binaries in
/usr/sbin, you might find it easier to adjust the default PATH for the
supervision tree, via the -p option to s6-linux-init-maker.

  HTH, and good luck,

--
  Laurent