BUG: (Fix included): Mailman 2.1 under RedHat 9, clean install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mailman 2.1 under Shrike (RedHat 9) seems to be having some problems. I just
did an install, and programs like ./check_perms and ./mailmanctl under
/var/mailman/bin give an error:

Traceback (most recent call last):
File "/var/mailman/bin/mailmanctl", line 524, in ?
main()
File "/var/mailman/bin/mailmanctl", line 319, in main
check_privs()
File "/var/mailman/bin/mailmanctl", line 274, in check_privs
gid = grp.getgrnam(mm_cfg.MAILMAN_GROUP)[2]
KeyError: getgrnam(): name not found

The fix is to edit the mm_cfg.py in /var/mailman/Mailman and manually set the
MAILMAN_USER and MAILMAN_GROUP variables to 'mailman'. There is already a
MAILMAN_UID and MAILMAN_GID set, but it seems that those two scripts (of
which mailmanctl is very important) use MAILMAN_USER/_GROUP instead...

Since RedHat intentionally sets the MAILMAN_UID and _GID, I imagine that it's
up to them to also set the MAILMAN_USER and _GROUP variables, instead of the
mailman people... (if I'm wrong, let me know, and I'll send this to their
lists instead).

I did a completely clean install on a test machine, wiped the HDs and all.
Python was working ok, and mailman would receive mail, but server-side
configuration was having problems...


Christopher Wiegand 
Network Admin / Programmer 
Signal Behavioral Health Network 
Email: cwiegand@xxxxxxxxxxxxx 
Phone: 303.639.9320 x1016 





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux