[Bug 243917] security/munge: rc script sends unnecessary SIGKILL to stop munged daemon
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 6 02:07:25 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243917
Bug ID: 243917
Summary: security/munge: rc script sends unnecessary SIGKILL to
stop munged daemon
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: bofh at freebsd.org
Reporter: chris.m.dunlap at gmail.com
Assignee: bofh at freebsd.org
Flags: maintainer-feedback?(bofh at freebsd.org)
Created attachment 211400
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211400&action=edit
send sigterm in munged_stop() to stop munged daemon
The rc script stops the munged daemon via kill -9. This prevents munged from
cleaning up, writing its prng seedfile, and removing its
socket/lockfile/pidfile.
Update munged_stop() to simply send SIGTERM to stop munged. The subsequent
sleep is also unnecessary. Patch attached. Tested on 11.3-RELEASE-p6 and
12.1-RELEASE-p2.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list