On Wed, Apr 26, 2006 at 02:50:17PM +0200, Ignacio Verona wrote:
thanks for the reply Paul,
no, I didn't install using --noscripts. Just 'yum install mailman' and
the user was not created... really strange, isn't it?
I have seen things like this happening too, especially when NIS was in
use as authentication system but sometimes with LDAP too; the scripts
then attempt to create the user in the nework authentication system in
stead of the locat /etc/passwd / shadow /group files, and this may
succeed or it may fail, but it is certainly not correct.
David Jansen
Paul Howarth escribió:
>Ignacio Verona wrote:
>>Hi,
>>
>>I'm trying to install mailman on a FC5 system, but doing 'yum install
>>mailman' returns me a lot of lines like:
>>[1/1]warning: group mailman does not exist - using root
>>
>>And after that I'm not able to do anything.
>>'/usr/lib/mailman/bin/mmsitepass' returns:
>>Traceback (most recent call last):
>> File "/usr/lib/mailman/bin/mmsitepass", line 45, in ?
>> from Mailman import Utils
>> File "/usr/lib/mailman/Mailman/Utils.py", line 51, in ?
>> from Mailman import mm_cfg
>> File "/usr/lib/mailman/Mailman/mm_cfg.py", line 51, in ?
>> MAILMAN_GID = grp.getgrnam('mailman')[2]
>>KeyError: 'getgrnam(): name not found: mailman'
>>
>>Because neither the 'mailman' user or 'mailman' group does exist.
Any
>>clue about what happens?
>
>They should have been installed as part of the pre-install script for
>the mailman package. They should have UID/GID 41. You didn't install
>it using rpm --noscripts did you?
>
>Try removing mailman and reinstalling it.
>
>Paul.
>
------------------------------