From: Luca Falavigna <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Create /var/run/qpsmtpd in initscript Package: qpsmtpd Version: 0.32-6
qpsmtpd should create /var/run/qpsmtpd directory with proper permissions in order to preserve files between reboots. Attached debdiff implements this. This bug was initially reported in Ubuntu: https://launchpad.net/bugs/72602. Thank you.
diff -Nru qpsmtpd-0.32/debian/changelog qpsmtpd-0.32/debian/changelog --- qpsmtpd-0.32/debian/changelog 2007-03-12 15:51:25.000000000 +0100 +++ qpsmtpd-0.32/debian/changelog 2007-03-12 15:51:26.000000000 +0100 @@ -1,3 +1,9 @@ +qpsmtpd (0.32-7) unstable; urgency=low + + * Create /var/run/qpsmtpd in initscript + + -- Luca Falavigna <[EMAIL PROTECTED]> Mon, 12 Mar 2007 15:46:04 +0100 + qpsmtpd (0.32-6) unstable; urgency=low * Update Czech translation; thanks to Miroslav Kure (Closes: #408657) diff -Nru qpsmtpd-0.32/debian/patches/00list qpsmtpd-0.32/debian/patches/00list --- qpsmtpd-0.32/debian/patches/00list 2007-03-12 15:51:25.000000000 +0100 +++ qpsmtpd-0.32/debian/patches/00list 2007-03-12 15:51:26.000000000 +0100 @@ -4,4 +4,4 @@ eximqueue-newline-fix.patch.dpatch greylist-distrodirs.patch.dpatch require_resolvable_fromhost-enable.patch.dpatch - +init-creates-var-run-qpsmtpd.dpatch diff -Nru qpsmtpd-0.32/debian/patches/init-creates-var-run-qpsmtpd.dpatch qpsmtpd-0.32/debian/patches/init-creates-var-run-qpsmtpd.dpatch --- qpsmtpd-0.32/debian/patches/init-creates-var-run-qpsmtpd.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ qpsmtpd-0.32/debian/patches/init-creates-var-run-qpsmtpd.dpatch 2007-03-12 15:51:26.000000000 +0100 @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## init-creates-var-run-qpsmtpd.dpatch by <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + [EMAIL PROTECTED]@ +diff -urNad qpsmtpd-0.32~/debian/qpsmtpd.init qpsmtpd-0.32/debian/qpsmtpd.init +--- qpsmtpd-0.32~/debian/qpsmtpd.init 2006-12-22 01:04:16.000000000 +0000 ++++ qpsmtpd-0.32/debian/qpsmtpd.init 2006-12-23 08:28:31.000000000 +0000 +@@ -44,6 +44,9 @@ + chown "$RUNAS" /var/log/qpsmtpd/qpsmtpd.log + fi + export QPSMTPD_CONFIG="/etc/qpsmtpd" ++ mkdir -p /var/run/qpsmtpd ++ chown $RUNAS:adm /var/run/qpsmtpd ++ chmod 2755 /var/run/qpsmtpd + start-stop-daemon --quiet --start \ + --exec /usr/bin/qpsmtpd-forkserver -- \ + --port $PORT --user $RUNAS \

