[SRU] cyradm fails on jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cyrus-imapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
cyradm is completely unusable as it will fail with an error whenever any user tries to run "cyradm".
$ cyradm
Can't load '/usr/lib/
at /usr/lib/
Compilation failed in require at /usr/lib/
BEGIN failed--compilation aborted at /usr/lib/
Compilation failed in require at /usr/lib/
BEGIN failed--compilation aborted at /usr/lib/
Compilation failed in require at /usr/bin/cyradm line 66.
BEGIN failed--compilation aborted at /usr/bin/cyradm line 66.
[ Test Plan ]
* Execute "cyradm"
* if its not fixed then it will fail as the error above
* With fixed package we will reach the "cyradm" prompt as shown below:
$ cyradm
cyradm>
[ Where problems could occur ]
There was no change in the code or build dependencies. The only change is in the Makefile to explicitely link IMAP.so with libpcre3 so that Perl Dynaloader does not try to find the symbols from the latest libpcre2.
Its already completely unusable, the chances of regression more than "completely unusable" are very less.
[ Other Info ]
Upstream has added changes to support latest libpcre2 but the diff of the patches to add the support is already big and on top of that it will need 2 more fixes. So the total diff and also the fact that it will then change the dependencies and will start using a new library was (imho) inappropriate for SRU.
[ Original Bug Description ]
Running cyradm fails:
root@imap ~# cyradm 127.0.0.1
Can't load '/usr/lib/
at /usr/lib/
Compilation failed in require at /usr/lib/
BEGIN failed--compilation aborted at /usr/lib/
Compilation failed in require at /usr/lib/
BEGIN failed--compilation aborted at /usr/lib/
Compilation failed in require at /usr/bin/cyradm line 66.
BEGIN failed--compilation aborted at /usr/bin/cyradm line 66.
I think this is due to an imcompatibility between versions of libpcre, out of my depth commenting further but there's a discussion here: https:/
I have:
root@imap ~# dpkg -l | grep pcre
ii libpcre2-32-0:amd64 10.39-3build1 amd64 New Perl Compatible Regular Expression Library - 32 bit runtime files
ii libpcre2-8-0:amd64 10.39-3build1 amd64 New Perl Compatible Regular Expression Library- 8 bit runtime files
ii libpcre3:amd64 2:8.39-13build5 amd64 Old Perl 5 Compatible Regular Expression Library - runtime files
This is a fresh install of 22.04 with little else installed but:
root@imap ~# dpkg -l | grep cyrus
ii cyrus-admin 3.4.3-3build2 amd64 Cyrus mail system - administration tools
ii cyrus-caldav 3.4.3-3build2 amd64 Cyrus mail system - CalDAV and CardDAV support
ii cyrus-clients 3.4.3-3build2 amd64 Cyrus mail system - test clients
ii cyrus-common 3.4.3-3build2 amd64 Cyrus mail system - common files
ii cyrus-imapd 3.4.3-3build2 amd64 Cyrus mail system - IMAP support
ii libcyrus-
Changed in cyrus-imapd (Ubuntu Jammy): | |
status: | New → Confirmed |
Changed in cyrus-imapd (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in cyrus-imapd (Ubuntu Jammy): | |
status: | Confirmed → In Progress |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
Status changed to 'Confirmed' because the bug affects multiple users.