Created attachment 255099 [details] basic minimal rc.d script for illustration purposes Hi there, attachment `testd.sh` minimal rc.d script that starts `daemon` for `env` which always exits (just to illustrate), `-r` restarts `env` but `daemon` doesn't reacts to SIGTERM in that mode which is the signal sent on `service testd stop`, so it's hanging on waiting for PID indefinite: ``` ~# service testd onestop Stopping testd. Waiting for PIDS: 19035^C ``` think there is a race condition for when `daemon` receives SIGTERM but in a state when there is no child yet
This could be related to bug #277959
(In reply to Rudolph from comment #1) That's it, thanks for the link!
*** This bug has been marked as a duplicate of bug 277959 ***