Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] WARNING: NetworkManager has started, but is inact
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Fitap
Guru
Guru


Joined: 13 Mar 2011
Posts: 437
Location: Rosario, Argentina

PostPosted: Fri Aug 07, 2015 12:41 am    Post subject: [SOLVED] WARNING: NetworkManager has started, but is inact Reply with quote

Looking for this issue, no one searched topics resolve my situation, I don't know how to fix it.

Can you give me a hand ?

Regards.


Last edited by Fitap on Fri Aug 07, 2015 8:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9678
Location: almost Mile High in the USA

PostPosted: Fri Aug 07, 2015 1:10 am    Post subject: Reply with quote

Question is, is it a problem?
I think mine does that but it works just fine. Just warning you that it hasn't been able to get a connection (yet) and thus your network would be down for a while during startup and potentially programs may hang.

It shouldn't do this under systemd however as far as I know... but not a reason to install systemd.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Fitap
Guru
Guru


Joined: 13 Mar 2011
Posts: 437
Location: Rosario, Argentina

PostPosted: Fri Aug 07, 2015 1:56 am    Post subject: Reply with quote

Nope, it's no a problem, the network finally works fine, the same warming message I have with privoxy service, and like you see, I run openrc, there are no reason to install systemd.

I think what linux must run without warnings too, the order of loading those services into rc have importance ?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9678
Location: almost Mile High in the USA

PostPosted: Fri Aug 07, 2015 2:14 am    Post subject: Reply with quote

The warning is produced because Networkmanager will say that the network started successfully so programs that require the network started will start up. If the program had a hard dependency for the network, you have a problem if Networkmanager says it doesn't have the network up (because it hasn't setup wifi) and thus never start up, or what it does now and give a warning: lie that the network is indeed up and then allow programs that depend on the network to start.

The problem is that OpenRC cannot handle dynamic up/down - but systemd can. Instead of the warning, systemd understands that NetworkManager may not have a network yet and thus not yet start programs that require the network, and patiently wait until NM or you start the network, and then it will start those services. You can even get systemd to stop services when the network disconnects.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Fitap
Guru
Guru


Joined: 13 Mar 2011
Posts: 437
Location: Rosario, Argentina

PostPosted: Fri Aug 07, 2015 2:38 am    Post subject: Reply with quote

I can read the warning complete, sorry, and see that not bad news like I am thinking.

Code:
NetworkManager   |Conectando...............    0s
NetworkManager   | * Marking NetworkManager as inactive. It will automatically be marked
NetworkManager   | * as started after a network connection has been established.
NetworkManager   | * WARNING: NetworkManager has started, but is inactive
netmount         | * privoxy          | * WARNING: privoxy will start when NetworkManager has started
WARNING: netmount will start when NetworkManager has started
xdm              | * Setting up slim ...
 [ ok ]
local            | * Starting local ...
 [ ok ]

rc default logging stopped at Thu Aug  6 20:32:44 2015



But... in this log there is two instances of NetworkManager ??
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9678
Location: almost Mile High in the USA

PostPosted: Fri Aug 07, 2015 1:20 pm    Post subject: Reply with quote

No, it's the individual items executed after NM (despite them being an dependency on net), but it looks like OpenRC decided to wait for NM anyway (the init script starts since net was met, but waits for NM). I think the word "WARNING" is a misnomer, it should be a "notice" and nothing to worry about - unless they never start and you need them to start.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Fitap
Guru
Guru


Joined: 13 Mar 2011
Posts: 437
Location: Rosario, Argentina

PostPosted: Fri Aug 07, 2015 8:55 pm    Post subject: Reply with quote

Thanks a lot eccerr0r and thanks for your time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum