LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2016, 06:33 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
NetworkManager-wait-online.service


Hi
I see
Code:
 7.872s NetworkManager-wait-online.service
when I run a
Code:
systemd-analyze blame
Is this normal?
Seems like it is adding a LOT of time to my boot.

Any way to optimize?

Centos 7 + MATE install
 
Old 12-05-2016, 08:51 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Nope.

the problem is that systemd assumes the network is ready for use as soon as it starts NetworkManager.

When this is the case, nearly all network dependent actions fail - from network based filesystems, name lookups, time synchronization, databases, network user identifications (LDAP/NIS/...).

So much fails that the systemd developers had to start modifying a ton of other applications (this one being NetworkManager).

NetworkManager-wait-online is required to delay until the network is usable. This required modification of NetworkManager to explicitly send a "ready" signal back to systemd. This normally works (DHCP clients got modified too). And even the database servers got modified for the same reason.

This is one of the reasons systemd is considered a poor design, and imposes a LOT of things on services.
 
  


Reply

Tags
boot time


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 7, enable NetworkManager.service has errors thllgo Linux - Networking 1 02-06-2016 06:11 AM
Recommendation of whether to use “NetworkManager” or “Network-service “ krs4keshara Linux - Networking 1 11-01-2014 09:24 PM
make shutdown wait until service is stopped bbrib Linux - General 4 05-16-2011 01:50 AM
[SOLVED] FC14 NetworkManager service: This service is dead ajhunter Linux - Networking 2 02-09-2011 04:19 AM
I have to wait 1:30 after I connect before I can actually do anything online. Manyguns Linux - Newbie 4 07-16-2001 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration