[Mailman-Users] Hanging python cgi scripts on b6
Dan Mick
Dan.Mick at west.sun.com
Tue Oct 10 22:43:29 CEST 2000
So this is almost certainly the Openwall security issue mentioned
in README.LINUX. Did you read that?
> I started by cleaning the locks directory, which did have some files
> in it. After starting over, I got a straightforward error, which I
> had overloooked in the general confusion of setting this up for the
> first time.
>
> Traceback (innermost last):
> File "/usr/local/mailman/scripts/driver", line 96, in run_main
> main()
> File "/usr/local/mailman/Mailman/Cgi/admin.py", line 143, in main
> mlist.Save()
> File "/usr/local/mailman/Mailman/MailList.py", line 842, in Save
> self.__save(dict)
> File "/usr/local/mailman/Mailman/MailList.py", line 818, in __save
> os.link(fname, fname_last)
> OSError: [Errno 1] Operation not permitted
>
> I upgraded python to 2.0c1, rebuilt mailman, and it still fails with
> this error. FWIW check_perms still runs cleanly, but this looks to
> me like an ownership/permissions problems. Again, I am building
> with the following options:
>
> ./configure \
> --with-cgi-gid=nobody \
> --with-mail-gid=mailman \
> --prefix=/usr/local/mailman \
> --exec-prefix=/usr/local/mailman
>
> Could it be an apache / cgi su problem? Is it necessary to run
> suexec with apache?
>
> -- Michael
>
> On Tue, 10 Oct 2000, Lim Hui Min wrote:
>
> > might be irrelevant but maybe you can try upgrading your python
> > to 2.0. it solve the lock file problem of qrunner for me
>
> > ----- Original Message -----
> > From: "Dan Mick" <Dan.Mick at West.Sun.COM>
>
> > > > I'm now tryin to admin my test list, and the python cgi script hangs
> > > > forever. The following is running as user nobody:
> > > >
> > > > /usr/bin/python -S /some/path/mailman/scripts/driver admin
> > >
> > > Can you arrange to strace it and find out what it's doing?
> > >
> > > If not, check the ~mailman/locks directory; when the list stuff
> > > is quiescent, it should be empty; maybe there's a dead lock
> > > there.
>
>
More information about the Mailman-Users
mailing list