RE: [gentoo-user] mailman stopped working after upgrade

2005-09-23 Thread Daevid Vincent
Here is a related bug: http://bugs.gentoo.org/show_bug.cgi?id=106403

Rob said that This is also in mailman-2.1.5-r4.  MAILGID is set to 280
which is the new user
id for mailman.   MAILGID should be 12.

How do I set the MAILGID from 280 to 12?  I had this same idea last night to
try it. If I change the .ebuild, then I get MD5 verify errors and it won't
compile. 

How come this version used to work? 

Did something else change? 

I've diff'd the ebuilds and they all show 280, or were they different before
and my emerge synch replaced the .ebuilds with updated ones?

 -Original Message-
 From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 15, 2005 1:46 PM
 To: gentoo-user@lists.gentoo.org
 Subject: RE: [gentoo-user] mailman stopped working after upgrade
 
 Okay. Last night I ripped out every 'mailman' directory and 
 file I could
 find. Unmerged mailman. Backed up my lists. And re-emerged 
 mailman. Same f'n
 problem. WTF?!
 
 Sep 15 13:31:17 [Mailman mail-wrapper] Group mismatch error.  Mailman
 expected the mail_wrapper script to be executed as group 
 mailman, but_the
 system's mail server executed the mail script as_group 
 mail.  Try tweaking
 the mail server to run the_script as group mailman, or 
 re-run configure,
 _providing the command line option `--with-mail-gid=mail'._
 
 Sep 15 13:31:17 [exim] 2005-09-15 13:31:17 1EG0O5-0005FA-EW **
 |/usr/local/mailman/mail/mailman post rbc [EMAIL PROTECTED] 
 R=system_aliases
 T=address_pipe: Child process of address_pipe transport 
 returned 2 from
 command: /usr/local/mailman/mail/mailman
 
 
 Upgrading from version 0x to 0x20105f0
 getting rid of old source files
 no lists == nothing to do, exiting
  * Running `/usr/local/mailman/bin/check_perms -f` *
 directory must be at least 02775: /usr/local/mailman/logs (fixing)
 directory permissions must be 02775: /usr/local/mailman/lists (fixing)
 directory permissions must be 02775: /usr/local/mailman/locks (fixing)
 directory permissions must be 02775: /usr/local/mailman/spam (fixing)
 directory permissions must be 02770: 
 /usr/local/mailman/qfiles (fixing)
 ...
 
 daevid portage-logs # /usr/local/mailman/bin/check_perms -f
 No problems found
 
 daevid portage-logs # su mailman
 [EMAIL PROTECTED] /var/tmp/portage-logs $ 
/usr/local/mailman/bin/check_perms -f
 No problems found
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-15 Thread Daevid Vincent
Okay. Last night I ripped out every 'mailman' directory and file I could
find. Unmerged mailman. Backed up my lists. And re-emerged mailman. Same f'n
problem. WTF?!

Sep 15 13:31:17 [Mailman mail-wrapper] Group mismatch error.  Mailman
expected the mail_wrapper script to be executed as group mailman, but_the
system's mail server executed the mail script as_group mail.  Try tweaking
the mail server to run the_script as group mailman, or re-run configure,
_providing the command line option `--with-mail-gid=mail'._

Sep 15 13:31:17 [exim] 2005-09-15 13:31:17 1EG0O5-0005FA-EW **
|/usr/local/mailman/mail/mailman post rbc [EMAIL PROTECTED] R=system_aliases
T=address_pipe: Child process of address_pipe transport returned 2 from
command: /usr/local/mailman/mail/mailman


Upgrading from version 0x to 0x20105f0
getting rid of old source files
no lists == nothing to do, exiting
 * Running `/usr/local/mailman/bin/check_perms -f` *
directory must be at least 02775: /usr/local/mailman/logs (fixing)
directory permissions must be 02775: /usr/local/mailman/lists (fixing)
directory permissions must be 02775: /usr/local/mailman/locks (fixing)
directory permissions must be 02775: /usr/local/mailman/spam (fixing)
directory permissions must be 02770: /usr/local/mailman/qfiles (fixing)
...

daevid portage-logs # /usr/local/mailman/bin/check_perms -f
No problems found

daevid portage-logs # su mailman
[EMAIL PROTECTED] /var/tmp/portage-logs $ /usr/local/mailman/bin/check_perms -f
No problems found

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-15 Thread Michael Sullivan
On Thu, 2005-09-15 at 13:46 -0700, Daevid Vincent wrote:
 Okay. Last night I ripped out every 'mailman' directory and file I could
 find. Unmerged mailman. Backed up my lists. And re-emerged mailman. Same f'n
 problem. WTF?!
 
 Sep 15 13:31:17 [Mailman mail-wrapper] Group mismatch error.  Mailman
 expected the mail_wrapper script to be executed as group mailman, but_the
 system's mail server executed the mail script as_group mail.  Try tweaking
 the mail server to run the_script as group mailman, or re-run configure,
 _providing the command line option `--with-mail-gid=mail'._
 
 Sep 15 13:31:17 [exim] 2005-09-15 13:31:17 1EG0O5-0005FA-EW **
 |/usr/local/mailman/mail/mailman post rbc [EMAIL PROTECTED] R=system_aliases
 T=address_pipe: Child process of address_pipe transport returned 2 from
 command: /usr/local/mailman/mail/mailman
 
 
 Upgrading from version 0x to 0x20105f0
 getting rid of old source files
 no lists == nothing to do, exiting
  * Running `/usr/local/mailman/bin/check_perms -f` *
 directory must be at least 02775: /usr/local/mailman/logs (fixing)
 directory permissions must be 02775: /usr/local/mailman/lists (fixing)
 directory permissions must be 02775: /usr/local/mailman/locks (fixing)
 directory permissions must be 02775: /usr/local/mailman/spam (fixing)
 directory permissions must be 02770: /usr/local/mailman/qfiles (fixing)
 ...
 
 daevid portage-logs # /usr/local/mailman/bin/check_perms -f
 No problems found
 
 daevid portage-logs # su mailman
 [EMAIL PROTECTED] /var/tmp/portage-logs $ /usr/local/mailman/bin/check_perms 
 -f
 No problems found
 

I'm not sure if I understand your problem correctly - I haven't been
following this particular thread (sorry!), but it sounds like you're
having a similar problem to one I had awhile ago.  Here is the response
I got that fixed it:

Michael,
I've had the same problem before.  In order for Mailman to work 
properly, it has to know the gid of the mail program at compile time.  
In this case it was told the mail program's gid was that of group 
mailman, but when the script was executed it was with the gid of
group 
deamon.  The easiest way I've found (and possibly the only?) to fix
it 
is to use vigr to get the gid of the daemon group, then edit the
mailman 
ebuild file.  Right near the top of the file is an option for setting 
the mail-gid.  Change that number to the one you found from vigr, then 
re-emerge mailman.  Keep in mind that you'll have to repeat this 
procedure every time you upgrade mailman because the new ebuild won't 
have your changes in it.
Bryan


   - Transcript of session follows -
Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group mailman, but
the system's mail server executed the mail script as
group daemon.  Try tweaking the mail server to run the
script as group mailman, or re-run configure, 
providing the command line option `--with-mail-gid=daemon'.
554 5.3.0 unknown mailer error 2

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-14 Thread Nick Rout
On Tue, 2005-09-13 at 18:54 -0700, Daevid Vincent wrote:
 Why did portage re-install the same version of mailman (r4) over and
 over? 
 
 daevid init.d # genlop -l | grep mailman


pass, next question...

However you can investigate further by seeing what else was being
emerged at the same time, and seeing if there is some trigger. something
like:

genlop -l | grep mailman -A5   (gives the 5 preceding lines as well)

genlop -r will also give your rsync times.
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mailman stopped working after upgrade

2005-09-14 Thread Neil Bothwick
On Wed, 14 Sep 2005 10:56:32 +0100, Neil Bothwick wrote:

 On Wed, 14 Sep 2005 21:23:15 +1200, Nick Rout wrote:
 
  genlop -l | grep mailman -A5   (gives the 5 preceding lines as well)
 
 Don't you mean -A5? -A gives the following lines. -C may be better,
 which gives both. 

Of course I meant -B5, as you probably did. Has someone been messing
with our keyaobrds? :) 


-- 
Neil Bothwick

To whom the gods destroy, they first teach Windows...


pgpvE1UrAsgfg.pgp
Description: PGP signature


RE: [gentoo-user] mailman stopped working after upgrade

2005-09-14 Thread Daevid Vincent
I don't do any automated emerges (that seems extremely dangerous to me). I
only emerge sync via crontab every night. Then I manually do an 'emerge
-Davu system' (and world) to see what needs updating. I'll pick and choose
from there.

I did change my USE=nptl nptlonly -cups -debug acpi wifi mysql php apache2
mmx sse and added those 'nptl' and 'nptlonly' and followed a gentoo howto
(which involved an 'emerge --newuse'). I don't think that threading is the
issue here though as it's a uid/gid wrapper permission problem.

Well, here is everything emerged on the 7th (the 5th and 6th had no
results). The 5th is the last email I have saved from the list, so that is
why I chose these dates to focus on.

Nothing else in this list looks related to mailman.

 Wed Sep  7 01:12:49 2005  sys-libs/glibc-2.3.5-r1
 Wed Sep  7 01:13:31 2005  app-admin/eselect-opengl-1.0.2
 Wed Sep  7 10:05:32 2005  dev-libs/atk-1.10.3
 Wed Sep  7 10:21:55 2005  dev-libs/libxml2-2.6.21
 Wed Sep  7 11:26:01 2005  dev-db/mysql-4.0.25-r2
 Wed Sep  7 11:30:21 2005  dev-libs/libxslt-1.1.15
--  Wed Sep  7 11:34:36 2005  net-mail/mailman-2.1.5-r4
 Wed Sep  7 11:37:40 2005  sys-power/apcupsd-3.10.18-r1
 Wed Sep  7 11:43:25 2005  app-crypt/gnupg-1.4.2-r2
 Wed Sep  7 12:01:09 2005  media-libs/gstreamer-0.8.11
 Wed Sep  7 12:27:59 2005  media-libs/gst-plugins-0.8.11
 Wed Sep  7 12:37:56 2005  media-plugins/gst-plugins-alsa-0.8.11
 Wed Sep  7 12:47:29 2005  media-plugins/gst-plugins-oss-0.8.11
 Wed Sep  7 12:56:59 2005  media-plugins/gst-plugins-esd-0.8.11
 Wed Sep  7 13:02:56 2005  x11-libs/fltk-1.1.4
 Wed Sep  7 13:12:36 2005  media-plugins/gst-plugins-vorbis-0.8.11
 Wed Sep  7 13:22:30 2005  media-plugins/gst-plugins-ogg-0.8.11
 Wed Sep  7 13:32:14 2005  media-plugins/gst-plugins-gnomevfs-0.8.11
 Wed Sep  7 13:41:48 2005  media-plugins/gst-plugins-mad-0.8.11
 Wed Sep  7 13:49:58 2005  media-sound/xmms-1.2.10-r15
 Wed Sep  7 13:55:23 2005  media-plugins/xmms-mpg123-1.2.10-r1
 Wed Sep  7 13:58:16 2005  media-libs/libmikmod-3.1.11-r1
 Wed Sep  7 13:59:49 2005  media-libs/libao-0.8.5
 Wed Sep  7 14:27:36 2005  sci-libs/fftw-3.0.1-r2
 Wed Sep  7 16:24:12 2005  kde-base/kdeedu-3.4.2-r2
 Wed Sep  7 16:34:04 2005  media-plugins/gst-plugins-xvideo-0.8.11
 Wed Sep  7 16:43:28 2005  media-plugins/gst-plugins-mpeg2dec-0.8.11
 Wed Sep  7 16:52:53 2005  media-plugins/gst-plugins-pango-0.8.11
 Wed Sep  7 17:02:21 2005 
media-plugins/gst-plugins-cdparanoia-0.8.11
 Wed Sep  7 17:04:22 2005  app-text/gtkspell-2.0.4-r1
 Wed Sep  7 17:09:51 2005  dev-python/gnome-python-extras-2.10.2
 Wed Sep  7 17:10:44 2005  dev-util/meld-1.0.0
 Wed Sep  7 17:14:19 2005  dev-lang/swig-1.3.21
 Wed Sep  7 17:22:57 2005  media-sound/beep-media-player-0.9.7-r6
 Wed Sep  7 17:24:10 2005  net-analyzer/iptraf-2.7.0-r1
 Wed Sep  7 22:33:42 2005  sys-power/apcupsd-3.10.18-r1

In any event. If I emerge unmerge mailman, and then emerge mailman will
it do a complete re-install WITHOUT killing my actual lists (setups, users,
data, etc)?

This is so frustrating. I don't understand why this is broken when mailman
AND exim are both the same versions that were already installed and already
worked fine. *sigh*

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-13 Thread Daevid Vincent
Hmm. Another insteresting thing:

Why did portage re-install the same version of mailman (r4) over and over? 

daevid init.d # genlop -l | grep mailman
 Thu Nov 11 10:26:07 2004  net-mail/mailman-2.1.5-r2
 Sun Nov 14 18:12:48 2004  net-mail/mailman-2.1.5-r2
 Mon Jan 17 14:36:05 2005  net-mail/mailman-2.1.5-r3
 Fri Feb 11 16:58:33 2005  net-mail/mailman-2.1.5-r4
 Sun Feb 13 17:57:01 2005  net-mail/mailman-2.1.5-r4
 Wed Sep  7 11:34:36 2005  net-mail/mailman-2.1.5-r4
 Mon Sep 12 15:48:09 2005  net-mail/mailman-2.1.5-r4
daevid init.d # genlop -l | grep exim   
 Sat Nov 13 16:09:25 2004  mail-mta/exim-4.42
 Thu Jan 13 12:19:16 2005  mail-mta/exim-4.43-r2
 Mon Jun 13 13:21:37 2005  mail-mta/exim-4.50-r1
 Mon Jun 13 16:41:18 2005  mail-mta/exim-4.43-r2
 Tue Jun 14 12:34:58 2005  mail-mta/exim-4.43-r2
 Sun Jun 26 12:18:26 2005  mail-mta/exim-4.50-r1
 Thu Jul  7 00:57:45 2005  mail-mta/exim-4.50-r1

So if I read this correctly, mailman-2.1.5-r4 has been installed and
re-installed several times. But around Sept 7th is when it stopped working.
I have mail from the list on 9/5 for sure. I'm fairly certain that exim is
not to blame here, as that hasn't changed in over two months. 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mailman stopped working after upgrade

2005-09-13 Thread Dave Nebinger

Why did portage re-install the same version of mailman (r4) over and over?

daevid init.d # genlop -l | grep mailman
Thu Nov 11 10:26:07 2004  net-mail/mailman-2.1.5-r2
Sun Nov 14 18:12:48 2004  net-mail/mailman-2.1.5-r2
Mon Jan 17 14:36:05 2005  net-mail/mailman-2.1.5-r3
Fri Feb 11 16:58:33 2005  net-mail/mailman-2.1.5-r4
Sun Feb 13 17:57:01 2005  net-mail/mailman-2.1.5-r4
Wed Sep  7 11:34:36 2005  net-mail/mailman-2.1.5-r4
Mon Sep 12 15:48:09 2005  net-mail/mailman-2.1.5-r4

So if I read this correctly, mailman-2.1.5-r4 has been installed and
re-installed several times. But around Sept 7th is when it stopped 
working.

I have mail from the list on 9/5 for sure. I'm fairly certain that exim is
not to blame here, as that hasn't changed in over two months.


Didn't you say in one of the original posts that you had tried to re-install 
mailman?  That would explain the sept 12 entry.


As far as the Feb 13th entry, would you remember if you had reinstalled on 
the 13th, whether purposely or as a result of an --emptytree, or perhaps 
resumed a previous build failure, or some sort of revdep-rebuild that 
decided, on the 13th, that exim needed to be rebuilt?


The dates are somewhat conspicuous, in that they do not occur off hours (as 
a result of some sort of automated emerge --update process via cron).  The 
would seem to indicate that you had manually done something to trigger the 
re-install


--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-12 Thread Daevid Vincent
Someone on the 'mailman' list pointed me at, but that didn't seem to be very
helpful:
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp

I don't know why this would have broken/changed. I've been running mailman,
so this was really just an upgrade. Same user/groups, lists, dirs, etc.

The only 'USE' flag I have availabe to me is +apache2
[ebuild   R   ] net-mail/mailman-2.1.5-r4  +apache2 5,611 kB 

Furthermore, it appears that the .ebuild has those --with flags mentioned in
the FAQ.

# more /usr/portage/net-mail/mailman/mailman-2.1.5-r4.ebuild
...
src_compile() {
econf \
--prefix=${INSTALLDIR} \
--with-mail-gid=${MAILGID} \
--with-cgi-gid=${APACHEGID} \
|| die configure failed

make || die make failed
}
... 

 -Original Message-
 From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 12, 2005 12:35 PM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] mailman stopped working after upgrade
 
 Mailman was working, then a (Gentoo) 'emerge -Davu system' 
 update happened
 the other day and looks like it broke mailman.
 
 daevid portage-logs # ll *mailman*
 -rw-r--r--  1 root root 62662 Sep  7 11:34 3485-mailman-2.1.5-r4.log
 -rw-r--r--  1 root root  1105 Sep  7 11:34 3486-mailman-2.1.5-r4.log
 
 Sep 12 12:16:19 [Mailman mail-wrapper] Group mismatch error.  Mailman
 expected the mail_wrapper script to be executed as group 
 mailman, but_the
 system's mail server executed the mail script as_group 
 mail.  Try tweaking
 the mail server to run the_script as group mailman, or 
 re-run configure,
 _providing the command line option `--with-mail-gid=mail'._
 Sep 12 12:16:19 [exim] 2005-09-12 12:16:19 1EEtms-00021M-60 **
 |/usr/local/mailman/mail/mailman post rbc [EMAIL PROTECTED] 
 R=system_aliases
 T=address_pipe: Child process of address_pipe transport 
 returned 2 from
 command: /usr/local/mailman/mail/mailman
 
 daevid bin # locate mail_wrapper
 daevid bin # locate as_group
 
 daevid portage-logs # ll /usr/local/mailman/mail/mailman
 -rwxr-sr-x  1 mailman mailman 7768 Sep  7 11:34
 /usr/local/mailman/mail/mailman
 
 daevid bin # ll
 total 372
 drwxrwsr-x   2 mailman mailman  4096 Sep  7 11:34 .
 drwxrwsr-x  20 mailman mailman  4096 Apr  4 13:52 ..
 -rwxr-xr-x   1 mailman mailman  7612 Sep  7 11:34 add_members
 -rwxr-xr-x   1 mailman mailman  5406 Sep  7 11:34 arch
 -rw-r--r--   1 mailman mailman  3748 Sep  7 11:34 auto
 -rwxr-xr-x   1 mailman mailman  2559 Sep  7 11:34 b4b5-archfix
 -rwxr-xr-x   1 mailman mailman  6130 Sep  7 11:34 change_pw
 -rwxr-xr-x   1 mailman mailman  4264 Sep  7 11:34 check_db
 -rwxr-xr-x   1 mailman mailman 12223 Sep  7 11:34 check_perms
 -rwxr-xr-x   1 mailman mailman  6632 Sep  7 11:34 
 check_perms_grsecurity.py
 -rwxr-xr-x   1 mailman mailman  5492 Sep  7 11:34 cleanarch
 -rwxr-xr-x   1 mailman mailman  6409 Sep  7 11:34 clone_member
 -rwxr-xr-x   1 mailman mailman 12326 Sep  7 11:34 config_list
 -rwxr-xr-x   1 mailman mailman  1499 Sep  7 11:34 convert.py
 -rwxr-xr-x   1 mailman mailman  3238 Sep  7 11:34 discard
 -rwxr-xr-x   1 mailman mailman  4399 Sep  7 11:34 dumpdb
 -rwxr-xr-x   1 mailman mailman  4951 Sep  7 11:34 find_member
 -rwxr-xr-x   1 mailman mailman  2633 Sep  7 11:34 fix_url.py
 -rw-r--r--   1 mailman mailman  2497 Apr  4 13:52 fix_url.pyc
 -rwxr-xr-x   1 mailman mailman  3097 Sep  7 11:34 genaliases
 -rwxr-xr-x   1 mailman mailman  2815 Sep  7 11:34 inject
 -rwxr-xr-x   1 mailman mailman  2561 Sep  7 11:34 list_admins
 -rwxr-xr-x   1 mailman mailman  3329 Sep  7 11:34 list_lists
 -rwxr-xr-x   1 mailman mailman  8316 Sep  7 11:34 list_members
 -rwxr-xr-x   1 mailman mailman  3165 Sep  7 11:34 list_owners
 -rwxr-xr-x   1 mailman mailman 21124 Sep  7 11:34 mailmanctl
 -rw-r--r--   1 mailman mailman 18995 Sep  7 11:34 majordomo2mailman.pl
 -rw-r--r--   1 mailman mailman  5951 Sep  7 11:34 mm-handler
 -rw-r--r--   1 mailman mailman  7048 Sep  7 11:34 mm-handler.readme
 -rwxr-xr-x   1 mailman mailman  2989 Sep  7 11:34 mmsitepass
 -rwxr-xr-x   1 mailman mailman  5530 Sep  7 11:34 msgfmt.py
 -rwxr-xr-x   1 mailman mailman  7127 Sep  7 11:34 newlist
 -rw-r--r--   1 mailman mailman  2412 Sep  7 11:34 paths.py
 -rw-r--r--   1 rootmailman   652 Sep  7 11:34 paths.pyc
 -rwxr-xr-x   1 mailman mailman  4076 Sep  7 11:34 qmail-to-mailman.py
 -rwxr-xr-x   1 mailman mailman  9196 Sep  7 11:34 qrunner
 -rwxr-xr-x   1 mailman mailman  2957 Sep  7 11:34 rb-archfix
 -rwxr-xr-x   1 mailman mailman  4699 Sep  7 11:34 remove_members
 -rwxr-xr-x   1 mailman mailman  4256 Sep  7 11:34 rmlist
 -rwxr-xr-x   1 mailman mailman  3463 Sep  7 11:34 rotatelogs.py
 -rwxr-xr-x   1 mailman mailman  1346 Sep  7 11:34 show_qfiles
 -rwxr-xr-x   1 mailman mailman  9664 Sep  7 11:34 sync_members
 -rwxr-xr-x   1 mailman mailman 11999 Sep  7 11:34 transcheck
 -rwxr-xr-x   1 mailman mailman  2286 Sep  7 11:34 unshunt
 -rwxr-xr-x   1 mailman mailman 29648 Sep  7 11:34 update

RE: [gentoo-user] mailman stopped working after upgrade

2005-09-12 Thread Daevid Vincent
Well, since I've gotten no replies here, I figured I'd file a report:
http://bugs.gentoo.org/show_bug.cgi?id=105744 

 -Original Message-
 From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 12, 2005 1:53 PM
 To: gentoo-user@lists.gentoo.org
 Subject: RE: [gentoo-user] mailman stopped working after upgrade
 
 Someone on the 'mailman' list pointed me at, but that didn't 
 seem to be very
 helpful:
 http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp
 
 I don't know why this would have broken/changed. I've been 
 running mailman,
 so this was really just an upgrade. Same user/groups, lists, 
 dirs, etc.
 
 The only 'USE' flag I have availabe to me is +apache2
 [ebuild   R   ] net-mail/mailman-2.1.5-r4  +apache2 5,611 kB 
 
 Furthermore, it appears that the .ebuild has those --with 
 flags mentioned in
 the FAQ.
 
 # more /usr/portage/net-mail/mailman/mailman-2.1.5-r4.ebuild
 ...
 src_compile() {
 econf \
 --prefix=${INSTALLDIR} \
 --with-mail-gid=${MAILGID} \
 --with-cgi-gid=${APACHEGID} \
 || die configure failed
 
 make || die make failed
 }
 ... 
 
  -Original Message-
  From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
  Sent: Monday, September 12, 2005 12:35 PM
  To: gentoo-user@lists.gentoo.org
  Subject: [gentoo-user] mailman stopped working after upgrade
  
  Mailman was working, then a (Gentoo) 'emerge -Davu system' 
  update happened
  the other day and looks like it broke mailman.
  
  daevid portage-logs # ll *mailman*
  -rw-r--r--  1 root root 62662 Sep  7 11:34 3485-mailman-2.1.5-r4.log
  -rw-r--r--  1 root root  1105 Sep  7 11:34 3486-mailman-2.1.5-r4.log
  
  Sep 12 12:16:19 [Mailman mail-wrapper] Group mismatch 
 error.  Mailman
  expected the mail_wrapper script to be executed as group 
  mailman, but_the
  system's mail server executed the mail script as_group 
  mail.  Try tweaking
  the mail server to run the_script as group mailman, or 
  re-run configure,
  _providing the command line option `--with-mail-gid=mail'._
  Sep 12 12:16:19 [exim] 2005-09-12 12:16:19 1EEtms-00021M-60 **
  |/usr/local/mailman/mail/mailman post rbc [EMAIL PROTECTED] 
  R=system_aliases
  T=address_pipe: Child process of address_pipe transport 
  returned 2 from
  command: /usr/local/mailman/mail/mailman
  
  daevid bin # locate mail_wrapper
  daevid bin # locate as_group
  
  daevid portage-logs # ll /usr/local/mailman/mail/mailman
  -rwxr-sr-x  1 mailman mailman 7768 Sep  7 11:34
  /usr/local/mailman/mail/mailman
  
  daevid bin # ll
  total 372
  drwxrwsr-x   2 mailman mailman  4096 Sep  7 11:34 .
  drwxrwsr-x  20 mailman mailman  4096 Apr  4 13:52 ..
  -rwxr-xr-x   1 mailman mailman  7612 Sep  7 11:34 add_members
  -rwxr-xr-x   1 mailman mailman  5406 Sep  7 11:34 arch
  -rw-r--r--   1 mailman mailman  3748 Sep  7 11:34 auto
  -rwxr-xr-x   1 mailman mailman  2559 Sep  7 11:34 b4b5-archfix
  -rwxr-xr-x   1 mailman mailman  6130 Sep  7 11:34 change_pw
  -rwxr-xr-x   1 mailman mailman  4264 Sep  7 11:34 check_db
  -rwxr-xr-x   1 mailman mailman 12223 Sep  7 11:34 check_perms
  -rwxr-xr-x   1 mailman mailman  6632 Sep  7 11:34 
  check_perms_grsecurity.py
  -rwxr-xr-x   1 mailman mailman  5492 Sep  7 11:34 cleanarch
  -rwxr-xr-x   1 mailman mailman  6409 Sep  7 11:34 clone_member
  -rwxr-xr-x   1 mailman mailman 12326 Sep  7 11:34 config_list
  -rwxr-xr-x   1 mailman mailman  1499 Sep  7 11:34 convert.py
  -rwxr-xr-x   1 mailman mailman  3238 Sep  7 11:34 discard
  -rwxr-xr-x   1 mailman mailman  4399 Sep  7 11:34 dumpdb
  -rwxr-xr-x   1 mailman mailman  4951 Sep  7 11:34 find_member
  -rwxr-xr-x   1 mailman mailman  2633 Sep  7 11:34 fix_url.py
  -rw-r--r--   1 mailman mailman  2497 Apr  4 13:52 fix_url.pyc
  -rwxr-xr-x   1 mailman mailman  3097 Sep  7 11:34 genaliases
  -rwxr-xr-x   1 mailman mailman  2815 Sep  7 11:34 inject
  -rwxr-xr-x   1 mailman mailman  2561 Sep  7 11:34 list_admins
  -rwxr-xr-x   1 mailman mailman  3329 Sep  7 11:34 list_lists
  -rwxr-xr-x   1 mailman mailman  8316 Sep  7 11:34 list_members
  -rwxr-xr-x   1 mailman mailman  3165 Sep  7 11:34 list_owners
  -rwxr-xr-x   1 mailman mailman 21124 Sep  7 11:34 mailmanctl
  -rw-r--r--   1 mailman mailman 18995 Sep  7 11:34 
 majordomo2mailman.pl
  -rw-r--r--   1 mailman mailman  5951 Sep  7 11:34 mm-handler
  -rw-r--r--   1 mailman mailman  7048 Sep  7 11:34 mm-handler.readme
  -rwxr-xr-x   1 mailman mailman  2989 Sep  7 11:34 mmsitepass
  -rwxr-xr-x   1 mailman mailman  5530 Sep  7 11:34 msgfmt.py
  -rwxr-xr-x   1 mailman mailman  7127 Sep  7 11:34 newlist
  -rw-r--r--   1 mailman mailman  2412 Sep  7 11:34 paths.py
  -rw-r--r--   1 rootmailman   652 Sep  7 11:34 paths.pyc
  -rwxr-xr-x   1 mailman mailman  4076 Sep  7 11:34 
 qmail-to-mailman.py
  -rwxr-xr-x   1 mailman mailman  9196 Sep  7 11:34 qrunner
  -rwxr-xr-x   1 mailman mailman  2957 Sep  7 11:34 rb-archfix
  -rwxr-xr-x   1 mailman mailman  4699

Re: [gentoo-user] mailman stopped working after upgrade

2005-09-12 Thread Nick Rout

On Mon, 12 Sep 2005 16:34:26 -0700
Daevid Vincent wrote:

 Well, since I've gotten no replies here, I figured I'd file a report:
 http://bugs.gentoo.org/show_bug.cgi?id=105744 
 
  -Original Message-
  From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
  Sent: Monday, September 12, 2005 1:53 PM
  To: gentoo-user@lists.gentoo.org
  Subject: RE: [gentoo-user] mailman stopped working after upgrade

   -Original Message-
   From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
   Sent: Monday, September 12, 2005 12:35 PM
   To: gentoo-user@lists.gentoo.org
   Subject: [gentoo-user] mailman stopped working after upgrade
   
   Mailman was working, then a (Gentoo) 'emerge -Davu system' 
   update happened
   the other day and looks like it broke mailman.
   
   daevid portage-logs # ll *mailman*
   -rw-r--r--  1 root root 62662 Sep  7 11:34 3485-mailman-2.1.5-r4.log
   -rw-r--r--  1 root root  1105 Sep  7 11:34 3486-mailman-2.1.5-r4.log

Odd that you took this long to upgrade mailman as mine was upgraded to 2.1.5-r4 
in February ?



   
   Sep 12 12:16:19 [Mailman mail-wrapper] Group mismatch 
  error.  Mailman
   expected the mail_wrapper script to be executed as group 
   mailman, but_the
   system's mail server executed the mail script as_group 
   mail.  Try tweaking
   the mail server to run the_script as group mailman, or 
   re-run configure,
   _providing the command line option `--with-mail-gid=mail'._

what MTA are you running? What is the result of running:

id mail
id mailman
ls -l /usr/local/mailman/mail/mailman



-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-12 Thread Daevid Vincent
Thank you for taking the time to reply Nick. 

 Odd that you took this long to upgrade mailman as mine was 
 upgraded to 2.1.5-r4 in February ?

I run a fairly stable x86 server and try not to 'fix' what ain't broke. I
dunno. I usually run 'emerge -Davu system' and 'world' every couple of days
and see if anything stands out. I also try not to update things right a way
so as to let the -rN versions stabalize. There is almost always a -r1 right
away ;-)

There was a GLSA 3 months back on June 9th.
http://www.gentoo.org/security/en/glsa/glsa-200406-04.xml

 what MTA are you running? 

[ebuild   R   ] mail-mta/exim-4.50-r1  +X -dnsdb -exiscan -exiscan-acl +ipv6
-ldap -lmtp -mailwrapper -mbox +mysql -nis +pam +perl -postgres -sasl +ssl
-syslog +tcpd 1,401 kB 

But I don't believe that's changed since:

daevid portage-logs # ll *exim*
-rw-r--r--  1 root root 23369 Jul  7 00:57 3190-exim-4.50-r1.log
-rw-r--r--  1 root root   242 Jul  7 00:57 3191-exim-4.50-r1.log

 What is the result of running?

 id mail
uid=8(mail) gid=12(mail) groups=12(mail),408(shadow)

 id mailman
uid=280(mailman) gid=280(mailman) groups=280(mailman),16(cron)

 ls -l /usr/local/mailman/mail/mailman
-rwxr-sr-x  1 mailman mailman 7768 Sep 12 15:47
/usr/local/mailman/mail/mailman

I tried to emerge mailman again today just incase that helped. Same results.

daevid portage-logs # ll *mailman*
-rw-r--r--  1 root root 62662 Sep  7 11:34 3485-mailman-2.1.5-r4.log
-rw-r--r--  1 root root  1105 Sep  7 11:34 3486-mailman-2.1.5-r4.log
-rw-r--r--  1 root root 62663 Sep 12 15:47 3528-mailman-2.1.5-r4.log
-rw-r--r--  1 root root  1105 Sep 12 15:48 3529-mailman-2.1.5-r4.log

From the .log file:

checking for --with-permcheck... yes
checking for --with-username... mailman
checking for user name mailman... okay
checking for --with-groupname... mailman
checking for group name mailman... okay
checking permissions on /usr/local/mailman... okay
checking for mail wrapper group; i.e. --with-mail-gid... mailman
checking for CGI wrapper group; i.e. --with-cgi-gid... apache


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-12 Thread Daevid Vincent
BTW, someone on the mailman list said, Yes, it has the flags, but what is
the value of the ${MAILGID} parameter?  The error message you received says
it's 'mailman' and
should be 'mail'. 

And looking at the log, he seems to be correct:
Sep 12 12:16:19 [Mailman mail-wrapper] Group mismatch error.  Mailman
expected the mail_wrapper script to be executed as group mailman, but_the
system's mail server executed the mail script as_group mail.  Try tweaking
the mail server to run the_script as group mailman, or re-run configure,
_providing the command line option `--with-mail-gid=mail'._

But the .ebuild script sets it to gid 280, shouldn't it be 8? why is that?
Is that the problem? How can I fix that. Re-emerging doesn't let me change
those .ebuild values. MD5 errors and such.

APACHEGID=81
MAILGID=280

src_compile() {
econf \
--prefix=${INSTALLDIR} \
--with-mail-gid=${MAILGID} \
--with-cgi-gid=${APACHEGID} \
|| die configure failed

make || die make failed
}  

# ll /etc/exim/exim.conf
-rw-r--r--  1 root root 29452 Apr 29 13:54 /etc/exim/exim.conf

  # User and group for Mailman, should match your --with-mail-gid
  # switch to Mailman's configure script.
  # Value is normally mailman
  MM_UID=mailman
  MM_GID=mailman

So, these match what the comment says there, and what the .ebuild is doing.

I'm so confused. *sigh*

 -Original Message-
 From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 12, 2005 6:22 PM
 To: gentoo-user@lists.gentoo.org
 Subject: RE: [gentoo-user] mailman stopped working after upgrade
 
 Thank you for taking the time to reply Nick. 
 
  Odd that you took this long to upgrade mailman as mine was 
  upgraded to 2.1.5-r4 in February ?
 
 I run a fairly stable x86 server and try not to 'fix' what 
 ain't broke. I
 dunno. I usually run 'emerge -Davu system' and 'world' every 
 couple of days
 and see if anything stands out. I also try not to update 
 things right a way
 so as to let the -rN versions stabalize. There is almost 
 always a -r1 right
 away ;-)
 
 There was a GLSA 3 months back on June 9th.
 http://www.gentoo.org/security/en/glsa/glsa-200406-04.xml
 
  what MTA are you running? 
 
 [ebuild   R   ] mail-mta/exim-4.50-r1  +X -dnsdb -exiscan 
 -exiscan-acl +ipv6
 -ldap -lmtp -mailwrapper -mbox +mysql -nis +pam +perl 
 -postgres -sasl +ssl
 -syslog +tcpd 1,401 kB 
 
 But I don't believe that's changed since:
 
 daevid portage-logs # ll *exim*
 -rw-r--r--  1 root root 23369 Jul  7 00:57 3190-exim-4.50-r1.log
 -rw-r--r--  1 root root   242 Jul  7 00:57 3191-exim-4.50-r1.log
 
  What is the result of running?
 
  id mail
 uid=8(mail) gid=12(mail) groups=12(mail),408(shadow)
 
  id mailman
 uid=280(mailman) gid=280(mailman) groups=280(mailman),16(cron)
 
  ls -l /usr/local/mailman/mail/mailman
 -rwxr-sr-x  1 mailman mailman 7768 Sep 12 15:47
 /usr/local/mailman/mail/mailman
 
 I tried to emerge mailman again today just incase that 
 helped. Same results.
 
 daevid portage-logs # ll *mailman*
 -rw-r--r--  1 root root 62662 Sep  7 11:34 3485-mailman-2.1.5-r4.log
 -rw-r--r--  1 root root  1105 Sep  7 11:34 3486-mailman-2.1.5-r4.log
 -rw-r--r--  1 root root 62663 Sep 12 15:47 3528-mailman-2.1.5-r4.log
 -rw-r--r--  1 root root  1105 Sep 12 15:48 3529-mailman-2.1.5-r4.log
 
 From the .log file:
 
 checking for --with-permcheck... yes
 checking for --with-username... mailman
 checking for user name mailman... okay
 checking for --with-groupname... mailman
 checking for group name mailman... okay
 checking permissions on /usr/local/mailman... okay
 checking for mail wrapper group; i.e. --with-mail-gid... mailman
 checking for CGI wrapper group; i.e. --with-cgi-gid... apache
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mailman stopped working after upgrade

2005-09-12 Thread Nick Rout

On Mon, 12 Sep 2005 18:52:35 -0700
Daevid Vincent wrote:

 BTW, someone on the mailman list said, Yes, it has the flags, but what is
 the value of the ${MAILGID} parameter?  The error message you received says
 it's 'mailman' and
 should be 'mail'. 
 

My system runs postfix, not exim, but mailman is owned and run as
mailman:mailman or 280:280




 And looking at the log, he seems to be correct:
 Sep 12 12:16:19 [Mailman mail-wrapper] Group mismatch error.  Mailman
 expected the mail_wrapper script to be executed as group mailman, but_the
 system's mail server executed the mail script as_group mail.  Try tweaking
 the mail server to run the_script as group mailman, or re-run configure,
 _providing the command line option `--with-mail-gid=mail'._
 
 But the .ebuild script sets it to gid 280, shouldn't it be 8? why is that?
 Is that the problem? How can I fix that. Re-emerging doesn't let me change
 those .ebuild values. MD5 errors and such.

I am not sure how mailman comes to be run as user:group  mailman:mailman on my 
system, but it does!

postfix runs as user postfix, not sure where user mail comes into it at
all.

I suspect you need to tweak something in order to encourage exim to pass off to 
the mailman program as user mailman

Ahhh hold on the penny drops:

-rwxr-sr-x  1 mailman mailman 7880 Feb 16  2005 /usr/local/mailman/mail/mailman

The s in group permissions is set gid or something isn't it? Which means it 
gets run as group mailman even though someone else is starting it?

Then again yours has the same permissions - back to square one.
-- 
gentoo-user@gentoo.org mailing list