Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105682 - emerge baselayout hangs indefinitely due to lack of write permissions in /dev
Summary: emerge baselayout hangs indefinitely due to lack of write permissions in /dev
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 06:19 UTC by Drew Kirkpatrick
Modified: 2005-09-13 10:28 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 Drew Kirkpatrick 2005-09-12 06:19:42 UTC
While emerging  sys-apps/baselayout-1.11.13-r1, it hangs forever here:

* Creating directories and .keep files.
 * Some of these might fail if they're read-only mounted
 * filesystems, for example /dev or /proc.  That's okay!
 *   can't create /dev/.keep
 *   can't create /dev/pts/.keep


Sure enough, I do not have write permissions there, however I believe the ebuild
should die instead of hanging. 

Reproducible: Always
Steps to Reproduce:
1.Make sure using devfs instead of udev
2. emerge baselayout
3.

Actual Results:  
--- !empty dir /lib64/rcscripts/awk
--- !empty dir /lib64/rcscripts
--- !empty dir /lib64
--- !empty dir /etc
--- !empty dir /dev
--- !empty dir /bin
--- !targe sym /usr/sbin/update-modules
--- !targe sym /usr/sbin/MAKEDEV
--- !targe sym /sbin/update-modules
--- !targe sym /dev/MAKEDEV
>>> original instance of package unmerged safely.
 * Creating directories and .keep files.
 * Some of these might fail if they're read-only mounted
 * filesystems, for example /dev or /proc.  That's okay!
 *   can't create /dev/.keep
 *   can't create /dev/pts/.keep
[hangs here]


Expected Results:  
Exit emerge with an error
Comment 1 SpanKY gentoo-dev 2005-09-12 17:17:18 UTC
i dont think that's where it is hanging

emerge it again and this time run `ps uax` / `pstree` on another terminal and
post the results
Comment 2 SpanKY gentoo-dev 2005-09-13 10:28:35 UTC
local automount issue:
root     25652  0.0  0.0   2576   396 pts/3    S+   10:23   0:00 touch
///home/.keep
root     25653  0.0  0.1  17172  1756 ?        D    10:23   0:00
/usr/sbin/automount --timeout 60 /home yp auto.home
Comment 3 SpanKY gentoo-dev 2005-09-13 10:28:55 UTC
which has nothing to do with baselayout