Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] udev or Gentoo issue? Grant <emailgrant@×××××.com>