1 |
On Mon, Mar 12, 2012 at 11:14:23PM -0400, Joshua Kinard wrote: |
2 |
> Yeah, I think it's an easy fix either in openrc or in an initscript |
3 |
> somewhere. I changed nothing except my kernel (was missing devtmpfs -- it's |
4 |
> not under Filesystems!), uninstalled module-init-tools, and installed kmod + |
5 |
> udev-181. Then rolled back the snapshot once I had the results. |
6 |
When udev is linked against a library in /usr, this is not going to work |
7 |
anymore, because udev won't start at all. |
8 |
|
9 |
On many simple setups, yes, it's not going actually break much in my |
10 |
testing on pure OpenRC. |
11 |
|
12 |
udev starts in the sysinit runlevel, and /usr would normally only become |
13 |
available later, in the boot runlevel, when localmount runs... |
14 |
|
15 |
Consider this potential boot order: |
16 |
sysinit/sysfs |
17 |
sysinit/udev (fails without sysfs) |
18 |
boot/modules (after udev, so udev rules work on modprobe) |
19 |
boot/hwclock (needs rtc modules on some systems) |
20 |
boot/fsck (after devices are available) |
21 |
boot/root (after fsck) |
22 |
boot/localmount (after fsck) |
23 |
|
24 |
udev before modules is fairly critical for some hardware, so that it |
25 |
gets configured properly. |
26 |
|
27 |
-- |
28 |
Robin Hugh Johnson |
29 |
Gentoo Linux: Developer, Trustee & Infrastructure Lead |
30 |
E-Mail : robbat2@g.o |
31 |
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 |