Date: Thu, 06 Feb 2020 02:07:24 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 243917] security/munge: rc script sends unnecessary SIGKILL to stop munged daemon Message-ID: <bug-243917-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243917 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@freebsd.org Reporter: chris.m.dunlap@gmail.com Assignee: bofh@freebsd.org Flags: maintainer-feedback?(bofh@freebsd.org) Created attachment 211400 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211400&action= =3Dedit send sigterm in munged_stop() to stop munged daemon The rc script stops the munged daemon via kill -9. This prevents munged fr= om 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243917-7788>