mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
unbound: Make dhcp-leases.conf readable for everyone
unbound runs as nobody and cannot reload its configuration when this file is only readable for root. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -87,6 +87,9 @@ main() {
|
||||
|
||||
# Set correct ownership.
|
||||
chown nobody:nobody /var/ipfire/dns/servers
|
||||
|
||||
# Make DHCP leases readable for nobody
|
||||
chown 644 /etc/unbound/dhcp-leases.conf
|
||||
}
|
||||
|
||||
main "$@" || exit $?
|
||||
|
||||
Reference in New Issue
Block a user