supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* runit: why ignore SIGCONT for stages?
@ 2021-11-23 12:17 Leah Neukirchen
  2021-11-23 18:28 ` Steve Litt
  2021-11-27 20:05 ` Guillermo
  0 siblings, 2 replies; 4+ messages in thread
From: Leah Neukirchen @ 2021-11-23 12:17 UTC (permalink / raw)
  To: supervision

Hello,

During debugging a ksh issue (https://github.com/ksh93/ksh/issues/301),
we noticed that many processes on a Void Linux system booted with runit
are ignoring SIGCONT.  This seems to be due to runit(8) before execing
into the stages:

      sig_unblock(sig_cont);
      sig_ignore(sig_cont);
...
      strerr_warn3(INFO, "enter stage: ", stage[st], 0);
      execve(*prog, (char *const *)prog, envp);

This code has been there since 2001.  Can someone explain why?
Ignoring SIGCONT seems to be a no-op, and the default handler seems to
create no problems for other init systems.

Thanks,
-- 
Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org/

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

end of thread, other threads:[~2021-11-27 20:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-23 12:17 runit: why ignore SIGCONT for stages? Leah Neukirchen
2021-11-23 18:28 ` Steve Litt
2021-11-27 20:05 ` Guillermo
2021-11-27 20:45   ` Steve Litt

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