Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41957 - baselayout tries to put .keep in /home and blows up if it is non-writeable
Summary: baselayout tries to put .keep in /home and blows up if it is non-writeable
Status: RESOLVED DUPLICATE of bug 9849
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 15:21 UTC by David Bryson (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 David Bryson (RETIRED) gentoo-dev 2004-02-17 15:21:13 UTC
I have an nfs mounted /home, and baselayout lite seems to want to blow up if it cannot write it's .keep file there.

>>> /var/lib/misc/.keep
--- /var/lib/init.d/
>>> /var/lib/init.d/.keep
--- /var/log/
--- /var/log/news/
>>> /var/log/news/.keep
--- /var/db/
--- /var/db/pkg/
--- /home/
!!! copy /var/tmp/portage-pkg/baselayout-1.8.6.13/bin/home/.keep -> /home/.keep failed.
!!! [Errno 13] Permission denied: '/home/.keep#new

baselayout looks like it does check /proc/mounts to see if certain directories are mounted, but for some reason it doesn't work in the ebuild.  While a simple shell execution of the line in keepdir_mount() shows /home should not have a .keep file

redhate root # cat /proc/mounts | gawk '{print $2}'
/
/
/dev
/proc
/sys
/dev/pts
/dev/shm
/proc/bus/usb
/misc
/home
/public
/home/mutex
/mnt/cdrom
Comment 1 SpanKY gentoo-dev 2004-02-18 23:05:45 UTC

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