FS#74922 - Python traceback when installing "mailman" for the first time

Attached to Project: Community Packages
Opened by John Peterson (regular_user) - Tuesday, 31 May 2022, 19:58 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Friday, 23 September 2022, 04:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When installing the package "mailman" the normal way for the first time, a python traceback and an error message appears.
```
(3/3) installing mailman [######################] 100%
Traceback (most recent call last):
File "bin/check_perms", line 51, in <module>
MAILMAN_GID = grp.getgrnam(MAILMAN_GROUP)[2]
KeyError: 'getgrnam(): name not found: mailman'
error: command failed to execute correctly
```
Upon removing and installing anew, no traceback or any error message appears.

Additional info:
* package version(s)
2.1.39-2
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
The error messages don't appear when installing "mailman" a second time.
Download the arch iso (had to download it via browser, torrent client didn't see any trackers or peers, http sources were present, still didn't download a byte)
Launch it in a virtual machine (I used virtualbox)
# pacman -Sy
# pacman -S mailman
when asked about providers for smtp-server, just press Enter (it selects postfix by default)
Behold the aforementioned python traceback and error message
This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Friday, 23 September 2022, 04:03 GMT
Reason for closing:  Won't fix
Additional comments about closing:  mailman is dropped to AUR
Comment by Chih-Hsuan Yen (yan12125) - Wednesday, 01 June 2022, 04:14 GMT
FWIW, we are moving from mailman (2.x) to mailman3 [1,2]. Once completed, this package may be dropped to AUR.

[1] https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/59
[2] https://archlinux.org/packages/community/any/mailman3/
Comment by Chih-Hsuan Yen (yan12125) - Friday, 23 September 2022, 04:02 GMT
mailman is dropped to AUR. Please open a new ticket if the issue also appears on mailman3, thanks!

Loading...