Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317277 - net-mail/dovecot updates requires immediate restart
Summary: net-mail/dovecot updates requires immediate restart
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 09:55 UTC by Han Boetes
Modified: 2010-07-15 22:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Han Boetes 2010-04-26 09:55:54 UTC
If you don't restart dovecot after an upgrade you will get this error:

imap-login: Fatal: Dovecot version mismatch: Master is v1.2.9, login is v1.2.11 (if you don't care, set version_ignore=yes)

The ebuild does not warn for this. Please add a warning.

Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2010-04-29 06:04:59 UTC
This has been dovecot's default behaviour for long time, i.e. it did not start with version 1.2.11.  The log also tells you what to do in case you want to change the default behaviour.

I do not think an ewarn is the correct solution here.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-07-14 16:13:19 UTC
I tend to agree with Eray. The Gentoo way is to *not* restart services automatically like other distros and leaves it to the sysadmin.
Comment 3 Han Boetes 2010-07-15 13:02:37 UTC
I never suggested to automatically restart dovecot, I suggested to add a warning after emerge updated postfix. I've now had two admins not being aware of the problem and lots of end-users not being able to get their mail because the admins were unaware of the problem. Looking in the log you will find the solution only after reports come in.

What harm does it do to give a warning by emerge?
Comment 4 Han Boetes 2010-07-15 14:18:02 UTC
I never suggested to automatically restart dovecot, I suggested to add a warning after emerge updated postfix. I've now had two admins not being aware of the problem and lots of end-users not being able to get their mail because the admins were unaware of the problem. Looking in the log you will find the solution only after reports come in.

What harm does it do to give a warning by emerge?
Comment 5 Eray Aslan gentoo-dev 2010-07-15 22:32:46 UTC
(In reply to comment #4)
> What harm does it do to give a warning by emerge?

* Too much hand holding.  This has been dovecot's default behaviour since ages and if you do not like it, just change it in the config file.  Do not expect distributions to warn the sysadmins for what should be part of their job anyway.
* Ewarn's should be used sparingly.  Otherwise, users start not to read them.  Having an ewarn reminding you to restart - which is not necessary if you make the a/m change in the config file - everytime you upgrade dovecot is too much.

Having said that,  I will go with the general consenses of gentoo-dev community.