Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533638 - sys-apps/openrc-0.12.4 mounts /dev after /dev/pts, /dev/mqueue and /dev/shm
Summary: sys-apps/openrc-0.12.4 mounts /dev after /dev/pts, /dev/mqueue and /dev/shm
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-26 21:31 UTC by Mikael Magnusson
Modified: 2014-12-27 07:47 UTC (History)
1 user (show)

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