summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2013-07-14 22:55:18 +0200
committerAxel Beckert <abe@deuxchevaux.org>2013-07-14 23:34:19 +0200
commit2c6b54474c6465dd0fee1a0d5995a643a3d2ce9d (patch)
treed4d8a87af76086852d67c1cf0cd0c223b9057291
parentb544c22c499b9b92ad9d1b6c2a78aafa73c6caeb (diff)
downloadscreen-2c6b54474c6465dd0fee1a0d5995a643a3d2ce9d.tar.gz
screen-cleanup init.d script: Label /var/run/screen for SE Linux
Closes: #680360
-rw-r--r--debian/changelog2
-rw-r--r--debian/init1
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index b129caf..e2b3347 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ screen (4.1.0~20120320gitdb59704-9) UNRELEASED; urgency=low
* Build-Conflict against libelf-dev on non-linux (Closes: #684386)
* Allow /dev/console to be a symlink. (Closes: #701173) Thanks to Igor
Pashev for the report and patch.
+ * screen-cleanup init.d script: Label /var/run/screen for SE Linux
+ (Closes: #680360)
-- Axel Beckert <abe@debian.org> Sun, 14 Jul 2013 21:23:58 +0200
diff --git a/debian/init b/debian/init
index 6a94fb4..19c5511 100644
--- a/debian/init
+++ b/debian/init
@@ -27,6 +27,7 @@ start)
rm -f $SCREENDIR
mkdir $SCREENDIR
chown root:utmp $SCREENDIR
+ [ -x /sbin/restorecon ] && /sbin/restorecon $SCREENDIR
fi
find $SCREENDIR -type p -delete
# If the local admin has used dpkg-statoverride to install the screen