Debian packaging fix. (restorecon)

This commit is contained in:
Simon Kelley
2018-09-17 23:20:00 +01:00
parent 118011fe2b
commit e3c08a34a7
2 changed files with 3 additions and 1 deletions

1
debian/changelog vendored
View File

@@ -2,6 +2,7 @@ dnsmasq (2.80-1) unstable; urgency=low
* New upstream.
* 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

1
debian/init vendored
View File

@@ -127,6 +127,7 @@ start()
mkdir /run/dnsmasq || return 2
chown dnsmasq:nogroup /run/dnsmasq || return 2
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 -- \