Description of problem:
The ntpdate and netfs scripts (at least) run before NetworkManager
has configured networking.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a system network connection
2a. Have an nfs filesystem in /etc/fstab
2b. Have ntpdate run, possibly with a fqdn in /etc/ntp/step-tickers
3. Boot on a machine with sufficient cores to get the services starting
up all at once. I have 8 cores here.
ntpdate and nfs report [FAILED] due to nfs lookup failures.
Adding /usr/bin/nm-online -q somewhere in the scripts is probably the
right thing to do to delay their execution until the network comes up.
Although surely some sort of error checks are warrented as well.
Gah. s/nfs/dns/ lookup failures.
netfs has a /etc/NetworkManager/dispatcher.d dispatcher script that kicks it once NM has an address. I don't think ntp does.
netfs also has a check:
[ ! -f /var/lock/subsys/network ] && [ ! -f /var/lock/subsys/NetworkManager ] && exit 0
but that doesn't mean the address is configured, of course.
Perhaps we could add a "nm-online -x" check to the end of that test sequence
(and possibly move that whole sequence into /etc/init.d/functions)? That
might at least make the initial running of S25netfs exit properly.
The state of affairs at the moment is somewhat disconcerting...
... Something like
if [ -f /var/lock/subsys/network ]; then
if [ ! -f /var/lock/subsys/NetworkManager ]; then
__networking_enabled || exit 0
Will be in 9.13-1 (rawhide) and a future F-13 update at some point.
initscripts-9.12.1-1.fc13 has been submitted as an update for Fedora 13.
initscripts-9.12.1-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update initscripts'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/initscripts-9.12.1-1.fc13
initscripts-9.12.1-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.