tags 555087 + confirmed patch
thanks
Heiner Markert wrote:
Package: courier-mta
Version: 0.59.0-3
Severity: serious
--- Please enter the report below this line. ---
When performing
apt-get install courier-mta
on an otherwise clean squeeze system, dpkg fails with an post-install script
error in package courier-mta.
Installing the lenny package and dist-upgrading to squeeze is however working.
The error occurs with either bash or dash as /bin/sh. My system is using
legacy init scripts.
Please note that the squeeze system is running inside a vserver-environment on
a lenny i386 machine.
The attached patch should fix the issue.
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
diff -u -r1.15 courier-mta.init
--- debian/courier-mta.init 1 Feb 2008 11:21:52 -0000 1.15
+++ debian/courier-mta.init 9 Nov 2009 11:02:42 -0000
@@ -39,6 +39,10 @@
case "$1" in
start)
cd /
+
+ # ensure proper permissions on /var/run/courier
+ chgrp daemon /var/run/courier
+ chmod g+rwx /var/run/courier
echo -n "Starting Courier mail server:"
${sbindir}/courier start