Bug#644121: dovecot-core: destroys user configuration from dovecot-common
tags 644121 +unreproducible thanks Hi Ian, On Sun, Oct 02, 2011 at 06:59:46PM -0700, Ian Zimmerman wrote: I was upgrading via aptitude: [REMOVE, NOT USED] dovecot-common [INSTALL, DEPENDENCIES] dovecot-core [UPGRADE] dovecot-imapd 1:2.0.13-1.1 - 1:2.0.15-1 This resulted in all my local configuration in /etc/dovecot/ being trashed, and overwritten with the shipped dovecot-core versions. I attempted to reproduce your problem. These are the steps I used to reproduce: 1) pbuilder --login 2) replace sources.list with the following line: deb http://snapshot.debian.org/archive/debian/20110623T151535Z/ sid main 3) update and install dovecot-imapd 4) modify /etc/dovecot/dovecot.conf 5) replace sources.list with the original 6) aptitude update aptitude safe-upgrade 7) notice that my changes are preserved. This procedure was done using precisely the same versions (1:2.0.13-1.1 and 1:2.0.15-1). Apparently ucf doesn't handle this situation well (a package being renamed), so some manual hacks in the postinst are in order to prevent this from happening. You are correct in that ucf does not handle this situation well. However the package maintainer has foreseen this and has added his own hooks for precisely this situation. Can you give any other hint on how to reproduce the problem? Helmut -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644121: dovecot-core: destroys user configuration from dovecot-common
Helmut 4) modify /etc/dovecot/dovecot.conf Helmut Can you give any other hint on how to reproduce the problem? It has been a while and I have a tendency to forget moments of pain as quickly as I can ;-) But if I remember right, it wasn't dovecot.conf I was talking about here, but rather the bit files in /etc/dovecot/conf.d/ -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD Rule 420: All persons more than eight miles high to leave the court. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644121: dovecot-core: destroys user configuration from dovecot-common
Package: dovecot-core Version: 1:2.0.15-1 Severity: serious Justification: Policy 10.7.3 I was upgrading via aptitude: [REMOVE, NOT USED] dovecot-common [INSTALL, DEPENDENCIES] dovecot-core [UPGRADE] dovecot-imapd 1:2.0.13-1.1 - 1:2.0.15-1 This resulted in all my local configuration in /etc/dovecot/ being trashed, and overwritten with the shipped dovecot-core versions. Apparently ucf doesn't handle this situation well (a package being renamed), so some manual hacks in the postinst are in order to prevent this from happening. -- Package-specific info: dovecot configuration - # 2.0.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.39.1-linode34 i686 Debian wheezy/sid lda_mailbox_autocreate = yes listen = * log_timestamp = %Y-%m-%d %H:%M:%S mail_location = mbox:~/Mail:INBOX=/var/mail/%u mail_privileged_group = mail passdb { driver = pam } postmaster_address = postmaster@localhost protocols = imap quota_full_tempfail = yes ssl_cert = /etc/ssl/certs/ahiker.pem ssl_key = /etc/ssl/private/ahiker.homeip.net.key userdb { driver = passwd } -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.39.1-linode34 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dovecot-core depends on: ii adduser 3.113 ii libbz2-1.0 1.0.5-7 ii libc6 2.13-21 ii libpam-runtime 1.1.3-2 ii libpam0g1.1.3-2 ii libssl1.0.0 1.0.0e-2 ii openssl 1.0.0e-2 ii ucf 3.0025+nmu2 ii zlib1g 1:1.2.3.4.dfsg-3 dovecot-core recommends no packages. Versions of packages dovecot-core suggests: ii dovecot-gssapinone ii dovecot-imapd 1:2.0.15-1 ii dovecot-ldap none ii dovecot-lmtpd none ii dovecot-managesieved none ii dovecot-mysql none ii dovecot-pgsql none ii dovecot-pop3d none ii dovecot-sieve none ii dovecot-solr none ii dovecot-sqlitenone ii ntp 1:4.2.6.p3+dfsg-1 Versions of packages dovecot-core is related to: pn dovecot-core [dovecot-common] 1:2.0.15-1 pn dovecot-dbgnone pn dovecot-devnone pn dovecot-gssapi none pn dovecot-imapd 1:2.0.15-1 pn dovecot-ldap none pn dovecot-lmtpd none pn dovecot-managesieved none pn dovecot-mysql none pn dovecot-pgsql none pn dovecot-pop3d none pn dovecot-sieve none pn dovecot-sqlite none -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org