Package: screen Version: 4.0.2-4.1sarge1 Severity: minor Tags: patch With /var/run on a memory file system (e.g. with RAMRUN set), the init.d/screen-celanup script will generate a spurious error message because $SCREENDIR (e.g. /var/run/screen) does not exist. The attached trivial patch (really just two lines, the rest being induced indentation change) fixes that.
-- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.18.2.mib.smp.amd64 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages screen depends on: ii base-passwd 3.5.9 Debian base system master password ii debconf 1.4.30.13 Debian configuration management sy ii libc6 2.3.2.ds1-22sarge6 GNU C Library: Shared libraries an ii libncursesw5 5.4-4 Shared libraries for terminal hand ii libpam0g 0.76-22 Pluggable Authentication Modules l ii passwd 1:4.0.3-31sarge9 change and administer password and -- debconf information excluded
--- /etc/init.d/screen-cleanup.orig 2004-11-14 19:26:30.000000000 +0100 +++ /etc/init.d/screen-cleanup 2008-01-31 12:21:01.324685412 +0100 @@ -9,10 +9,12 @@ case "$1" in start) - if find $SCREENDIR -type p | grep '^' >/dev/null; then - echo -n 'Cleaning up stale screen sessions... ' - find $SCREENDIR -type p -print0 | xargs -0 rm -f - echo "done." + if [ -d $SCREENDIR ]; then + if find $SCREENDIR -type p | grep '^' >/dev/null; then + echo -n 'Cleaning up stale screen sessions... ' + find $SCREENDIR -type p -print0 | xargs -0 rm -f + echo "done." + fi fi ;; stop|restart|reload|force-reload)