Created attachment 211400 [details] 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.
A commit references this bug: Author: bofh Date: Wed Feb 12 22:00:06 UTC 2020 New revision: 525976 URL: https://svnweb.freebsd.org/changeset/ports/525976 Log: security/munge: Fix rc script PR: 243917 Submitted by: chris.m.dunlap@gmail.com Changes: head/security/munge/Makefile head/security/munge/files/munged.in