Re: [Mailman-Users] Site list is missing: mailman

Hi
I tried the following [root@h1 ~]# /usr/lib/mailman/bin/newlist mailman [...] List already exists: mailman
[root@h1 ~]# /usr/lib/mailman/bin/rmlist mailman Not removing archives. Reinvoke with -a to remove them. Removing list info
[root@h1 ~]# /usr/lib/mailman/bin/newlist mailman Enter the email of the person running the list: xxxx@xxx.xx Initial mailman password: Hit enter to notify mailman owner...
[root@h1 ~]# /usr/lib/mailman/bin/mailmanctl start Traceback (most recent call last): File "/usr/lib/mailman/bin/mailmanctl", line 607, in <module> main() File "/usr/lib/mailman/bin/mailmanctl", line 426, in main check_for_site_list() File "/usr/lib/mailman/bin/mailmanctl", line 326, in check_for_site_list sitelist = MailList(sitelistname, lock=0) File "/usr/lib/mailman/Mailman/MailList.py", line 130, in __init__ self.Load() File "/usr/lib/mailman/Mailman/MailList.py", line 639, in Load dict, e = self.__load(file) File "/usr/lib/mailman/Mailman/MailList.py", line 605, in __load fp = open(dbfile) IOError: [Errno 13] Permission denied: '/irafs0/mailman/lists/mailman/config.pck'
[root@h1 ~]# ls -ls /irafs0/mailman/lists/mailman/config.pck 4 -rw-rw---- 1 root mailman 3702 May 6 15:14 /irafs0/mailman/lists/mailman/config.pck
[root@h1 ~]# chown mailman /irafs0/mailman/lists/mailman/config.pck
[root@h1 ~]# /usr/lib/mailman/bin/mailmanctl start Site list is missing: mailman
I tried the same on a normal filesystem (ext4) and all went well, so I'm suspecting that the issue is related to some locking problem.
cheers francesco
On 04/25/2013 05:37 PM, Odhiambo Washington wrote:

On 05/06/2013 06:22 AM, gnugo wrote:
This would seem to indicate a SELinux or other security management type of issue unless the Mailman user is something other than 'mailman'. Is the Mailman user 'mailman'? What are the permissions on each directory in the path /irafs0/mailman/lists/mailman/?
This is very strange. The file exists, so it shouldn't be 'missing'.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 05/08/2013 06:49 AM, Mark Sapiro wrote:
SELinux is disabled
ls -ls /irafs0/mailman/lists/mailman/ 4 -rw-rw---- 1 mailman mailman 3702 May 6 15:14 config.pck
ls -lsd /irafs0/mailman/lists/mailman/ 4 drwxrwsr-x 2 root mailman 4096 May 6 15:14 /irafs0/mailman/lists/mailman/
It's probably something related to lustre. there is some file access or locking method that can cause the issue? the filesystem is working well with other applications.
cheers francesco

On 05/08/2013 01:26 AM, gnugo wrote:> On 05/08/2013 06:49 AM, Mark Sapiro wrote:
What are the permissions on each directory in the path /irafs0/mailman/lists/mailman/?
And what about
ls -ld /irafs0/mailman/lists ls -ld /irafs0/mailman ls -ld /irafs0
What are the settings in Defaults.py and (if any) in mm_cfg.py for MAILMAN_GROUP and MAILMAN_USER?
I'm not familiar with lustre, but I don't know of any locking issue that could cause this. It may well be that for reasons I don't understand lustre file systems are not compatible with Mailman. Does lustre honor effective uid/gid and SETGID bits on executables?
What happens if you do
su -u mailman touch /irafs0/mailman/lists/mailman/test_file ls -l /irafs0/mailman/lists/mailman/test_file python -c "open('/irafs0/mailman/lists/mailman/test_file')"
Does the python command issue any error?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 05/06/2013 06:22 AM, gnugo wrote:
This would seem to indicate a SELinux or other security management type of issue unless the Mailman user is something other than 'mailman'. Is the Mailman user 'mailman'? What are the permissions on each directory in the path /irafs0/mailman/lists/mailman/?
This is very strange. The file exists, so it shouldn't be 'missing'.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 05/08/2013 06:49 AM, Mark Sapiro wrote:
SELinux is disabled
ls -ls /irafs0/mailman/lists/mailman/ 4 -rw-rw---- 1 mailman mailman 3702 May 6 15:14 config.pck
ls -lsd /irafs0/mailman/lists/mailman/ 4 drwxrwsr-x 2 root mailman 4096 May 6 15:14 /irafs0/mailman/lists/mailman/
It's probably something related to lustre. there is some file access or locking method that can cause the issue? the filesystem is working well with other applications.
cheers francesco

On 05/08/2013 01:26 AM, gnugo wrote:> On 05/08/2013 06:49 AM, Mark Sapiro wrote:
What are the permissions on each directory in the path /irafs0/mailman/lists/mailman/?
And what about
ls -ld /irafs0/mailman/lists ls -ld /irafs0/mailman ls -ld /irafs0
What are the settings in Defaults.py and (if any) in mm_cfg.py for MAILMAN_GROUP and MAILMAN_USER?
I'm not familiar with lustre, but I don't know of any locking issue that could cause this. It may well be that for reasons I don't understand lustre file systems are not compatible with Mailman. Does lustre honor effective uid/gid and SETGID bits on executables?
What happens if you do
su -u mailman touch /irafs0/mailman/lists/mailman/test_file ls -l /irafs0/mailman/lists/mailman/test_file python -c "open('/irafs0/mailman/lists/mailman/test_file')"
Does the python command issue any error?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
gnugo
-
Mark Sapiro