Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-08 Thread Mark Sapiro
Patrick Valencia wrote: > >Ohh... *slaps forehead* python isn't in the chrooted environment. But >wouldn't the cgi executable require python to output the error message? No. The CGI executable wrapper is a compiled/bound C program (mostly because SETGID doesn't work with 'scripts'). So the wrap

Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-08 Thread Patrick Valencia
Ohh... *slaps forehead* python isn't in the chrooted environment. But wouldn't the cgi executable require python to output the error message? Should I just install another copy of python into /var/www/usr/local/bin/python? Do you know much about chrooting applications? This isn't really a mailm

Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-07 Thread Mark Sapiro
Patrick Valencia wrote: > >Ok, so the /var/www/etc/group file works, but now it's giving me another >error: > >No such file or directory. Where do you see this error? Is there an entry in Mailman's error log (/var/www/mailman/logs/error I think in your case)? -- Mark Sapiro <[EMAIL PROTECTED]

Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-07 Thread Patrick Valencia
Ok, so the /var/www/etc/group file works, but now it's giving me another error: No such file or directory. It mentions storing the output into a syslog, but from checking apache's error_log and access_log, I don't see anything useful. It shows /mailman/admin getting a 200 response, which means O

Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-07 Thread Mark Sapiro
Patrick Valencia wrote: > >Matter of fact, when I configure it, the DCGI_GROUP="\"www\"" and so does >the DMAIL_GROUP. I think it's taking the 67 as a gid and finding the group >it belongs to. That's right. See my other reply. >I'm still not exactly sure how it can't see the gid when it >goes

Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-07 Thread Mark Sapiro
Patrick Valenciawrote: > >I configured it as such: > >./configure --prefix=/var/www/mailman --with-mail-gid=67 --with-cgi-gid=67 >--with-username=_mailman --with-groupname=_mailman > >(using the _mailman user & group from the port install) and I still get the >same error: > >Failure to find group

Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-07 Thread Patrick Valencia
Matter of fact, when I configure it, the DCGI_GROUP="\"www\"" and so does the DMAIL_GROUP. I think it's taking the 67 as a gid and finding the group it belongs to. I'm still not exactly sure how it can't see the gid when it goes to run the cgi script I thought it would be able to, especially sin

Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-07 Thread Patrick Valencia
I configured it as such: ./configure --prefix=/var/www/mailman --with-mail-gid=67 --with-cgi-gid=67 --with-username=_mailman --with-groupname=_mailman (using the _mailman user & group from the port install) and I still get the same error: Failure to find group name for GID 67. Mailman expected

Re: [Mailman-Users] Mailman in chrooted OpenBSD

2007-09-07 Thread Mark Sapiro
Patrick Valencia wrote: >I need help setting up mailman in a chrooted OpenBSD environment. I've >copied the /usr/local/lib/mailman and /var/spool/mailman directories to >/var/www/mailman, as well as the modules it needed, but now I'm getting an >error that says: > >Mailman CGI error!!! The Mailma

[Mailman-Users] Mailman in chrooted OpenBSD

2007-09-05 Thread Patrick Valencia
I need help setting up mailman in a chrooted OpenBSD environment. I've copied the /usr/local/lib/mailman and /var/spool/mailman directories to /var/www/mailman, as well as the modules it needed, but now I'm getting an error that says: Mailman CGI error!!! The Mailman CGI wrapper encountered a fat