Your message dated Fri, 16 Jun 2006 23:23:51 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#371074: mailman: web interface gives internal server error
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: mailman
Version: 2.1.8-1
Severity: grave
Justification: renders package unusable
I installed mailman with apt-get. It installed as a dependancy when
I was installing gforge.
It worked at least well enough to create some lists at some point.
Since then the system has been apt-get upgraded several times.
Now, when I go to any of the mailman links, such as listinfo or the
admin page of a list, I get this in my browser:
====================================
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator,
[EMAIL PROTECTED] and inform them of the time the error
occurred, and anything you might have done that may have caused the
error.
More information about this error may be available in the server error
log.
==================================
Among other background information you should know:
-- I had to "ln -s /usr/lib/cgi-bin/mailman /usr/lib/mailman/cgi-bin/"
before the gforge apache configs would find mailman properly
-- The output of check_perms:
=================================
check_perms -f
/var/lib/mailman/mail bad group (has: root, expected list) (fixing)
/var/lib/mailman/cgi-bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/logs bad group (has: root, expected list) (fixing)
/var/lib/mailman/Mailman bad group (has: root, expected list) (fixing)
/var/lib/mailman/bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/icons bad group (has: root, expected list) (fixing)
/var/lib/mailman/templates bad group (has: root, expected list)
(fixing)
/var/lib/mailman/locks bad group (has: root, expected list) (fixing)
/var/lib/mailman/scripts bad group (has: root, expected list) (fixing)
/var/lib/mailman/cron bad group (has: root, expected list) (fixing)
Warning: Private archive directory is other-executable (o+x).
This could allow other users on your system to read private
archives.
If you're on a shared multiuser system, you should
consult the
installation manual on how to fix this.
Problems found: 10
Re-run as list (or root) with -f flag
=================================
Also, instead of apache running as www-data on this system, it is
running as another user; however, it runs mailman as the user it expects
via the suexec directive, I have this in the apache conf file:
SuexecUserGroup www-data www-data
I see no messages in the logs when the error happens, except for this
in the gforge apache logs:
[Wed Jun 07 02:24:31 2006] [error] [client 70.112.100.20] Premature end
of script headers:
admin, referer:
http://gforge.mydomain.com/mail/admin/index.php?group_id=7
I can't find a core file or anything like that.
I should also mention I removed the mailman package at one point and
installed the current version of mailman from source, but with the same
results (I thought I was installing it wrong at the time). When I
installed from source I set the gid and uid to be what the webserver was
using and didn't do the suexec thing.
--Rob
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages mailman depends on:
ii adduser 3.87 Add and remove users and groups
ii apache2-mpm-prefork [httpd] 2.0.55-4 traditional model for Apache2
ii cron 3.0pl1-94 management of regular background p
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii exim4 4.60-3 metapackage to ease exim MTA (v4)
ii exim4-daemon-heavy [mail-tran 4.60-3 exim MTA (v4) daemon with extended
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii logrotate 3.7.1-3 Log rotation utility
ii pwgen 2.05-1 Automatic Password generation
ii python 2.3.5-5 An interactive high-level object-o
ii ucf 2.009 Update Configuration File: preserv
Versions of packages mailman recommends:
ii base-passwd 3.5.11 Debian base system master password
-- debconf information:
mailman/queue_files_present:
* mailman/default_server_language: en
mailman/update_passwords:
mailman/gate_news: false
mailman/update_aliases:
* mailman/site_languages: en
* mailman/used_languages: en
* mailman/create_site_list:
--- End Message ---
--- Begin Message ---
On Fri, Jun 16, 2006 at 03:08:16PM -0500, Rob Ristroph wrote:
> I'm not in a position to be able to replicate this bug
> anymore, because the server is in use, so you might want to
> mark this bug accordingly --
I'm closing it, under assumption that the suexec thing wasn't working
at all, because of the <= 100 thing. If you can reproduce it, feel
free to reopen it.
> I am really grateful for the responses on this bug report,
> even if (especially if . . .) it was just a weird
> configuration on my part. I am used to sending bug reports
> into a black hole, so it is really nice to have you guys follow
> up with me on it.
Thanks :)
>>> Among other background information you should know:
>>> -- I had to "ln -s /usr/lib/cgi-bin/mailman /usr/lib/mailman/cgi-bin/"
>>> before the gforge apache configs would find mailman properly
> Lionel> That is gforge's bug. Please file a separate bug against
> Lionel> gforge-lists-mailman and tell them (add
> Lionel> [EMAIL PROTECTED] to the CC list for that
> Lionel> bug; reportbug will give you the opportunity to do that).
> OK, I will.
Argh, I forgot to finish my sentence. Here is what I meant to write:
That is gforge's bug. Please file a separate bug against
gforge-lists-mailman and tell them to use /var/lib/mailman/ as
mailman installation prefix, not /usr/lib/mailman/. That's the place
where we put all compatibility symlinks so that all things work. Add
[EMAIL PROTECTED] to the CC list for that
bug; reportbug will give you the opportunity to do that.
> >> Also, instead of apache running as www-data on this system, it is
> >> running as another user;
> Lionel>
> Lionel> What is the uid of this user, and its gid?
>
> 1011 (same for both uid and gid)
Yes, then, if the mailman cgi's were being run at all (if the problem
were not at the suexec level), they would refuse to do anything.
> Lionel> The mailman in Debian, in contrast to the upstream mailman, doesn't
> Lionel> care as what group (and user?) it runs as long as the group is 65534
> Lionel> or strictly less than 100.
--
Lionel
--- End Message ---