Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296384 - sys-fs/udev-146-r1: udev-mount.initd: don't mount /dev if it's already mounted
Summary: sys-fs/udev-146-r1: udev-mount.initd: don't mount /dev if it's already mounted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-10 10:37 UTC by Ambroz Bizjak
Modified: 2009-12-13 10:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch udev-mount.initd (udev-mount.patch,623 bytes, patch)
2009-12-10 10:38 UTC, Ambroz Bizjak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ambroz Bizjak 2009-12-10 10:37:06 UTC
The udev-mount init script always mounts /dev, even if it's already mounted. This is causing problems with sys-kernel/dracut and results in /dev/pts not being available (bug 293178). The init script should check if /dev is already mounted, and do a remount in this case (for changed mount options).

Reproducible: Always

Steps to Reproduce:
1. use OpenRC
2. generate an initramfs with >=sys-kernel/dracut-002-r1
3. boot with that initramfs
4. try to login into X, or open a screen session - it will fail
Comment 1 Ambroz Bizjak 2009-12-10 10:38:52 UTC
Created attachment 212608 [details, diff]
patch udev-mount.initd

This patch to files/147/udev-mount.initd solves the problem.
Comment 2 Matthias Schwarzott gentoo-dev 2009-12-13 09:36:04 UTC
I guess you did not check which files are used by which ebuilds. udev-146-r1 that you use, does use files/136.

files/147 scripts do support using already mounted /dev.
So please emerge --sync, and then use at least udev-146-r2.
Comment 3 Ambroz Bizjak 2009-12-13 10:15:13 UTC
Yes, udev-146-r2 works. Sorry for the noise.