Re: Fix /etc/rc.d/random umask handling (/entropy permissions)

2017-01-21 Thread Lu Tung-Pin
On 2017-01-21 22:01, Jilles Tjoelker wrote: [Adding Cc: Dag-Erling Smørgrav who committed r273957 which seems to have introduced this] On Sat, Jan 21, 2017 at 01:21:42AM +, Lu Tung-Pin wrote: A 2014 change broke the umask handling in /etc/rc.d/random, leaving /entropy with ug+r permissions

Fix /etc/rc.d/random umask handling (/entropy permissions)

2017-01-20 Thread Lu Tung-Pin
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. (Incidentally, /usr/libexec/save-entropy is still fine for /var/db/entropy/*, as is /etc/rc.d/random for the new /boot/entropy.) --- /etc/rc