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-5ubuntu1.1) gutsy-proposed; urgency=low + + * debian/dspam.init: make sure directory for PIDFILE (/var/run/dspam) exists + (LP: #158252) + + -- dAniel hAhler Mon, 29 Oct 2007 20:47:26 +0100 + dspam (3.6.8-5ubuntu1) gutsy; urgency=low * Merge from Debian unstable. Remaining Ubuntu changes: