Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openrc: NetworkManager deleted from all runlevels, but it runs anyway [SOLVED]
Date: Fri, 03 Jan 2020 16:08:43
Message-Id: ae654b78-af42-82c5-656b-ca8001eafd71@web.de
In Reply to: [gentoo-user] openrc: NetworkManager deleted from all runlevels, but it runs anyway by n952162
1 Okay, I removed /etc/init.d/NetworkManager and now I have a wireless
2 connection after reboot.
3
4 Incidentally, in pursuing that, I proved to my satisfaction that the
5 output of the rc-status -a command is from /etc/runlevels with this script:
6
7 cd /etc/runlevels
8 diff -wy <(rc-status -a | sed -n -e '/^Dynamic/{=;q}' -e
9 '/^Runlevel: /{s///;h}' -e '/^ /{s/ //;s/
10 .*//;G;s/\(.*\)\n\(.*\)/\2\/\1/p}' | sort) <(ls */*)
11
12
13
14 On 2020-01-03 11:11, n952162 wrote:
15 > What do I have to do to prevent NetworkManager from running?
16 >
17 > I am running a prepared gentoo image which has openrc and NetworkManager
18 > configured.  The wpa_gui app doesn't see my wireless (but starting the
19 > wpa_supplicant from rc-service does).
20 >
21 > So, I removed NetworkManager with:
22 >
23 >     rc-update delete NetworkManager
24 >
25 > rc-status lists it now as "inactive".  But, it runs after reboot.
26 >
27 >