Gentoo Archives: gentoo-user

From: "José Romildo Malaquias" <j.romildo@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Order in which init scripts providing a service are tried
Date: Fri, 12 Oct 2012 16:41:23
Message-Id: 20121012164150.GA2613@romildo
1 Hello.
2
3 There are some init scripts that provide network connection on my gentoo
4 system: net.eth0, net.wlan0, net.wlan1, NetworkManager and connman. All
5 of them provide the "net" service. (connman init script has been edited
6 to provide "net", as the original installed one does not provide it -
7 see bug https://bugs.gentoo.org/show_bug.cgi?id=438142)
8
9 I want connman chosen to provide "net".
10
11 The init system first tries the net.* scripts. So I removed them (they
12 are symlinks to net.lo, which should not be removed).
13
14 Then the init system tries NetworkManager. I do not want to remove it
15 because it is installed as a dependence to some other packages.
16
17 I have tried adding a 'before "NetworkManager"' clause in the connman
18 init script, but it did not help.
19
20 How can I tell the init system to try connman before all other init
21 scripts providing "net"?
22
23 Any clues?
24
25 Romildo

Replies

Subject Author
Re: [gentoo-user] Order in which init scripts providing a service are tried Florian Philipp <lists@×××××××××××.net>