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

Bug 533638

Summary: sys-apps/openrc-0.12.4 mounts /dev after /dev/pts, /dev/mqueue and /dev/shm
Product: Gentoo Linux Reporter: Mikael Magnusson <mikachu>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mikael Magnusson 2014-12-26 21:31:30 UTC
In /etc/init.d/devfs, mqueue, devpts and tmpfs are mounted. The depend() function of this file has a line:
	use dev-mount

There is no init script called dev-mount, but there is one called udev-mount. In udev-mount, /dev is mounted.

If you're unlucky (which I apparently am), udev-mount runs after devfs and these filesystems are masked by the new /dev tmpfs mount, and most notably you cannot open new terminal windows in X. Changing the line to
	use udev-mount
most likely works, but I haven't rebooted to test it.
Comment 1 Mike Gilbert gentoo-dev 2014-12-27 05:51:54 UTC
udev-mount has this line in depend():

provide dev-mount

Do you have udev-mount in the sysinit runlevel, as the udev-init-script ebuild warns?
Comment 2 Mikael Magnusson 2014-12-27 07:47:28 UTC
Oops, then it's my bad. I have an older kernel so I also kept an older udev that's no longer in tree. I didn't know about the provide keyword. Thanks.