From 2c6b54474c6465dd0fee1a0d5995a643a3d2ce9d Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sun, 14 Jul 2013 22:55:18 +0200 Subject: screen-cleanup init.d script: Label /var/run/screen for SE Linux Closes: #680360 --- debian/changelog | 2 ++ debian/init | 1 + 2 files changed, 3 insertions(+) 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 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 -- cgit v1.2.3