Bug#732263: ***UNCHECKED*** Bug#732263: dovecot-core postinst fails on new install when create-ssl-cert is false
On Sun, 23 Nov 2014, Didier 'OdyX' Raboud wrote: Failure to finish installation is clearly a serious issue, hereby bumping the severity. Well I took it down to important again to match the other reports but I agree this is a release critical issue and will be working with the RMs to make sure 1:2.2.13-7 which I just uploaded gets a freeze exemption. -- Jaldhar H. Vyas jald...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#732263: dovecot-core postinst fails on new install when create-ssl-cert is false
Control: severity -1 serious Le lundi, 16 décembre 2013, 06.29:07 Ben Winslow a écrit : If you perform a clean installation of dovecot-core and opt out of self-signed certificate generation, dovecot will fail to start (because dovecot.pem doesn't exist), which will cause the postinst script to fail. If dovecot.pem doesn't exist, ssl support should be disabled (or, at minimum, the postinst script shouldn't fail.) I've just tried to install dovecot-core on a clean jessie VM (freshly installed with the daily d-i); the installation doesn't finish because the postinst fails, because invoke-rc.d dovecot start fails. The systemctl log says that /etc/dovecot/dovecot.pem doesn't exist. Creating the two /etc/dovecot/dovecot.pem /etc/dovecot/private/dovecot.pem through openssl allows the installation to finish. Failure to finish installation is clearly a serious issue, hereby bumping the severity. Cheers, OdyX signature.asc Description: This is a digitally signed message part.
Bug#732263: dovecot-core postinst fails on new install when create-ssl-cert is false
Package: dovecot-core Version: 1:2.2.9-1 Severity: important If you perform a clean installation of dovecot-core and opt out of self-signed certificate generation, dovecot will fail to start (because dovecot.pem doesn't exist), which will cause the postinst script to fail. If dovecot.pem doesn't exist, ssl support should be disabled (or, at minimum, the postinst script shouldn't fail.) Here's the dpkg log: Setting up dovecot-core (1:2.2.9-1) ... Creating config file /etc/dovecot/dovecot.conf with new version Creating config file /etc/dovecot/dovecot-dict-sql.conf.ext with new version Creating config file /etc/dovecot/dovecot-sql.conf.ext with new version Creating config file /etc/dovecot/conf.d/10-auth.conf with new version Creating config file /etc/dovecot/conf.d/10-director.conf with new version Creating config file /etc/dovecot/conf.d/10-logging.conf with new version Creating config file /etc/dovecot/conf.d/10-mail.conf with new version Creating config file /etc/dovecot/conf.d/10-master.conf with new version Creating config file /etc/dovecot/conf.d/10-ssl.conf with new version Creating config file /etc/dovecot/conf.d/10-tcpwrapper.conf with new version Creating config file /etc/dovecot/conf.d/15-lda.conf with new version Creating config file /etc/dovecot/conf.d/15-mailboxes.conf with new version Creating config file /etc/dovecot/conf.d/90-acl.conf with new version Creating config file /etc/dovecot/conf.d/90-plugin.conf with new version Creating config file /etc/dovecot/conf.d/90-quota.conf with new version Creating config file /etc/dovecot/conf.d/auth-checkpassword.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-deny.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-master.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-passwdfile.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-sql.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-static.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-system.conf.ext with new version Creating config file /etc/dovecot/conf.d/auth-vpopmail.conf.ext with new version [] Starting IMAP/POP3 mail server: dovecotdoveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 12: ssl_cert: Can't open file /etc/dovecot/dovecot.pem: No such file or directory failed! invoke-rc.d: initscript dovecot, action start failed. dpkg: error processing package dovecot-core (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of dovecot-imapd: dovecot-imapd depends on dovecot-core (= 1:2.2.9-1); however: Package dovecot-core is not configured yet. dpkg: error processing package dovecot-imapd (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: dovecot-core dovecot-imapd E: Sub-process /usr/bin/dpkg returned an error code (1) -- Package-specific info: -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-19-pve (SMP w/2 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 adduser3.113+nmu3 ii debconf [debconf-2.0] 1.5.52 ii libbz2-1.0 1.0.6-5 ii libc6 2.17-97 ii libpam-runtime 1.1.3-10 ii libpam0g 1.1.3-10 ii libssl1.0.01.0.1e-4 ii libwrap0 7.6.q-24 ii openssl1.0.1e-4 ii ucf3.0027+nmu1 ii zlib1g 1:1.2.8.dfsg-1 dovecot-core recommends no packages. Versions of packages dovecot-core suggests: pn dovecot-gssapinone iu dovecot-imapd 1:2.2.9-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-solr none pn dovecot-sqlitenone pn ntp none Versions of packages dovecot-core is related to: ih dovecot-core [dovecot-common] 1:2.2.9-1 pn dovecot-dbgnone pn dovecot-devnone pn dovecot-gssapi none iu dovecot-imapd 1:2.2.9-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 -- debconf information: * dovecot-core/create-ssl-cert: false dovecot-core/ssl-cert-exists: dovecot-core/ssl-cert-name: localhost -- To UNSUBSCRIBE,