dovecot fails to start on oneiric

Bug #792557 reported by Steve Beattie on 2011-06-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Undecided
Unassigned

Bug Description

Attempting to start dovecot with the default configuration on oneiric fails:

  $ sudo start dovecot
  dovecot stop/waiting
  $ ps auwwx | grep dovecot
  ubuntu 8793 0.0 0.1 4188 876 pts/0 S+ 13:17 0:00 grep --color=auto dovecot

This is because the self-signed ssl certificate failed to generate:

  $ sudo /usr/sbin/dovecot -F -c /etc/dovecot/dovecot.conf
  doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 12: ssl_cert: Can't open file /etc/ssl/certs/dovecot.pem: No such file or directory

Attempting to regenerate it fails:

  $ sudo dpkg-reconfigure dovecot-common
  Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service dovecot stop

  Since the script you are attempting to invoke has been converted to an
  Upstart job, you may also use the stop(8) utility, e.g. stop dovecot
  Creating generic self-signed certificate: =</etc/ssl/certs/dovecot.pem
  This certificate will expire in a year.
  (replace with hand-crafted or authorized one if needed).
  Warning : Bad SSL config, can't generate certificate.
  Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service dovecot start

  Since the script you are attempting to invoke has been converted to an
  Upstart job, you may also use the start(8) utility, e.g. start dovecot
  dovecot stop/waiting

Note the "Warning : Bad SSL config, can't generate certificate."

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: dovecot-common 1:2.0.13-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.39-3.10-generic-pae 2.6.39
Uname: Linux 2.6.39-3-generic-pae i686
Architecture: i386
Date: Fri Jun 3 13:04:23 2011
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Alpha i386 (20110531.1)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dovecot
UpgradeStatus: No upgrade log present (probably fresh install)

Steve Beattie (sbeattie) wrote :
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dovecot - 1:2.0.13-1ubuntu2

---------------
dovecot (1:2.0.13-1ubuntu2) oneiric; urgency=low

  * debian/dovecot-common.postinst: fix ssl cert typos that prevent
    certs from being generated (LP: #792557)
 -- Steve Beattie <email address hidden> Fri, 03 Jun 2011 14:02:53 -0700

Changed in dovecot (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers