[Bug 1999197] [NEW] mailman3 package missing in jammy, however mailman3 package from Debian 11 works with the other mailman3 packages from Jammy
Launchpad Bug Tracker
1999197 at bugs.launchpad.net
Fri Sep 29 09:19:17 UTC 2023
You have been subscribed to a public bug by Loeka Rogge (exur00):
[ Impact ]
There is currently no version of Mailman in Ubuntu 22.04, meaning that
people who depend on its functionality have limited options:
i) Stay on an older version of Ubuntu, but miss out on other update packages.
ii) Use a non-LTS Ubuntu release, but this results in a less stable experience and Mailman is principally a server package.
iii) Manually install the Debian package, but this requires manually updating it.
[ Test Plan ]
mailman3 should be available in Jammy with all DEP-8 tests passing.
[ Where problems could occur ]
Several packages are still present in Jammy, such as mailman3-web,
despite mailman3 being removed. They will also have to be tested and
potentially updated to be compatible with the version backported from
Lunar.
[Original description]
1)
root at ubuntu22:~# lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
2)
root at ubuntu22:~# apt-cache policy mailman3
mailman3:
Installed: 3.2.2-1
Candidate: 3.2.2-1
Version table:
*** 3.2.2-1 100
100 /var/lib/dpkg/status
(shows version held from focal, see below)
3) I expect Jammy (22.04.1) to have a mailman3 versions to go along with the supplied mailman3-web package
4) What happened: mailman3 package missing in jammy, and mailman3-web supplied but incompatible with mailman3 version held over from focal.
When upgrading from Ubuntu 20.04.05 (focal) to 22.04.01 (jammy),
mailman3 and mailman3-full packages are de-installed during upgrade.
Strangely enough mailman3-web still makes it.
Of course, this results in a non-functional mailman3 installation (just
a front-end without the backend).
Adding back the focal repositories and manually reinstalling mailman3
and mailman3-full 3.2.2-1 from focal into jammy gets mailman3 mostly up
and running again (i.e. correctly distributes mails to lists).
Rest API password (i.e. admin_pass from /etc/mailman3/mailman.cfg needs
to be copied to MAILMAN_REST_API_PASS in /etc/mailman3/mailman-web.py).
After doing this, front end *mostly* works.
However, lists cannot be viewed when logged in as admin, instead the
following error is displayed:
Something went wrong
HTTP Error 404: {"title": "404 Not Found"}
Event downgrading mailman3-web from 0+20200530-2 to 0+20180916-10 and
then rebooting does not help.
When this happens, the following is logged to
/var/log/mailman3/web/mailman-web.log:
[pid: 749|app: 0|req: 9/9] 127.0.0.1 () {60 vars in 1359 bytes} [Fri Dec 9 00:21:22 2022] GET /mailman3/postorius/lists/ => generated 8958 bytes in 56 msecs (HTTP/1.1 200) 7 headers in 220 bytes (1 switches on core 0)
ERROR 2022-12-09 00:21:25,565 749 postorius Un-handled exception: HTTP Error 404: {"title": "404 Not Found"}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/postorius/views/generic.py", line 74, in dispatch
return super(MailingListView, self).dispatch(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/postorius/views/list.py", line 301, in get
primary_email = set_preferred(request.user, mm_user)
File "/usr/lib/python3/dist-packages/postorius/utils.py", line 77, in set_preferred
mm_user.preferred_address = primary_email.email
File "/usr/lib/python3/dist-packages/mailmanclient/restobjects/user.py", line 57, in __setattr__
super(User, self).__setattr__(name, value)
File "/usr/lib/python3/dist-packages/mailmanclient/restbase/base.py", line 131, in __setattr__
return super(RESTObject, self).__setattr__(name, value)
File "/usr/lib/python3/dist-packages/mailmanclient/restobjects/user.py", line 145, in preferred_address
response, content = self._connection.call(url, {'email': email})
File "/usr/lib/python3/dist-packages/mailmanclient/restbase/connection.py", line 160, in call
raise HTTPError(params.get('url'), response.status_code,
urllib.error.HTTPError: HTTP Error 404: {"title": "404 Not Found"}
WARNING 2022-12-09 00:21:25,569 749 django.request Not Found: /mailman3/postorius/lists/lilux-info.lilux.lu/
WARNING 2022-12-09 00:21:25,569 749 django.request Not Found: /mailman3/postorius/lists/lilux-info.lilux.lu/
[pid: 749|app: 0|req: 10/10] 127.0.0.1 () {60 vars in 1399 bytes} [Fri Dec 9 00:21:25 2022] GET /mailman3/postorius/lists/lilux-info.lilux.lu/ => generated 6374 bytes in 192 msecs (HTTP/1.1 404) 7 headers in 227 bytes (1 switches on core 1)
** Affects: mailman3 (Ubuntu)
Importance: Undecided
Status: Invalid
** Affects: mailman3 (Ubuntu Jammy)
Importance: Undecided
Status: Triaged
--
mailman3 package missing in jammy, however mailman3 package from Debian 11 works with the other mailman3 packages from Jammy
https://bugs.launchpad.net/bugs/1999197
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list