Red Hat Bugzilla – Bug 104890
Mailman startup script missing getgrnam()
Last modified: 2007-04-18 12:57:43 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.2.1) Gecko/20030225
Description of problem:
Mailman do not starts after an system upgrade from Red Hat Linux 7.3 to 9. The
# /etc/init.d/mailman start
Traceback (most recent call last):
File "/var/mailman/bin/mailmanctl", line 524, in ?
File "/var/mailman/bin/mailmanctl", line 319, in main
File "/var/mailman/bin/mailmanctl", line 274, in check_privs
gid = grp.getgrnam(mm_cfg.MAILMAN_GROUP)
KeyError: getgrnam(): name not found
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. /etc/init.d/mailman start
Actual Results: Mailman does not start.
Expected Results: Mailman starts.
Add these two line to mm_cfg.py:
MAILMAN_USER = 'mailman'
MAILMAN_GROUP = 'mailman'
It'd be good to add these lines to Defaults.py instead of lines
MAILMAN_USER = ''
MAILMAN_GROUP = ''
This bug was fixed a long time ago. For RHL 9, it should be available as an
errata. Did you run RHN update? If for some reason that doesn't give you a
working rpm then the latest rpm can be found at ftp.redhat.com which I know for
a fact has this fixed. In the future please include the version of the rpm
you're filing a bug on, it really helps. This can be done via:
rpm -q name-of-rpm
I reported the rpm version: mailman-2.1-8. See above. I search it at https://rhn.redhat.com/errata/rh9-errata.html, but mailman is not mentioned there, so you should release an errata entry for RH9.
The errata is RHBA-2003:179-05. I just checked, for some reason it has not been
pushed to the server. I will follow up and see why.
Just to let you know the errata was just pushed. There had been a procedural
error I was unaware of which had prevented it from being pushed earlier. It may
take a little while till it shows up in RHN. My appologies for the confusion.