Bug 36372 - Block update if cyrus-2.2 is installed (?)
Block update if cyrus-2.2 is installed (?)
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - Release updates
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Philipp Hahn
Felix Botner
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-31 15:58 CET by Felix Botner
Modified: 2014-11-26 06:54 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2014-10-31 15:58:52 CET
I upgraded a system with cyrus-2.2, during upgrade cyrus-2.2 is replaced with cyrus-2.4 (cyrus-imapd-2.2 is still installed but an empty transitional package).

mail.log now says

Oct 31 15:54:25 master cyrus/master[2610]: process started
Oct 31 15:54:25 master cyrus/master[2612]: about to exec /usr/sbin/ctl_cyrusdb
Oct 31 15:54:25 master cyrus/ctl_cyrusdb[2612]: DBERROR db5: unable to join the environment
Oct 31 15:54:25 master cyrus/ctl_cyrusdb[2612]: DBERROR db5: fop_read_meta: /var/lib/cyrus/tls_sessions.db: unexpected file type or format
Oct 31 15:54:25 master cyrus/ctl_cyrusdb[2612]: DBERROR db5: Recovery function for LSN 2 4263 failed on backward pass
Oct 31 15:54:25 master cyrus/ctl_cyrusdb[2612]: DBERROR db5: PANIC: Invalid argument
Oct 31 15:54:25 master cyrus/ctl_cyrusdb[2612]: DBERROR: critical database situation
Oct 31 15:54:25 master cyrus/master[2610]: process 2612 exited, status 75
Oct 31 15:54:25 master cyrus/master[2616]: about to exec /usr/lib/cyrus/bin/idled
Oct 31 15:54:25 master cyrus/master[2618]: about to exec /usr/sbin/ctl_deliver

Maybe better block the update if cyrus-2.2 is installed and refer to the update article http://sdb.univention.de/1213.

But we still have to check the update from 2.4 (UCS 3) to 2.4 (UCS 4).
Comment 1 Stefan Gohmann univentionstaff 2014-10-31 22:56:06 CET
Could you add a test to preup.sh and refer to the sdb article?
Comment 3 Philipp Hahn univentionstaff 2014-11-03 15:16:20 CET
r55283 | Bug #36372 Updater: Block update on cyrus-2.2
 Check for cyrus-common-2.2

Package: univention-updater
Version: 10.0.33-3.1305.201411031502
Branch: ucs_4.0-0

FYI: cyrus-common-2.2 from 3.2/maintained/3.2-0/amd64/ fails to install because of
>  /usr/sbin/cyrus-makedirs: unable to read configuration file /etc/imapd/imapd.conf. Aborting...
"ln -s . /etc/imapd" can be used as a work-around.
Comment 4 Felix Botner univentionstaff 2014-11-03 16:35:01 CET
OK - block update with cyrus 2.2
OK - release notes
Comment 5 Felix Botner univentionstaff 2014-11-07 14:49:49 CET
Please remove the '<' and '>' from the links to the sdb in the cyrus2.2 (and postgres8.3) check, otherwise the link is invisible in the UMC updater.
Comment 6 Philipp Hahn univentionstaff 2014-11-07 16:42:56 CET
r55521 | Bug #36372 preup: Work-around broken UMC HTML escaping

Package: univention-updater
Version: 10.0.37-2.1316.201411071604
Branch: ucs_4.0-0
Comment 7 Felix Botner univentionstaff 2014-11-10 12:41:25 CET
OK
Comment 8 Stefan Gohmann univentionstaff 2014-11-26 06:54:00 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".