Re: Rebuilding s6

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Sun, 01 Dec 2024 07:41:44 +0000

>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
Received on Sun Dec 01 2024 - 08:41:44 CET

This archive was generated by hypermail 2.4.0 : Sun Dec 01 2024 - 08:42:16 CET