Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47342 - sys-apps/baselayout can't be emerged when /mnt is an autofs dir
Summary: sys-apps/baselayout can't be emerged when /mnt is an autofs dir
Status: RESOLVED DUPLICATE of bug 9849
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-09 06:38 UTC by Stefan Briesenick (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Stefan Briesenick (RETIRED) gentoo-dev 2004-04-09 06:38:53 UTC
on my PCs, /mnt is an autofs basedir, so all autofs mounts are under /mnt.
The problem is, that /mnt itself is readonly then. 'baselayout' wants to write '.keep' into /mnt and throws an error.

Now I could change my autofs configuration to a different basedir, but that's really odd. I want autofs to use /mnt like I always did since years.

And stopping autofs during the emerge isn't an option, because my distfiles are on one of the mount points. :-/

same problem with /home.

IMHO is .keep not really needed for /mnt and /home, since no package will ever install files into these directories. And so, an "emerge -C" will never remove these directories. btw: you could modify emerge to use a blacklist for special directories (configurable in /etc/conf.d). This way, the filesystem isn't crowded by .keep files in major system directories. Other directories can be protected with .keep files. But not /etc /home /mnt /dev /sys /proc and such.

please remove .keep from 'baselayout'.

Thanks!

Reproducible: Always
Steps to Reproduce:
1. configure autofs to use /mnt
2. try "emerge baselayout"
3. it will break while merging

Actual Results:  
baselayout can't be emerged when /mnt is an autofs dir. 

Expected Results:  
baselayout can be emerged w/o problems.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-04-09 07:42:13 UTC

*** This bug has been marked as a duplicate of 9849 ***