Red Hat Bugzilla – Bug 134325
Dovecot is down after a dovecot update
Last modified: 2014-01-21 17:50:22 EST
Description of problem:
Dovecot is down (shutdown, killed, broke down?) after a dovecot
update. I think this problem also refers to Fedora Core Development.
Version-Release number of selected component (if applicable):
Everytime, see below.
Steps to Reproduce:
1. Start dovecot
2. Install a dovecot update
3. Check dovecot status after that (down)
Dovecot is down.
Dovecot should be up.
% /sbin/service dovecot start
successfully start the dovecot service or does it fail?
A quick look at the spec reveals it is missing a "condrestart" in
%post, that needs to be fixed. But at the moment I'm more concerned
any failures in the new package.
A question for Timo, there are some services which don't like it when
their files are modified while they are running and need to be stopped
during a package upgrade, others are perfectly happy to be stopped and
restarted after the new package files are installed (condrestart).
Which camp does dovecot fall into?
Well, if you don't stop Dovecot before installing new files, it's possible that old Dovecot
master process begins creating new login/imap/pop3 processes using new binaries, which
may create errors in log file if they are incompatible.
John, "/sbin/service dovecot start" starts dovecot successfully.
O.K. rpm now tests if dovecot is running before installing, if so it
stops it, sets a flag, installs, checks the flag and restarts if