supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* s6-rc-init verbose equivalent messages?
@ 2021-08-19  8:45 Dewayne Geraghty
  2021-08-19 17:36 ` Laurent Bercot
  0 siblings, 1 reply; 2+ messages in thread
From: Dewayne Geraghty @ 2021-08-19  8:45 UTC (permalink / raw)
  To: supervision

Is there anyway of tracking down the cause of the following fatal failure?
# /usr/local/bin/s6-rc-init -c /s/comp -l /s/run /s/scan
s6-rc-init: fatal: unable to supervise service directories in
/s/run/servicedirs: No such file or directory

I've completed a disk-disk copy, as I need to integrate s6 into
hardenedbsd.  The compile command works:
# /usr/local/bin/s6-rc-compile -v9 /s/comp /usr/local/etc/s6
...
all good.  But s6-rc-init is stuck, as above.  There are no changes to
the system except IP addresses. I'm baffled!

Regards, Dewayne.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: s6-rc-init verbose equivalent messages?
  2021-08-19  8:45 s6-rc-init verbose equivalent messages? Dewayne Geraghty
@ 2021-08-19 17:36 ` Laurent Bercot
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Bercot @ 2021-08-19 17:36 UTC (permalink / raw)
  To: Dewayne Geraghty, supervision

># /usr/local/bin/s6-rc-init -c /s/comp -l /s/run /s/scan
>s6-rc-init: fatal: unable to supervise service directories in
>/s/run/servicedirs: No such file or directory
>I've completed a disk-disk copy, as I need to integrate s6 into
>hardenedbsd.

  Do you have a s6-svscan process running on /s/scan ? You need one
before you can run s6-rc-init.

  If you have one, please get a strace of s6-rc-init, if you can:
that will tell exactly what's happening. But this error generally
points to a supervision tree that's not set up properly.

--
  Laurent


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-19 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  8:45 s6-rc-init verbose equivalent messages? Dewayne Geraghty
2021-08-19 17:36 ` Laurent Bercot

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).