mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Debian packaging fix. (restorecon)
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -2,6 +2,7 @@ dnsmasq (2.80-1) unstable; urgency=low
|
|||||||
|
|
||||||
* New upstream.
|
* New upstream.
|
||||||
* Provide usr/lib/tmpfiles.d/dnsmasq.conf. (closes: #872396)
|
* Provide usr/lib/tmpfiles.d/dnsmasq.conf. (closes: #872396)
|
||||||
|
* Run restorecon on /run/dnsmasq for SE Linux. (closes: #872397)
|
||||||
|
|
||||||
-- Simon Kelley <simon@thekelleys.org.uk> Mon, 17 Sep 2018 23:11:25 +0000
|
-- Simon Kelley <simon@thekelleys.org.uk> Mon, 17 Sep 2018 23:11:25 +0000
|
||||||
|
|
||||||
|
|||||||
1
debian/init
vendored
1
debian/init
vendored
@@ -127,6 +127,7 @@ start()
|
|||||||
mkdir /run/dnsmasq || return 2
|
mkdir /run/dnsmasq || return 2
|
||||||
chown dnsmasq:nogroup /run/dnsmasq || return 2
|
chown dnsmasq:nogroup /run/dnsmasq || return 2
|
||||||
fi
|
fi
|
||||||
|
[ -x /sbin/restorecon ] && /sbin/restorecon /run/dnsmasq
|
||||||
|
|
||||||
start-stop-daemon --start --quiet --pidfile /run/dnsmasq/$NAME.pid --exec $DAEMON --test > /dev/null || return 1
|
start-stop-daemon --start --quiet --pidfile /run/dnsmasq/$NAME.pid --exec $DAEMON --test > /dev/null || return 1
|
||||||
start-stop-daemon --start --quiet --pidfile /run/dnsmasq/$NAME.pid --exec $DAEMON -- \
|
start-stop-daemon --start --quiet --pidfile /run/dnsmasq/$NAME.pid --exec $DAEMON -- \
|
||||||
|
|||||||
Reference in New Issue
Block a user