Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353316 - At boot-up NetworkManager needs to complete its network setup before other network scripts are run
Summary: At boot-up NetworkManager needs to complete its network setup before other ne...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robert Piasek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 14:06 UTC by Alex Buell
Modified: 2011-02-05 09:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Buell 2011-01-31 14:06:11 UTC
NetworkManager really needs to complete its network setup before other network scripts are run, otherwise critical scripts such as ntp-client for example, will not be able to access the network.
Comment 1 Alex Buell 2011-01-31 14:07:02 UTC
Comments/ideas welcome.
Comment 2 Robert Piasek (RETIRED) gentoo-dev 2011-02-05 09:16:49 UTC
NetworkManager reports network availability over dbus. It also has alternative way of executing scripts which aren't dbus aware. It's internal dispatcher will execute scripts from /etc/NetworkManager/dispatcher.d every time interface is changing it's state.

Simple hook script for NTP looks like:
http://paste.pocoo.org/raw/332492/

Stopping init to finish network initialisation is unreasonable.