Univention Bugzilla – Full Text Bug Listing |
Summary: | Cyrus IMAP not starting automatically after upgrade to 4.2 | ||
---|---|---|---|
Product: | UCS | Reporter: | Daniel Tröder <troeder> |
Component: | Assignee: | Daniel Tröder <troeder> | |
Status: | CLOSED FIXED | QA Contact: | Erik Damrose <damrose> |
Severity: | normal | ||
Priority: | P5 | CC: | gulden, scheinig |
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.2-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 3: Simply Wrong: The implementation doesn't match the docu |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 5: Blocking further progress on the daily work |
User Pain: | 0.171 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2017042121000196, 2017050221000131 | Bug group (optional): | External feedback |
Max CVSS v3 score: |
Description
Daniel Tröder
2017-04-18 09:09:16 CEST
External feedback in Ticket#2017042121000196 may match this issue, as well. r78966: * adjust "restart" calls to systemd * adjust package dependencies to Jessie * add unjoin script Package: univention-mail-cyrus Version: 9.0.0-3A~4.2.0.201704270951 Branch: ucs_4.2-0 Scope: errata4.2-0 A customer reported the same behavior. I found this error message in /var/log/mail.log May 7 10:14:35 ucs42 cyrus/master[4288]: about to exec /usr/lib/cyrus/bin/lmtpd May 7 10:14:35 ucs42 cyrus/lmtp[4288]: DBERROR db5: BDB1538 Program version 5.3 doesn't match environment version 5.1 May 7 10:14:35 ucs42 cyrus/lmtp[4288]: DBERROR: dbenv->open '/var/lib/cyrus/db' failed: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch May 7 10:14:35 ucs42 cyrus/lmtp[4288]: DBERROR: init() on berkeley Is this error related to the problem, or is this an other issue? (In reply to Christina Scheinig from comment #3) > A customer reported the same behavior. > > I found this error message in /var/log/mail.log > May 7 10:14:35 ucs42 cyrus/master[4288]: about to exec > /usr/lib/cyrus/bin/lmtpd > May 7 10:14:35 ucs42 cyrus/lmtp[4288]: DBERROR db5: BDB1538 Program version > 5.3 doesn't match environment version 5.1 > May 7 10:14:35 ucs42 cyrus/lmtp[4288]: DBERROR: dbenv->open > '/var/lib/cyrus/db' failed: BDB0091 DB_VERSION_MISMATCH: Database > environment version mismatch > May 7 10:14:35 ucs42 cyrus/lmtp[4288]: DBERROR: init() on berkeley > > Is this error related to the problem, or is this an other issue? That is Bug #44487. OK: code change ??: functional test ??: advisory (In reply to Sönke Schwardt-Krummrich from comment #5) > OK: code change I have to withdraw this statement. → after updating to UCS 4.2-0 the package version "9.0.0-2A~4.2.0.201703151922" is installed, but the postinst snippet tests against "9.0.0-1". Therefore "systemctl enable cyrus-imapd.service" is never called. → I fixed that univention-mail-cyrus.yaml: r79261 | Bug #44377: updated package version in advisory r79167 | Bug #44377: advisory update univention-mail-cyrus (9.0.0-9): r79260 | Bug #44377: fix version comparison in postinst script → but unfortunately the cyrus-imapd.service gets never enabled if directly installed on UCS 4.2-0 with newest errata: root@master:~# univention-install univention-mail-server univention-mail-cyrus [...] root@master:~# reboot [...] root@master:~# systemctl status cyrus-imapd.service ● cyrus-imapd.service - Cyrus IMAP/POP3 daemons Loaded: loaded (/lib/systemd/system/cyrus-imapd.service; disabled) → REOPEN Why is this service not enabled automatically by the cyrus-* packages? Maybe we should enable the service during update AND during initial installation: "$1" = configure && -z "$2" ? Looks like this one: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790885 79264: enable Cyrus service also on install 79267: update advisories Package: univention-mail-cyrus Version: 9.0.0-10A~4.2.0.201705101016 Branch: ucs_4.2-0 Scope: errata4.2-0 OK: Test against correct errata package version OK: cyrus is enabled as systemd service for new package installations and when the package is updated OK: yaml Verified |