Package: screen-profiles
Version: 1.48-1
Severity: important

After a reboot the screen command complained "/var/run/screen must have mode 
0775"
and refused to start.

/etc/init.d/screen-cleanup set the permissions of /var/run/screen to 0777
because /usr/bin/screen supplied by screen-profiles has no guid bit set.
Since /usr/bin/screen.real runs in guid mode, it requires /var/run/screen to
have permissions 0775.

A quick hack which worked for me was to patch /etc/init.d/screen-cleanup:

...
| # If the local admin has used dpkg-statoverride to install the screen
| # binary with different set[ug]id bits, change the permissions of
| # $SCREENDIR accordingly
|     if [ -x /usr/bin/screen.real ]; then
|         SCREENBINARY=/usr/bin/screen.real
|     else
|         SCREENBINARY=/usr/bin/screen
|     fi
|     BINARYPERM=`stat -c%a $SCREENBINARY`
...

Uli <><

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (900, 'testing-proposed-updates'), (900, 'proposed-updates'), 
(900, 'testing'), (400, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages screen-profiles depends on:
ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy
ii  gettext-base                  0.17-6     GNU Internationalization utilities
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-newt                   0.52.10-3  A NEWT module for Python
ii  screen                        4.0.3-13   terminal multiplexor with VT100/AN

Versions of packages screen-profiles recommends:
ii  lsb-release              3.2-22          Linux Standard Base version report
ii  update-notifier-common   0.70.7.debian-5 Files shared between update-notifi

Versions of packages screen-profiles suggests:
ii  screen-profiles-extras        1.48-1     additional colored profiles for th

-- no debconf information



-- 
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