2022-12-09 00:26:56 |
AlainKnaff |
bug |
|
|
added bug |
2022-12-09 10:11:36 |
AlainKnaff |
summary |
mailman3 package missing in jammy |
mailman3 package missing in jammy, and keeping focal version causes HTTP Error 404: {"title": "404 Not Found"} |
|
2022-12-10 09:55:49 |
AlainKnaff |
summary |
mailman3 package missing in jammy, and keeping focal version causes HTTP Error 404: {"title": "404 Not Found"} |
mailman3 package missing in jammy, but mailman3-web supplied but incompatible with mailman3 held over from focal |
|
2022-12-10 09:55:49 |
AlainKnaff |
description |
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) |
1)
root@ubuntu22:~# lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
2)
root@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) |
|
2022-12-10 12:41:10 |
AlainKnaff |
summary |
mailman3 package missing in jammy, but mailman3-web supplied but incompatible with mailman3 held over from focal |
mailman3 package missing in jammy, however mailman3 package from Debian 11 works with the other mailman3 packages from Jammy |
|
2022-12-11 15:09:50 |
Launchpad Janitor |
mailman3 (Ubuntu): status |
New |
Confirmed |
|
2022-12-11 15:10:13 |
svbergerem |
bug |
|
|
added subscriber svbergerem |
2022-12-27 21:12:30 |
Jim Wright |
bug |
|
|
added subscriber Jim Wright |
2023-09-04 19:03:12 |
Milan Meulemans |
information type |
Public |
Public Security |
|
2023-09-04 19:03:18 |
Milan Meulemans |
information type |
Public Security |
Public |
|
2023-09-04 19:03:29 |
Milan Meulemans |
bug |
|
|
added subscriber Milan Meulemans |
2023-09-22 15:40:42 |
Bert Van de Poel |
bug |
|
|
added subscriber Bert Van de Poel |
2023-09-28 23:31:03 |
Lucas Kanashiro |
description |
1)
root@ubuntu22:~# lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
2)
root@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) |
[ 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@ubuntu22:~# lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04
2)
root@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) |
|
2023-09-28 23:31:07 |
Lucas Kanashiro |
nominated for series |
|
Ubuntu Jammy |
|
2023-09-28 23:31:07 |
Lucas Kanashiro |
bug task added |
|
mailman3 (Ubuntu Jammy) |
|
2023-09-28 23:31:14 |
Lucas Kanashiro |
mailman3 (Ubuntu): status |
Confirmed |
Invalid |
|
2023-09-28 23:31:27 |
Lucas Kanashiro |
mailman3 (Ubuntu Jammy): status |
New |
Triaged |
|
2023-09-29 09:19:17 |
Loeka Rogge |
bug |
|
|
added subscriber Ubuntu Sponsors |
2023-09-29 23:12:25 |
Steve Langasek |
mailman3 (Ubuntu Jammy): status |
Triaged |
Fix Committed |
|
2023-09-29 23:12:26 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-09-29 23:12:28 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2023-09-29 23:12:33 |
Steve Langasek |
tags |
|
verification-needed verification-needed-jammy |
|
2023-09-29 23:13:49 |
Steve Langasek |
removed subscriber Ubuntu Sponsors |
|
|
|
2023-10-03 19:52:23 |
Lucas Kanashiro |
bug task added |
|
mailman-hyperkitty (Ubuntu) |
|
2023-10-03 19:52:32 |
Lucas Kanashiro |
mailman-hyperkitty (Ubuntu): status |
New |
Invalid |
|
2023-10-03 19:52:36 |
Lucas Kanashiro |
mailman-hyperkitty (Ubuntu Jammy): status |
New |
In Progress |
|