supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Christian Hohnstaedt <christian@hohnstaedt.de>
To: supervision@list.skarnet.org
Subject: s6-svunlink hangs with s6-2.12.0.0
Date: Mon, 13 Nov 2023 18:07:21 +0100	[thread overview]
Message-ID: <ZVJXyQBbgfn4tq-k@hohnstaedt.de> (raw)

Hi,

calling s6-svunlink for a s6-svlink'ed service hangs with s6-2.12.0.0
and succeeds with previous s6-2.11.3.2

How to reproduce:

root@qemux86-64:~# cd /service
root@qemux86-64:/service# mkdir .n
root@qemux86-64:/service# echo -e '#!/bin/execlineb -p\nsleep 3000' > .n/run
root@qemux86-64:/service# chmod 755 .n/run
root@qemux86-64:/service# s6-svlink . .n n
root@qemux86-64:/service# s6-svstat n
up (pid 17882) 7 seconds
root@qemux86-64:/service# s6-svunlink . n

    (Hangs in poll() and needs CTRL-C to exit)

root@qemux86-64:/service# s6-svunlink . n
root@qemux86-64:/service# echo $?
0
root@qemux86-64:/service#


Cheers

	Christian

             reply	other threads:[~2023-11-13 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-13 17:07 Christian Hohnstaedt [this message]
2023-11-13 17:22 ` Laurent Bercot
2023-11-13 19:04   ` Christian Hohnstaedt

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=ZVJXyQBbgfn4tq-k@hohnstaedt.de \
    --to=christian@hohnstaedt.de \
    --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).