Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2016 13:32:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212829] daemon(8) using -P swallows signals such as SIGHUP instead of propagating them
Message-ID:  <bug-212829-8-xWqcMtLJh3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212829-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212829-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #5 from prj@rootwyrm.com ---
Yes; after some discussion with feld@ I actually realized that this issue is
the actual root cause of problems I've been having with socat in my own
environment. The 'proper' way to terminate socat is SIGKILL, not SIGTERM. Right
now it sounds like daemon(8) isn't even working as intended and desired; now
we've got cases that are exposing further shortcomings. (And no, I'm not using
rc.subr.) 

What's supposed to happen is that when I issue a SIGKILL to daemon(8) it is
supposed to pass that SIGKILL through to the child immediately, then terminate
itself. Basically any signal should be passed through verbatim, then handled by
daemon(8) itself. That doesn't appear to be what's happening; at least not
reliably. So, it seems to be a mix of bug and shortcoming.

This definitely warrants some further discussion to see what the preferred
resolution to both issues would be.

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212829-8-xWqcMtLJh3>