Package: screen
Version: 4.1.0~20120320gitdb59704-3
Severity: normal

Please apply a patch like the following to the init.d scripe to give
$SCREENDIR the correct SE Linux label.

--- screen-cleanup.orig 2012-07-05 20:15:33.788913184 +1000
+++ screen-cleanup      2012-07-05 20:18:59.729095142 +1000
@@ -27,6 +27,7 @@
         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

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii  debconf [debconf-2.0]  1.5.44
ii  dpkg                   1.16.4.3.0
ii  install-info           4.13a.dfsg.1-10
ii  libc6                  2.13-33
ii  libpam0g               1.1.3-7.1
ii  libtinfo5              5.9-9

screen recommends no packages.

Versions of packages screen suggests:
pn  iselect | screenie | byobu  <none>

-- Configuration Files:
/etc/init.d/screen-cleanup changed:
set -e
test -f /usr/bin/screen || exit 0
SCREENDIR=/var/run/screen
case "$1" in
start)
    if test -L $SCREENDIR || ! test -d $SCREENDIR; then
        rm -f $SCREENDIR
        mkdir $SCREENDIR
        chown root:utmp $SCREENDIR
        [ -x /sbin/restorecon ] && /sbin/restorecon $SCREENDIR
    fi
    find $SCREENDIR -type p -delete
    BINARYPERM=`stat -c%a /usr/bin/screen`
    if [ "$BINARYPERM" -ge 4000 ]; then
        chmod 0755 $SCREENDIR
    elif [ "$BINARYPERM" -ge 2000 ]; then
        chmod 0775 $SCREENDIR
    else
        chmod 0777 $SCREENDIR
    fi
    ;;
stop|restart|reload|force-reload)
    ;;
esac
exit 0


-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to