Skip to content
Snippets Groups Projects
Commit 41ce2d53 authored by Peter Palfrader's avatar Peter Palfrader
Browse files

SE-Linux label /var/run/tor in the init script

Apply the correct SE-Linux label to /var/run/tor when creating the
directory in the init script (closes: #678362).  Thanks to Russell
Coker.
parent 6c1d1c42
Branches
Tags
No related merge requests found
tor (0.2.3.17-beta-3) unstable; urgency=low
* Apply the correct SE-Linux label to /var/run/tor when creating the
directory in the init script (closes: #678362). Thanks to Russell Coker.
-- Peter Palfrader <weasel@debian.org> Sun, 24 Jun 2012 15:19:13 +0200
tor (0.2.3.17-beta-2) unstable; urgency=low
* Shipping and enabling the apparmor policy by default causes Tor to
......
......@@ -98,6 +98,7 @@ check_torpiddir () {
if test ! -d $TORPIDDIR; then
mkdir -m 02750 "$TORPIDDIR"
chown debian-tor:debian-tor "$TORPIDDIR"
! [ -x /sbin/restorecon ] || /sbin/restorecon "$TORPIDDIR"
fi
if test ! -x $TORPIDDIR; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment