This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Linux specific paths.h: /var/spool/mail->/var/mail
- To: libc-hacker@cygnus.com
- Subject: Linux specific paths.h: /var/spool/mail->/var/mail
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: Wed, 12 Aug 1998 17:09:45 +0200 (CEST)
Hi,
we've had a short discussion three months ago about changing
_PATH_MAILDIR from /var/spool/mail to /var/mail which is in accordance
with FHS version 2.0. I exchanged some emails with Daniel Quinlan
(FHS maintainer) and he concluded:
"It should be changed to /var/mail. FHS 2.1 will continue to specify
/var/mail.
In addition, FHS 2.1 may require a compatibility symbolic link
/var/spool/mail -> /var/mail. The symbolic link is only for backward
compatibility and will not to used by FHS compliant software. Also,
that symbolic link will be slated for removal in late 1999 or early
2000."
Therefore I propose the appended change for glibc 2.1.
I don't think that this patch causes much problems since most MUAs and
MTAs don't look at <paths.h> but check/ask themselves for the location
of the mail path.
Andreas
1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
/var/mail in accordance with FHS 2.0.
Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
--- sysdeps/unix/sysv/linux/paths.h.~1~ Tue Jul 21 16:51:47 1998
+++ sysdeps/unix/sysv/linux/paths.h Wed Aug 12 17:02:21 1998
@@ -51,7 +51,7 @@
#define _PATH_KLOG "/proc/kmsg"
#define _PATH_KMEM "/dev/kmem"
#define _PATH_LASTLOG "/var/log/lastlog"
-#define _PATH_MAILDIR "/var/spool/mail"
+#define _PATH_MAILDIR "/var/mail"
#define _PATH_MAN "/usr/man"
#define _PATH_MEM "/dev/mem"
#define _PATH_MNTTAB "/etc/fstab"
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@alma.student.uni-kl.de