Bug#42052: marked as done ([ACCEPTED 2/4/01] /var/mail and /var/spool/mail)
Your message dated Mon, 30 Apr 2001 09:25:19 +0100
with message-id <20010430092519.A23246@polya>
and subject line debian-policy_126.96.36.199_i386.changes INSTALLED
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.)
(administrator, Debian Bugs database)
Received: (at submit) by bugs.debian.org; 28 Jul 1999 06:31:18 +0000
Received: (qmail 8359 invoked from network); 28 Jul 1999 06:31:17 -0000
Received: from ppp-121.mod.cableone.net (HELO icarus2.soark.net) (email@example.com)
by master.debian.org with SMTP; 28 Jul 1999 06:31:17 -0000
Received: from knghtbrd by icarus2.soark.net with local (Exim 3.02 #1 (Debian))
id 119NFB-0006Zf-00; Tue, 27 Jul 1999 23:31:13 -0700
Date: Tue, 27 Jul 1999 23:31:13 -0700
From: Joseph Carter <firstname.lastname@example.org>
Subject: [PROPOSAL] /var/mail and /var/spool/mail
References: <19990725151514.B5137@debian.org> <Pine.LNX.3.96.990727133803.9834Aemail@example.com> <19990727064519.C14812@debian.org> <firstname.lastname@example.org>
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: Mutt 0.95.6i
In-Reply-To: <email@example.com>; from Manoj Srivastava on Tue, Jul 27, 1999 at 02:39:36PM -0500
X-Operating-System: Linux icarus2 2.2.10-ac11
X-No-Junk-Mail: I do not want to get *any* junk mail.
On Tue, Jul 27, 1999 at 02:39:36PM -0500, Manoj Srivastava wrote:
> >> This way, people would be free to move /var/spool/mail/* to /var/mail/*
> >> at their discretion, but this is never done automatically by the system.
> Joseph> That was the point of the suggestion. There was actually a
> Joseph> bug to this effect against policy suggesting we do this, but
> Joseph> I closed it when it seemed FHS was going to lose /var/mail
> Joseph> since there were complaints about it.
> Sounds like a plan. Could you reopen this proposal, then, and
> we can make this a part of policy 3.0.X?
I propose that we create a safe migration path between /var/spool/mail and
The base-files package should implement the following:
* If /var/mail does not exist but /var/spool/mail does (standard
configuration today), a symlink /var/mail -> /var/spool/mail should be
* If /var/mail does exist but /var/spool/mail does not, a symlink
/var/spool/mail -> /var/mail should be created.
* If /var/mail and /var/spool/mail are both directories, Something Is
Really Screwed and the installation should fail, telling the user to
clean up the disaster. => (lost or mangled mail is potentially a
disaster and we should not risk an automated solution..)
To do this I suggest we ammend policy first by replacing all existing
instances of /var/spool/mail with /var/mail and then changing the second
paragraph of section 5.6 which currently reads
The mail spool is /var/spool/mail and the interface to send a mail
message is /usr/sbin/sendmail (as per the FHS). The mail spool is part
of the base system and not part of the MTA package.
to the following:
The mail spool is /var/mail and the interface to send a mail message is
/usr/sbin/sendmail (as per the FHS). The mail spool is part of the
base system and any package requiring use øf /var/mail must declare
dependency on base-files (>= #BASEFILESVER#).
Also, a new section should be inserted after section 3.1.2 containing the
3.1.3 The system mail spool
While the FHS mandates the mail spool be accessable as /var/mail, it is
important to retain compatibility with older packages and locally
compiled programs. Packages using the mail spool should use /var/mail
and declare dependency on base-files (>= #BASEFILESVER#).
There's some redundancy in that, but I think it's warranted I think. If
someone else thinks they can do a better job with the changes to the
policy, feel free to offer. =>
I think it's best to leave the nitty-gritty handling of making sure both
exist and one is a symlink to the other to the base-files maintainer since
that's all under the scope of the base-files post or preinst and doesn't
concern anything else.
Joseph Carter <firstname.lastname@example.org> Debian GNU/Linux developer
GnuPG: 2048g/3F9C2A43 - 20F6 2261 F185 7A3E 79FC 44F9 8FF7 D7A3 DCF9 DAB3
PGP 2.6: 2048R/50BDA0ED - E8 D6 84 81 E3 A8 BB 77 8E E2 29 96 C9 44 5F BE
Software is like sex, it's better when it's free. -- Linus Torvalds
Received: (at 42052-done) by bugs.debian.org; 30 Apr 2001 08:25:37 +0000
>From J.D.Gilbey@qmw.ac.uk Mon Apr 30 03:25:37 2001
Received: from mserv1a.vianw.co.uk [188.8.131.52]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 14u8zx-0003ST-00; Mon, 30 Apr 2001 03:25:37 -0500
Received: from [184.108.40.206] (helo=polya)
by mserv1a.vianw.co.uk with esmtp (Exim 3.22 #5)
id 14u8zt-0006ju-00; Mon, 30 Apr 2001 09:25:34 +0100
Received: from jdg by polya with local (Exim 3.22 #1 (Debian))
id 14u8zh-000635-00; Mon, 30 Apr 2001 09:25:21 +0100
Date: Mon, 30 Apr 2001 09:25:19 +0100
From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
To: email@example.com, firstname.lastname@example.org,
Subject: debian-policy_220.127.116.11_i386.changes INSTALLED
Content-Type: text/plain; charset=us-ascii
Sender: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
Changes: debian-policy (18.104.22.168) unstable; urgency=low
* [ACCEPTED 2/4/01] /var/mail and /var/spool/mail closes: Bug#42052
* [AMENDMENT 26/04/2001] include Perl Policy closes: Bug#83977
* Also incorporates all the improvements that Julian has made to to the
grammar and flow of the policy manual. The following are mostly
* Fixed the confusing self referential language. closes: Bug#85503
* Correct ambiguous kanguage about declaring build dependencies.
* Improved the woding of the footnote about shlibdeps.
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/