[Bug 212829] daemon(8) using -P swallows signals such as SIGHUP instead of propagating them

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 22 09:15:50 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212829

--- Comment #3 from Dave Cottlehuber <dch at skunkwerks.at> ---
Created attachment 175049
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175049&action=edit
v1

Thanks prj at . I'm not sure what usage daemon gets outside ports tree, but I
assume hooking it up to rc.d framework services is the major use case.

Looking at daemon.c it has a special case to forward SIGTERM, but nothing for
SIGHUP so I assume by default SIGHUP does  Something like this? see pretty diff
https://git.io/vi7j2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list