Bug#292191: marked as done (upgrade changes ownerhsip of /var/spool/exim4)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 25 Jan 2005 23:03:14 -0800


Your message dated Wed, 26 Jan 2005 07:59:33 +0100
with message-id <20050126065932.GB839@torres.l21.ma.zugschlus.de>
and subject line Bug#292191: upgrade changes ownerhsip of /var/spool/exim4
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Jan 2005 16:30:57 +0000
>From root@plan9.de Tue Jan 25 08:30:57 2005
Return-path: <root@plan9.de>
Received: from rain.plan9.de [193.108.181.162] (schmorp)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CtTaj-0000zd-00; Tue, 25 Jan 2005 08:30:57 -0800
Received: from [10.0.0.5] (helo=mailout.schmorp.de)
	by rain.plan9.de with esmtp (Exim 4.34)
	id 1CtTag-0001qS-Gp
	for submit@bugs.debian.org; Tue, 25 Jan 2005 17:30:54 +0100
Received: from root by mailout.schmorp.de with local (Exim 4.43)
	id 1CtTaf-0005lE-JX; Tue, 25 Jan 2005 17:30:53 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Marc Lehmann <root@plan9.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: upgrade changes ownerhsip of /var/spool/exim4
Date: Tue, 25 Jan 2005 17:30:53 +0100
Message-Id: <E1CtTaf-0005lE-JX@mailout.schmorp.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: exim4
Version: 4.43-4
Severity: critical
Justification: causes serious data loss


I tagged this report as critical because the problem has caused mail to be
lost in the past and would likely result in lost mail in the future.

On every upgrade of the exim4 package, on any of our machines,
/var/spool/exim4 is being chown'ed to Debian-exim4, which causes the spool
files to become inaccessible to exim and causes it not to accept new mail.

The correct user to chown to would be 8:8, as this is what our
exim4-config specifies.

This has been corrected manually a number of times, but it happens
everytime that the exim4 package gets upgraded, and a manual chown is
often forgotten.

-- Package-specific info:
Exim version 4.43 #1 built 18-Jan-2005 13:32:12
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: iconv() IPv6 PAM Perl GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Contains exiscan-acl patch revision 28 (c) Tom Kistner [http://duncanthrax.net/exiscan/]
Configuration file is /etc/exim4/exim4.conf

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages exim4 depends on:
ii  exim4-base                    4.43-4     EXperimental Internal Mailer -- a 
ii  exim4-daemon-heavy            4.43-4     Exim (v4) with extended features, 

-- no debconf information

---------------------------------------
Received: (at 292191-done) by bugs.debian.org; 26 Jan 2005 06:59:37 +0000
>From mh+debian-packages@zugschlus.de Tue Jan 25 22:59:37 2005
Return-path: <mh+debian-packages@zugschlus.de>
Received: from 5301d.unt0.torres.l21.ma.zugschlus.de (torres.int.l21.ma.zugschlus.de) [217.151.83.1] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cth9M-0007cj-00; Tue, 25 Jan 2005 22:59:37 -0800
Received: from mh by torres.int.l21.ma.zugschlus.de with local (Exim 4.44)
	id 1Cth9J-0000Y9-VM; Wed, 26 Jan 2005 07:59:34 +0100
Date: Wed, 26 Jan 2005 07:59:33 +0100
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: Marc Lehmann <root@plan9.de>, 292191-done@bugs.debian.org
Subject: Re: Bug#292191: upgrade changes ownerhsip of /var/spool/exim4
Message-ID: <20050126065932.GB839@torres.l21.ma.zugschlus.de>
References: <E1CtTaf-0005lE-JX@mailout.schmorp.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1CtTaf-0005lE-JX@mailout.schmorp.de>
User-Agent: Mutt/1.3.28i
Delivered-To: 292191-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.5 required=4.0 tests=BAYES_30,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Tue, Jan 25, 2005 at 05:30:53PM +0100, Marc Lehmann wrote:
> On every upgrade of the exim4 package, on any of our machines,
> /var/spool/exim4 is being chown'ed to Debian-exim4, which causes the spool
> files to become inaccessible to exim and causes it not to accept new mail.
> 
> The correct user to chown to would be 8:8, as this is what our
> exim4-config specifies.

Upstream quite explicitly advises that it is not a good idea to
re-configure the user name at run time. The docs say why.

So you're better off with locally rebuilding the package, patched
according to your user name preferences. That way, you can also alter
the postinst to your local needs.

If you insist on breaking the exim package the way you decided, please
break it completely and correctly by setting spool_directory to some
value that does not equal the default /var/spool/exim4.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835