Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920818 - sys-apps/shadow-4.13-r4 Creating mailbox file: No such file or directory
Summary: sys-apps/shadow-4.13-r4 Creating mailbox file: No such file or directory
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 18:20 UTC by Esteve Varela Colominas
Modified: 2024-01-16 02:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2023-12-27 18:20:05 UTC
When running "useradd -m user" in a clean stage3 tarball, you get the following message:

    Creating mailbox file: No such file or directory

This is likely because MAIL_DIR is set to /var/spool/mail in /etc/login.defs, but the directory doesn't exist.
Comment 1 Esteve Varela Colominas 2023-12-27 18:30:27 UTC
I figure the proper solution would be making the directory in sys-apps/baselayout[build] or similar, or having shadow depend on a package that installs that directory, such as acct-user/mail