freebsd-dev/libexec/rc
Cy Schubert c6806434e7 rc.d/ntp: Ensure ntpd.leap-seconds.list is readable by ntpd
When a use sets umask in login.conf(5) to 027 or 077 a subsequently
fetched /var/db/ntpd.leap-seconds.list will inherit the permissions
allowed by the umask, resulting in a file that may not be readable
ntpd running under the ntp account. This patch adds a umask command
to preempt the umask in login.conf(5) prior to fetching a new copy
of the leap-seconds file.

PR:		261298
Reported by:	Martin Waschbusch <martin@waschbuesch.de>
MFC after:	3 days
2022-01-18 06:21:00 -08:00
..
rc.d rc.d/ntp: Ensure ntpd.leap-seconds.list is readable by ntpd 2022-01-18 06:21:00 -08:00
Makefile Revert r359294 per manu's request 2020-03-25 08:35:55 +00:00
netstart Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
network.subr rc: network.subr improve network6_getladdr() 2021-12-13 22:12:44 +00:00
pccard_ether
rc Revert "rc: implement parallel boot" 2021-03-09 14:26:07 +01:00
rc.bsdextended pkgbase: Really move rc.bsdextended 2019-05-22 07:39:59 +00:00
rc.conf libsoft: Remove runtime ldconfig support for libsoft 2022-01-06 22:34:18 -07:00
rc.firewall rc.firewall: Merge two identical conditions into one. 2020-07-23 15:03:28 +00:00
rc.initdiskless Make mdmfs verbose if diskless boot is verbose. 2019-04-26 14:44:50 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.sendmail pkgbase: Really move rc.sendmail 2019-05-22 07:40:39 +00:00
rc.shutdown rc.shutdown: kill shutdown process after logging message 2019-12-07 00:33:08 +00:00
rc.subr Allow rc.d script to provide "status" method, even if it does not 2021-08-20 09:43:46 -07:00
rc.suspend