Bug#313537: qpopper-drac: Failed to create /var/spool/pop/* with uid **, gid ** Change permissions.
Hi, here's the diff for the NMU I'm just uploading: debdiff qpopper_4.0.5-4sarge1.dsc qpopper_4.0.5-4.1.dsc debian/README.Debian |5 --- qpopper-4.0.5/debian/changelog | 11 +++ debian/postinst| 43 - qpopper-4.0.5/debian/control |4 -- debian/postrm | 35 --- qpopper-4.0.5/debian/qpopper-drac.postinst |4 +- qpopper-4.0.5/debian/qpopper.postrm|2 - 7 files changed, 15 insertions(+), 89 deletions(-) reverted: --- qpopper-4.0.5/debian/README.Debian +++ qpopper-4.0.5.orig/debian/README.Debian @@ -1,5 +0,0 @@ -There is a new qpopper-drac package. Please read documents of drac -package for drac support. ;-) - - Yu Guanghui [EMAIL PROTECTED] - 2002-02-06 diff -u qpopper-4.0.5/debian/changelog qpopper-4.0.5/debian/changelog --- qpopper-4.0.5/debian/changelog +++ qpopper-4.0.5/debian/changelog @@ -1,3 +1,14 @@ +qpopper (4.0.5-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Always set permissions on /var/spool/pop/ in qpopper-drac.postinst +(Closes: #313537). + * Drop unused debian/post{rm,inst}. + * Drop README.Debian. + * Bump Standards-Version. + + -- Christoph Berg [EMAIL PROTECTED] Wed, 25 Jan 2006 12:13:37 +0100 + qpopper (4.0.5-4sarge1) testing-security; urgency=high * Non-maintainer upload by the Security Team reverted: --- qpopper-4.0.5/debian/postinst +++ qpopper-4.0.5.orig/debian/postinst @@ -1,43 +0,0 @@ -#! /bin/sh -# -# Remove the original pop3 entry from /etc/inetd.conf, and add ours. -# - -case $1 in - configure) - ;; - abort-upgrade|abort-remove|abort-deconfigure) - exit 0 - ;; - *) - exit 0 - ;; -esac -umask 022 - -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -# Compatibility symlinks into /usr/doc -if [ -d /usr/doc -a ! -e /usr/doc/qpopper \ --a -d /usr/share/doc/qpopper ] -then -ln -sf ../share/doc/qpopper /usr/doc/qpopper -fi - -# Make sure /var/spool/pop is there, and mode drwxrwsr-x root mail -if [ ! -d /var/spool/pop ] -then - mkdir -p /var/spool/pop - chgrp mail /var/spool/pop - chmod 2775 /var/spool/pop -fi - -# Check if we have already been installed. -grep ^pop-3.*/in.qpopper /etc/inetd.conf /dev/null 21 exit 0 - -# Install the qpopper. -update-inetd --remove '^pop-3' -update-inetd --group MAIL --add \ - 'pop-3\t\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd\t/usr/sbin/in.qpopper -f /etc/qpopper.conf' - -#DEBHELPER# diff -u qpopper-4.0.5/debian/control qpopper-4.0.5/debian/control --- qpopper-4.0.5/debian/control +++ qpopper-4.0.5/debian/control @@ -3,7 +3,7 @@ Section: mail Priority: extra Maintainer: Yu Guanghui [EMAIL PROTECTED] -Standards-Version: 3.5.8 +Standards-Version: 3.6.2 Package: qpopper Architecture: any @@ -34,2 +33,0 @@ - . - Please read the README.Debian of drac package to setup your MTA. reverted: --- qpopper-4.0.5/debian/postrm +++ qpopper-4.0.5.orig/debian/postrm @@ -1,35 +0,0 @@ -#! /bin/sh -# -# Remove the qpopper entry from /etc/inittab and -# restore the original one. -# - -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -case $1 in - purge) - rm -f /etc/pop.auth.* - exit 0 - ;; - remove) - ;; - *) - # Do nothing... - exit 0 - ;; -esac - -update-inetd --remove '^pop-3' - -if [ -x /usr/sbin/in.pop3d ] -then - update-inetd --group MAIL --add \ - 'pop-3\t\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd\t/usr/sbin/in.pop3d' -fi - -if [ -f /var/run/inetd.pid ] -then - kill -s HUP `cat /var/run/inetd.pid` 2/dev/null -fi - -#DEBHELPER# diff -u qpopper-4.0.5/debian/qpopper-drac.postinst qpopper-4.0.5/debian/qpopper-drac.postinst --- qpopper-4.0.5/debian/qpopper-drac.postinst +++ qpopper-4.0.5/debian/qpopper-drac.postinst @@ -21,9 +21,9 @@ if [ ! -d /var/spool/pop ] then mkdir -p /var/spool/pop - chgrp mail /var/spool/pop - chmod 2775 /var/spool/pop fi +chgrp mail /var/spool/pop +chmod 2775 /var/spool/pop # Check if we have already been installed. grep ^pop-3.*/in.qpopper /etc/inetd.conf /dev/null 21 exit 0 diff -u qpopper-4.0.5/debian/qpopper.postrm qpopper-4.0.5/debian/qpopper.postrm --- qpopper-4.0.5/debian/qpopper.postrm +++ qpopper-4.0.5/debian/qpopper.postrm @@ -1,6 +1,6 @@ #! /bin/sh # -# Remove the qpopper entry from /etc/inittab and +# Remove the qpopper entry from /etc/inetd.conf and # restore the original one. # Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/ signature.asc Description: Digital signature
Bug#313537: qpopper-drac: Failed to create /var/spool/pop/* with uid **, gid ** Change permissions.
It's not a bug. If there is already /var/spool/pop, its group owner should be mail and has permission 2755, excepting it was wrong modified by other programs. On 6/14/05, Tashiro AKIRA [EMAIL PROTECTED] wrote: Package: qpopper-drac Version: 4.0.5-4sarge1 Severity: critical After I installed qpopper-drac on my sarge sever to use pop-before-smtp, I tried to fecth mail with Mozilla Thunderbird. Thunderbird showed following message. Failed to create /var/spool/pop/.username.pop with uid **, gid ** Change permissions. Next line is permissions of /var/spool/pop after qpopper-drac was installed. drwxr-xr-x 2 root root 4096 2005-06-14 13:36 pop So, I found wrong code in postinst source of qpopper-drac and fixed it. # Wrong code in postinst # if [ ! -d /var/spool/pop ] then mkdir -p /var/spool/pop chgrp mail /var/spool/pop chmod 2775 /var/spool/pop fi # Fixed code # if [ ! -d /var/spool/pop ] then mkdir -p /var/spool/pop fi chgrp mail /var/spool/pop chmod 2775 /var/spool/pop I hope this bug will be fixed by maintainer. Thnaks. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.26.tashiro Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP) Versions of packages qpopper-drac depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libgdbm31.8.3-2 GNU dbm database routines (runtime ii libpam0g0.76-22 Pluggable Authentication Modules l ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii postfix [mail-transport-age 2.1.5-9 A high-performance mail transport -- no debconf information
Bug#313537: qpopper-drac: Failed to create /var/spool/pop/* with uid **, gid ** Change permissions.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Yu, It's not a bug. If there is already /var/spool/pop, its group owner should be mail and has permission 2755, excepting it was wrong modified by other programs. Nope, I believe this is the bug of qpopper-drac. qpopper (non drac version) works fine. I checked both of qpopper's postinst and qpopper-drac's one, then I noticed they are bit different as Akira mentioned. - - - --- debian/qpopper-drac.postinst2005-06-15 22:06:02.301414367 +0900 +++ debian/qpopper.postinst 2005-06-15 22:06:02.301414367 +0900 @@ -21,9 +21,9 @@ if [ ! -d /var/spool/pop ] then mkdir -p /var/spool/pop - - chgrp mail /var/spool/pop - - chmod 2775 /var/spool/pop fi +chgrp mail /var/spool/pop +chmod 2775 /var/spool/pop # Check if we have already been installed. grep ^pop-3.*/in.qpopper /etc/inetd.conf /dev/null 21 exit 0 - - Both qpopper/qpopper-drac packages have /var/spool/pop and initial permission is root:root 755, so this directory should be always modified by postinst for working properly. Thanks, - -- Kenshi Muto [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/ iEYEARECAAYFAkKwLSAACgkQQKW+7XLQPLHuuQCfVK3pPUHs+okLSYdeEcvqpdey 764AnRVLHKJdhJBnqXXAhdFPWcKsT4St =x1G4 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#313537: qpopper-drac: Failed to create /var/spool/pop/* with uid **, gid ** Change permissions.
Ok, I will check it tonight. I has remembered I modified the scirpt before. It seems I forget to modify qpopper-drac. On 6/15/05, Kenshi Muto [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Yu, It's not a bug. If there is already /var/spool/pop, its group owner should be mail and has permission 2755, excepting it was wrong modified by other programs. Nope, I believe this is the bug of qpopper-drac. qpopper (non drac version) works fine. I checked both of qpopper's postinst and qpopper-drac's one, then I noticed they are bit different as Akira mentioned. - - - --- debian/qpopper-drac.postinst2005-06-15 22:06:02.301414367 +0900 +++ debian/qpopper.postinst 2005-06-15 22:06:02.301414367 +0900 @@ -21,9 +21,9 @@ if [ ! -d /var/spool/pop ] then mkdir -p /var/spool/pop - - chgrp mail /var/spool/pop - - chmod 2775 /var/spool/pop fi +chgrp mail /var/spool/pop +chmod 2775 /var/spool/pop # Check if we have already been installed. grep ^pop-3.*/in.qpopper /etc/inetd.conf /dev/null 21 exit 0 - - Both qpopper/qpopper-drac packages have /var/spool/pop and initial permission is root:root 755, so this directory should be always modified by postinst for working properly. Thanks, - -- Kenshi Muto [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/ iEYEARECAAYFAkKwLSAACgkQQKW+7XLQPLHuuQCfVK3pPUHs+okLSYdeEcvqpdey 764AnRVLHKJdhJBnqXXAhdFPWcKsT4St =x1G4 -END PGP SIGNATURE-
Bug#313537: qpopper-drac: Failed to create /var/spool/pop/* with uid **, gid ** Change permissions.
Package: qpopper-drac Version: 4.0.5-4sarge1 Severity: critical After I installed qpopper-drac on my sarge sever to use pop-before-smtp, I tried to fecth mail with Mozilla Thunderbird. Thunderbird showed following message. Failed to create /var/spool/pop/.username.pop with uid **, gid ** Change permissions. Next line is permissions of /var/spool/pop after qpopper-drac was installed. drwxr-xr-x 2 root root 4096 2005-06-14 13:36 pop So, I found wrong code in postinst source of qpopper-drac and fixed it. # Wrong code in postinst # if [ ! -d /var/spool/pop ] then mkdir -p /var/spool/pop chgrp mail /var/spool/pop chmod 2775 /var/spool/pop fi # Fixed code # if [ ! -d /var/spool/pop ] then mkdir -p /var/spool/pop fi chgrp mail /var/spool/pop chmod 2775 /var/spool/pop I hope this bug will be fixed by maintainer. Thnaks. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.26.tashiro Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP) Versions of packages qpopper-drac depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libgdbm31.8.3-2 GNU dbm database routines (runtime ii libpam0g0.76-22 Pluggable Authentication Modules l ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii postfix [mail-transport-age 2.1.5-9 A high-performance mail transport -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]