| Summary: | Dovecot fails restart after upgrade, trying to listen on ipv6 when ipv6 is disabled | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | W.C. Epperson <bugzilla> |
| Component: | dovecot | Assignee: | Michal Hlavinka <mhlavink> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | mhlavink |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-18 07:11:19 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
W.C. Epperson
2011-01-14 16:08:03 UTC
ok, first, do you have 'listen = *' specified in your dovecot.conf? If not, default value is listen=*,[::] which says that dovecot should listen for both ipv4 and ipv6 connections. Second, what you mean by: > Restoring original dovecot.conf allows startup, > but delivers obsolete syntax errors. What you mean by this? Did dovecot update (2.0.7->2.0.8) overwrote your configuration? There is "noreplace" specified in the rpm package, so it should not overwrite your configuration > Apparently the rpm post misses the "listen *" in > the original conf file again please by more specified > and dovecot defaults it > to "listen *,[::]", correct, this is default value for a long time > compounded by dovecot delivering a bogus > error message. Upstream changed error message a little bit, this change will be in 2.0.9 btw, if you ommit some configuration variable (like "listen") it does not mean "autodetect" it just means "use default value" and default value (which can be seen in dovecot configuration files as commented out values) is listen=*,:: (In reply to comment #1) > ok, first, do you have 'listen = *' specified in your dovecot.conf? If not, > default value is listen=*,[::] which says that dovecot should listen for both > ipv4 and ipv6 connections. > > Second, what you mean by: > > Restoring original dovecot.conf allows startup, > > but delivers obsolete syntax errors. I mean that dovecot complained of obsolete syntax but started. > > What you mean by this? Did dovecot update (2.0.7->2.0.8) overwrote your > configuration? There is "noreplace" specified in the rpm package, so it should > not overwrite your configuration Should or shouldn't, it apparently did. > > > Apparently the rpm post misses the "listen *" in > > the original conf file > > again please by more specified The replacement file had some of my customizations, but had the *,[::] where I had *. > > > and dovecot defaults it > > to "listen *,[::]", > > correct, this is default value for a long time > > > compounded by dovecot delivering a bogus > > error message. > > Upstream changed error message a little bit, this change will be in 2.0.9 That's a good thing. No IPV6 interfaces is way different from address already in use. (Correction to comment #3) > > > > > > Apparently the rpm post misses the "listen *" in > > > the original conf file > > > > again please by more specified > > The replacement file had some of my customizations, but had the *,[::] where I > had *. I just realized that's not correct. It had the stock commented "#listen = *, ::". > > > > > > and dovecot defaults it > > > to "listen *,[::]", > > > > correct, this is default value for a long time > > I wonder how long the behavior has been there of failing to start if there's no IPV6 interface when default listen config is used. If no one else is reporting this, just close as cannot reproduce. I can't figure out how the dovecot-2.0.8-2.fc14.i686 rpm could have done what happened on my system after looking at it further. (In reply to comment #4) > If no one else is reporting this, just close as cannot reproduce. I can't > figure out how the dovecot-2.0.8-2.fc14.i686 rpm could have done what happened > on my system after looking at it further. OK, let me know if you get your configuration overwritten during update again. |