diff -u dspam-3.6.8/debian/dspam.init dspam-3.6.8/debian/dspam.init --- dspam-3.6.8/debian/dspam.init +++ dspam-3.6.8/debian/dspam.init @@ -29,6 +29,9 @@ . /etc/default/$NAME fi +# Create directory for PIDFILE, if it does not exist. +test -d $(dirname $PIDFILE) || mkdir -p -m 755 $(dirname $PIDFILE) + OPTIONS="--daemon $OPTIONS" # Start the daemon diff -u dspam-3.6.8/debian/changelog dspam-3.6.8/debian/changelog --- dspam-3.6.8/debian/changelog +++ dspam-3.6.8/debian/changelog @@ -1,3 +1,10 @@ +dspam (3.6.8-4ubuntu1.1) feisty-proposed; urgency=low + + * debian/dspam.init: make sure directory for PIDFILE (/var/run/dspam) exists + (LP: #158252) + + -- dAniel hAhler Thu, 22 Nov 2007 00:50:36 +0100 + dspam (3.6.8-4ubuntu1) feisty; urgency=low * debian/libdspam7-drv-mysql.cron.daily: use "cut -c1" instead of bashism