
I am trying, for the 1st time in my life with Mailman, to create a list via the web UI. I have read all the available doco, and I believe that I have configured my setup properly. `check_perms -f` says no error found, yet when I try to create a list, the web UI says: "Bug in Mailman version 2.1.9 \ We're sorry, we hit a bug! \ Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs" Well the error itself from $Mailman_Home/logs/error is: Nov 02 19:07:39 2006 admin(69413): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(69413): [----- Mailman Version: 2.1.9 -----] admin(69413): [----- Traceback ------] admin(69413): Traceback (most recent call last): admin(69413): File "/usr/local/mailman/scripts/driver", line 101, in run_main admin(69413): main() admin(69413): File "/usr/local/mailman/Mailman/Cgi/create.py", line 56, in main admin(69413): process_request(doc, cgidata) admin(69413): File "/usr/local/mailman/Mailman/Cgi/create.py", line 190, in process_request admin(69413): mlist.Create(listname, owner, pw, langs, emailhost) admin(69413): File "/usr/local/mailman/Mailman/MailList.py", line 493, in Create admin(69413): self.InitVars(name, admin, crypted_password) admin(69413): File "/usr/local/mailman/Mailman/MailList.py", line 404, in InitVars admin(69413): baseclass.InitVars(self) admin(69413): File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars admin(69413): os.mkdir(self.archive_dir()+'.mbox', 02775) admin(69413): OSError: [Errno 13] Permission denied: '/usr/local/mailman/archives/private/potopoto.mbox' admin(69413): [----- Python Information -----] So I am just wondering, why else should this happen? cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) | wash () WANANCHI ! com . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post

Odhiambo Washington wrote:
I am trying, for the 1st time in my life with Mailman, to create a list via the web UI. I have read all the available doco, and I believe that I have configured my setup properly. `check_perms -f` says no error found,
There may be a problem with check_perms. We won't know for sure until we find the immediate problem.
yet when I try to create a list, the web UI says:
"Bug in Mailman version 2.1.9 \ We're sorry, we hit a bug! \ Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs"
Well the error itself from $Mailman_Home/logs/error is:
Nov 02 19:07:39 2006 admin(69413): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(69413): [----- Mailman Version: 2.1.9 -----] admin(69413): [----- Traceback ------] admin(69413): Traceback (most recent call last): admin(69413): File "/usr/local/mailman/scripts/driver", line 101, in run_main admin(69413): main() admin(69413): File "/usr/local/mailman/Mailman/Cgi/create.py", line 56, in main admin(69413): process_request(doc, cgidata) admin(69413): File "/usr/local/mailman/Mailman/Cgi/create.py", line 190, in process_request admin(69413): mlist.Create(listname, owner, pw, langs, emailhost) admin(69413): File "/usr/local/mailman/Mailman/MailList.py", line 493, in Create admin(69413): self.InitVars(name, admin, crypted_password) admin(69413): File "/usr/local/mailman/Mailman/MailList.py", line 404, in InitVars admin(69413): baseclass.InitVars(self) admin(69413): File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars admin(69413): os.mkdir(self.archive_dir()+'.mbox', 02775) admin(69413): OSError: [Errno 13] Permission denied: '/usr/local/mailman/archives/private/potopoto.mbox' admin(69413): [----- Python Information -----]
Verify that the wrapper /usr/local/mailman/cgi-bin/create has permissions like -rwxr-sr-x 1 root mailman The critical things are the SETGID bit and group 'mailman'. Then verify that the directories /usr/local/mailman/, /usr/local/mailman/archives/ and /usr/local/mailman/archives/private/ are all group 'mailman' and group writeable. Also, the directory /usr/local/mailman/archives/private/potopoto.mbox/ should not exist at this point. -- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

* On 02/11/06 08:52 -0800, Mark Sapiro wrote: | Odhiambo Washington wrote: | | >I am trying, for the 1st time in my life with Mailman, to create a list | >via the web UI. I have read all the available doco, and I believe that | >I have configured my setup properly. | >`check_perms -f` says no error found, | | | There may be a problem with check_perms. We won't know for sure until | we find the immediate problem. ;-) It's the one that came with 2.1.9 (no local tweaks at all) | >yet when I try to create a list, | >the web UI says: | > | >"Bug in Mailman version 2.1.9 \ | >We're sorry, we hit a bug! \ | >Please inform the webmaster for this site of this problem. Printing of | >traceback and other system information has been explicitly inhibited, | >but the webmaster can find this information in the Mailman error logs" | > | > | >Well the error itself from $Mailman_Home/logs/error is: | > | >Nov 02 19:07:39 2006 admin(69413): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | >admin(69413): [----- Mailman Version: 2.1.9 -----] | >admin(69413): [----- Traceback ------] | >admin(69413): Traceback (most recent call last): | >admin(69413): File "/usr/local/mailman/scripts/driver", line 101, in run_main | >admin(69413): main() | >admin(69413): File "/usr/local/mailman/Mailman/Cgi/create.py", line 56, in main | >admin(69413): process_request(doc, cgidata) | >admin(69413): File "/usr/local/mailman/Mailman/Cgi/create.py", line 190, in process_request | >admin(69413): mlist.Create(listname, owner, pw, langs, emailhost) | >admin(69413): File "/usr/local/mailman/Mailman/MailList.py", line 493, in Create | >admin(69413): self.InitVars(name, admin, crypted_password) | >admin(69413): File "/usr/local/mailman/Mailman/MailList.py", line 404, in InitVars | >admin(69413): baseclass.InitVars(self) | >admin(69413): File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 96, in InitVars | >admin(69413): os.mkdir(self.archive_dir()+'.mbox', 02775) | >admin(69413): OSError: [Errno 13] Permission denied: '/usr/local/mailman/archives/private/potopoto.mbox' | >admin(69413): [----- Python Information -----] | | | Verify that the wrapper /usr/local/mailman/cgi-bin/create has | permissions like | | -rwxr-sr-x 1 root mailman | | The critical things are the SETGID bit and group 'mailman'. That was as expected. | Then verify that the directories /usr/local/mailman/, | /usr/local/mailman/archives/ and /usr/local/mailman/archives/private/ | are all group 'mailman' and group writeable. /usr/local/mailman/archives/private/ was NOT group-writable. That was the problem. Thank you so much. I am now 5 miles ahead. cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) | wash () WANANCHI ! com . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post

Odhiambo Washington wrote:
- On 02/11/06 08:52 -0800, Mark Sapiro wrote: | | There may be a problem with check_perms. We won't know for sure until | we find the immediate problem.
;-) It's the one that came with 2.1.9 (no local tweaks at all)
And it appears to have a bug.
/usr/local/mailman/archives/private/ was NOT group-writable. That was the problem.
And it looks like check_perms neglects to check this. Thanks for the report.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Odhiambo Washington