Package: milter-greylist Version: 4.1.8-1 Severity: normal Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Although it's not default in Debian, it's perfectly reasonable to run /var/run on a tempfs (as Ubuntu does) so the init should check and see if the run dir exists and create it if it doesn't. Patch attached. - -- System Information: Debian Release: lenny/sid APT prefers intrepid-updates APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 'intrepid-backports'), (500, 'intrepid') Architecture: i386 (i686) Kernel: Linux 2.6.27-10-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkk8mlEACgkQHajaM93NaGpo4ACfbZcZSkS7K7xI15w0n0bRqhXa OM8Anj+qYIbTPMBtDnw6AaXeuQ39KXnr =AIqM -----END PGP SIGNATURE-----
Index: milter-greylist-4.1.8/rc-debian.sh.in =================================================================== --- milter-greylist-4.1.8.orig/rc-debian.sh.in 2008-12-07 22:31:47.000000000 -0500 +++ milter-greylist-4.1.8/rc-debian.sh.in 2008-12-07 22:32:03.000000000 -0500 @@ -60,6 +60,12 @@ exit 1 fi +if [ ! -d /var/run/$PNAME ]; then + mkdir /var/run/$PNAME + chgrp greylist /var/run/$PNAME + chmod g+w /var/run/$PNAME +fi + set -e case "$1" in