> On Apr 4, 2018, at 1:08 PM, Wietse Venema <wie...@porcupine.org> wrote: > > Just for the heck of it, can you replace in src/master/master_sig.c > this code: > > if (kill(pid, SIGKILL) < 0) > msg_fatal("%s: kill myself: %m", myname); > > With this code: > > exit(0); > > And see if that fixes the PID=1 behavior?
Perhaps instead of "exit(0)" it should be "_exit(0)", since exit(3) is not async-signal-safe. -- Viktor.