Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47342

Summary: sys-apps/baselayout can't be emerged when /mnt is an autofs dir
Product: Gentoo Linux Reporter: Stefan Briesenick (RETIRED) <sbriesen>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***