Bug 2764 - _PATH_MAILDIR is /var/mail, should be /var/spool/mail
_PATH_MAILDIR is /var/mail, should be /var/spool/mail
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
: 2730 4722 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 1999-05-12 11:14 EDT by Jeff Johnson
Modified: 2008-05-01 11:37 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-07-02 18:00:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jeff Johnson 1999-05-12 11:14:36 EDT
_PATH_MAILDIR on i386 (but not sparc) is set incorrectly
to /var/mail. This causes finger (and kbiff) to look in the
wrong directory for incoming mail.
Comment 1 Jeff Johnson 1999-05-12 11:16:59 EDT
*** Bug 2730 has been marked as a duplicate of this bug. ***

when checking for a users' mail status finger expects the
mailfiles in /var/mail instead of /var/spool/mail
Comment 2 Cristian Gafton 1999-07-02 18:00:59 EDT
This is fixed in the glibc 2.1.2 package. finger will have to be
recompiled, though.

The new glibc rpm will be available in rawhide shortly.
Comment 3 Jeff Johnson 1999-08-26 10:05:59 EDT
*** Bug 4722 has been marked as a duplicate of this bug. ***

Both finger and fingerd from new RH 6.0 packages
(finger-0.10-24) search for user mailboxes in /var/mail, not
in /var/spool/mail as it was on RH 5.2 (0.10-5). This occurs
in local use as well as in remote user@server use.
The only thing strace showed me was
stat("/var/mail/jmeno", 0xbffffb68)     = -1 ENOENT (No such
file or directory)

Note You need to log in before you can comment on or make changes to this bug.