Thanks, Sam, that looks like very useful information. The logs you
posted indicate that one interface, eno1, had no link when "ip addr
show" ran, after NetworkManager reported itself online. This seems
consistent with nm-online's man page which indicates that startup is
complete when all connections are available "given the current network
state.
The old "network" service would simply set the interface state to "up"
regardless of whether or not there was a link, and further it had a
LINKDELAY setting to ensure that the system would pause some fixed time
(the admin's best guess, I suppose) before it continued.
NetworkManager, on the other hand, reacts to carrier changes and until
two weeks ago, it had a hard-coded global timeout of 5 seconds for link
availability on startup. A recent change has, as best I can tell, added
a flag to address this specific problem:
https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=2becc0a0ac82834ea96898c17ec79cd038e6db54
See the list of bugs in the commit message...
That's not entirely helpful, because that commit doesn't seem to have
made it in to Fedora's package yet. It should be in 1.10.2, whenever
that makes it way through. I don't see such an update pending in bodhi,
so filing an RFE in bugzilla might be helpful...
On 12/19/2017 04:16 AM, Sam Varshavchik wrote:
Dec 19 06:57:09 shorty root[1400]: 2: eno1:
<NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN
group default qlen 1000
Dec 19 06:57:09 shorty root[1400]: link/ether 0c:c4:7a:32:c1:82 brd
ff:ff:ff:ff:ff:ff
...
Dec 19 06:57:10 shorty root[1403]: 2: eno1:
<NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN
group default qlen 1000
Dec 19 06:57:10 shorty root[1403]: link/ether 0c:c4:7a:32:c1:82 brd
ff:ff:ff:ff:ff:ff
...
Dec 19 06:57:10 shorty NetworkManager[956]: <info> [1513684630.6860]
manager: startup complete
Dec 19 06:57:11 shorty kernel: e1000e: eno1 NIC Link is Up 1000 Mbps
Full Duplex, Flow Control: Rx/Tx
Dec 19 06:57:11 shorty kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eno1:
link becomes ready
Dec 19 06:57:11 shorty NetworkManager[956]: <info> [1513684631.4385]
device (eno1): link connected
Dec 19 06:57:11 shorty systemd-networkd[955]: eno1: Gained carrier
Dec 19 06:57:11 shorty NetworkManager[956]: <info> [1513684631.4390]
device (eno1): state change: unavailable -> disconnected (reason
'carrier-changed', internal state 'managed')
...
Dec 19 06:57:11 shorty root[1415]: 2: eno1:
<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
group default qlen 1000
Dec 19 06:57:11 shorty root[1415]: link/ether 0c:c4:7a:32:c1:82 brd
ff:ff:ff:ff:ff:ff
Dec 19 06:57:11 shorty root[1415]: inet 192.168.0.1/24 brd
192.168.0.255 scope global eno1
Dec 19 06:57:11 shorty root[1415]: valid_lft forever
preferred_lft forever
Dec 19 06:57:11 shorty root[1415]: inet6
fe80::ec4:7aff:fe32:c182/64 scope link tentative
Dec 19 06:57:11 shorty root[1415]: valid_lft forever
preferred_lft forever
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx