fatal errors during install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dovecot (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: dovecot-postfix
This was the terminal output (Ubuntu Jaunty 9.04 32bit):
-------
Setting up dovecot-postfix (1:1.1.11-0ubuntu3) ...
Creating config file /etc/dovecot/
* Restarting IMAP/POP3 mail server dovecot Error: ssl_cert_file: Can't use /etc/ssl/
Fatal: Invalid configuration in /etc/dovecot/
postconf: fatal: open /etc/postfix/
postconf: fatal: open /etc/postfix/
dpkg: error processing dovecot-postfix (--configure):
subprocess post-installation script returned error exit status 1
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
dovecot-postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: dovecot-postfix 1:1.1.11-0ubuntu3
PackageArchitec
SourcePackage: dovecot
Title: package dovecot-postfix 1:1.1.11-0ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-11-generic i686
Changed in dovecot (Ubuntu): | |
status: | Confirmed → Fix Committed |
There are two problems in this bug. First one is an easy one (I attached a patch for dovecot for it) - dovecot-postfix postinst script should restart dovecot *after* the certificate links are created, not before.
The second one is about postfix - If you check out DpkgTerminaLog.gz, you'll notice:
Setting up postfix (2.5.5-1.1) ...
Adding group `postfix' (GID 124) ...
Done.
Adding system user `postfix' (UID 113) ...
Adding new user `postfix' (UID 113) with group `postfix' ...
Not creating home directory `/var/spool/ postfix' .
Creating /etc/postfix/ dynamicmaps. cf
Adding tcp map entry to /etc/postfix/ dynamicmaps. cf
Adding group `postdrop' (GID 125) ...
Done.
/etc/aliases does not exist, creating it.
Postfix was not set up. Start with
cp /usr/share/ postfix/ main.cf. debian /etc/postfix/ main.cf
. If you need to make changes, edit
/etc/postfix/ main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init. d/postfix reload'.
I'm not sure why that happened.