Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] udev or Gentoo issue?
Date: Wed, 14 May 2014 23:54:09
Message-Id: CAN0CFw2iWo2G2J9VqeOuvWLbw8YSFFyuQGg3GuKBJ9Jp=ztd6w@mail.gmail.com
In Reply to: Re: [gentoo-user] udev or Gentoo issue? by Samuli Suominen
1 >>>>>> I'm having a problem starting the USB network interfaces properly on
2 >>>>>> one of my systems. I brought the problem to the udev list and they're
3 >>>>>> indicating that it's a Gentoo problem:
4 >>>>>>
5 >>>>>> https://www.mail-archive.com/systemd-devel@×××××××××××××××××.org/msg18840.html
6 >>>>>>
7 >>>>>> Should I file a bug?
8 >>>>>>
9 >>>>>> - Grant
10 >>>>>>
11 >>>>> Like pointed out in the upstream thread, it's either wrongly built
12 >>>>> net-misc/dhcpcd (should be with USE="udev")
13 >>>>> and if not using dhcpcd, it might be a bug in net-misc/netifrc's
14 >>>>> /etc/init.d/net.lo depend() { } section --
15 >>>>> it's possible it's missing dependency that forces /etc/init.d/udev start
16 >>>>> first, specially if OpenRC is using parallel
17 >>>>> startup
18 >>>>>
19 >>>>> So not really a udev bug, rather a misconfiguration in dhcpcd USE flags
20 >>>>> OR bug in dependencies of netifrc's net.lo script
21 >>>> I'm starting two interfaces, one that uses dhcpcd and one that does
22 >>>> not. Both fail to start in the default runlevel until they are
23 >>>> hotplugged later. I do have dhcpcd built with USE=udev. The string
24 >>>> "udev" does not occur in /etc/init.d/net.lo so maybe that's the
25 >>>> problem? Please confirm that I should file a Gentoo bug for this.
26 >>>>
27 >>>> - Grant
28 >>>>
29 >>> Try adding 'after udev' to net.lo's depend() { } section and see if that
30 >>> helps, if it does, file a bug
31 >>> saying so.
32 >>
33 >> I added it like this and rebooted:
34 >>
35 >> depend()
36 >> {
37 >> after udev
38 >
39 > hmm, try "need udev" instead of "after udev", I keep forgetting their
40 > difference
41 > within parallel startup
42
43
44 I just tried that with the same result unfortunately. I don't have
45 rc_parallel defined in rc.conf and the file's comments seems to
46 indicate that the default is rc_parallel="NO".
47
48 - Grant