* s6-svunlink hangs with s6-2.12.0.0
@ 2023-11-13 17:07 Christian Hohnstaedt
2023-11-13 17:22 ` Laurent Bercot
0 siblings, 1 reply; 3+ messages in thread
From: Christian Hohnstaedt @ 2023-11-13 17:07 UTC (permalink / raw)
To: supervision
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: s6-svunlink hangs with s6-2.12.0.0
2023-11-13 17:07 s6-svunlink hangs with s6-2.12.0.0 Christian Hohnstaedt
@ 2023-11-13 17:22 ` Laurent Bercot
2023-11-13 19:04 ` Christian Hohnstaedt
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Bercot @ 2023-11-13 17:22 UTC (permalink / raw)
To: supervision
>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
It's very probably caused by a known issue with s6-svscan. Could you
please try with the latest s6 git and tell me whether it's fixed there?
--
Laurent
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: s6-svunlink hangs with s6-2.12.0.0
2023-11-13 17:22 ` Laurent Bercot
@ 2023-11-13 19:04 ` Christian Hohnstaedt
0 siblings, 0 replies; 3+ messages in thread
From: Christian Hohnstaedt @ 2023-11-13 19:04 UTC (permalink / raw)
To: Laurent Bercot; +Cc: supervision
Am Mon, Nov 13, 2023 at 05:22:33PM +0000 schrieb Laurent Bercot:
> > 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
>
> It's very probably caused by a known issue with s6-svscan. Could you
> please try with the latest s6 git and tell me whether it's fixed there?
>
Yes, applying commit 2598c3ce94f6f292bdd234020709af034c27d262
solves the issue.
Thanks
Christian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-13 19:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 17:07 s6-svunlink hangs with s6-2.12.0.0 Christian Hohnstaedt
2023-11-13 17:22 ` Laurent Bercot
2023-11-13 19:04 ` Christian Hohnstaedt
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).