supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Laurent Bercot" <ska-supervision@skarnet.org>
To: "Ian Macdonald" <ianmacdo@tpg.com.au>, supervision@list.skarnet.org
Subject: Re: Rebuilding s6
Date: Sun, 01 Dec 2024 07:41:44 +0000	[thread overview]
Message-ID: <em012930e5-7495-4658-b8f5-a888ce25c16e@a2d41411.com> (raw)
In-Reply-To: <20241201170232.2c67c699@Naked.joffre.net>


>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


      reply	other threads:[~2024-12-01  7:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-01  7:02 Ian Macdonald via supervision
2024-12-01  7:41 ` Laurent Bercot [this message]

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=em012930e5-7495-4658-b8f5-a888ce25c16e@a2d41411.com \
    --to=ska-supervision@skarnet.org \
    --cc=ianmacdo@tpg.com.au \
    --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).