[Bug 219527] Flawed umask handling in /etc/rc.d/random

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 25 12:30:39 UTC 2017


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

            Bug ID: 219527
           Summary: Flawed umask handling in /etc/rc.d/random
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: fk at fabiankeil.de
                CC: freebsd-security at FreeBSD.org

Lu Tung-Pin reported on freebsd-current@ a couple of months ago:

| A 2014 change broke the umask handling in /etc/rc.d/random,
| leaving /entropy with ug+r permissions. Quick fix attached,
| mirroring random_stop() behavior.
https://lists.freebsd.org/pipermail/freebsd-current/2017-January/064602.html

A couple of patch improvements were suggested but none
of them were committed.

It would be great if one of the proposed fixes would make it into 11.1.

I've been using the original version of the patch since January and can
confirm that it works as advertised.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-security mailing list