[Mailman-Users] Br0ken Mailman - Ubuntu 18.04.1 LTS
Mark Sapiro
mark at msapiro.net
Tue Jan 29 18:21:04 EST 2019
On 1/29/19 3:34 AM, Odhiambo Washington wrote:
> I got an error this morning about some strange permission while run the
> cron.
>
> Cron <list at lists> [ -x /usr/local/mailman/cron/senddigests ] &&
> /usr/local/mailman/cron/senddigests:
>
> Traceback (most recent call last):
> File "/usr/local/mailman/cron/senddigests", line 120, in <module>
> main()
> File "/usr/local/mailman/cron/senddigests", line 98, in main
> mlist = MailList.MailList(listname, lock=0)
> File "/usr/local/mailman/Mailman/MailList.py", line 133, in __init__
> self.Load()
> File "/usr/local/mailman/Mailman/MailList.py", line 693, in Load
> dict, e = self.__load(file)
> File "/usr/local/mailman/Mailman/MailList.py", line 656, in __load
> fp = open(dbfile)
> IOError: [Errno 13] Permission denied:
> '/usr/local/mailman/lists/skunkworks/config.pck'
>
> So I fumbled around trying to figure it out without success!
> bin/check_perms -f did not help either.
Was this a new list or one that was present during a prior successful
cron/senddigests run?
Could you access the list via the web UI?
What user runs the cron, i.e. the owner of the crontab or the listed
user is a system crontab, and can that user access the config.pck file?
Can that user successfully run cron/senddigests manually?
If the above doesn't give clues, maybe apparmor is involved.
Maybe it was a transient glitch.
In any case, I wouldn't expect re-installing Mailman to correct a
permissions problem if check_perms didn't find anything.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list