[Mailman-Users] Issues with mailman

Chris Petrik c.petrik.sosa at gmail.com
Tue Nov 15 14:57:46 CET 2011


On 11/14/2011 9:40 PM, Mark Sapiro wrote:
> Chris Petrik wrote:
>> I am getting these errors when I try to send a email to my list.
>>
>>
>> Nov 14 06:53:23 2011 (28413) Uncaught runner exception: [Errno 1]
>> Operation not permitted
>> Nov 14 06:53:23 2011 (28413) Traceback (most recent call last):
>>    File "/usr/local/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
>>      self._onefile(msg, msgdata)
>>    File "/usr/local/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
>>      keepqueued = self._dispose(mlist, msg, msgdata)
>>    File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 133,
>> in _dispose
>>      mlist.Save()
>>    File "/usr/local/mailman/Mailman/MailList.py", line 572, in Save
>>      self.__save(dict)
>>    File "/usr/local/mailman/Mailman/MailList.py", line 549, in __save
>>      os.link(fname, fname_last)
>> OSError: [Errno 1] Operation not permitted
>
> Mailman's IncomingRunner is trying to save an updated list object. It
> has saved it to lists/LISTNAME/config.pck.tmp.HOSTNAME.PID. It then
> tries to remove lists/LISTNAME/config.pck.last, create
> lists/LISTNAME/config.pck.last as a hard link to
> lists/LISTNAME/config.pck and finally rename
> lists/LISTNAME/config.pck.tmp.HOSTNAME.PID to
> lists/LISTNAME/config.pck .
> The creation of lists/LISTNAME/config.pck.last as a hard link to
> lists/LISTNAME/config.pck is being denied by the OS.
>
> It's not too likely, but this may be a permissions issue that can be
> fixed by running Mailman's bin/check_perms -f as root.
>
> More likely, SELinux or some other security manager is involved.
>
> See the results of this search
> <http://www.google.com/search?q=site:mail.python.org+inurl%3Amailman+os.link%28fname%2C+fname_last%29+OSError%3A+[Errno+1]+Operation+not+permitted>
>
>
>> Nov 14 06:53:23 2011 (28413) SHUNTING:
>> 1321275203.2377739+24351497a8000b37825224c0f6b4765a4fbb5204
>
> Because of the above exception, the message has been moved to the shunt
> queue where it can be reprocessed after the underlying problem is
> resolved by running Mailman's bin/unshunt.
>
I ran check-perms -f it fixed a couple perms, but did not fix the

File "/usr/local/mailman/Mailman/MailList.py", line 549, in __save
     os.link(fname, fname_last)
OSError: [Errno 1] Operation not permitted

I am not using selinux as the OS is FreeBSD not sure where else to look.



More information about the Mailman-Users mailing list