Bug 134325 - Dovecot is down after a dovecot update
Summary: Dovecot is down after a dovecot update
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dovecot
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John Dennis
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 171122
TreeView+ depends on / blocked
 
Reported: 2004-10-01 12:58 UTC by Robert Scheck
Modified: 2014-01-21 22:50 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-01-05 22:49:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2004-10-01 12:58:24 UTC
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):
dovecot-0.99.10.5-0.FC2

How reproducible:
Everytime, see below.

Steps to Reproduce:
1. Start dovecot
2. Install a dovecot update
3. Check dovecot status after that (down)
  
Actual results:
Dovecot is down.

Expected results:
Dovecot should be up.

Comment 1 John Dennis 2004-10-01 13:54:05 UTC
does
% /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.

Comment 2 John Dennis 2004-10-01 13:58:08 UTC
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?

Comment 3 Timo Sirainen 2004-10-01 14:02:16 UTC
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.


Comment 4 Robert Scheck 2004-10-01 22:34:28 UTC
John, "/sbin/service dovecot start" starts dovecot successfully.

Comment 5 John Dennis 2005-01-05 22:49:21 UTC
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
necessary.


Note You need to log in before you can comment on or make changes to this bug.