ifconfig(8) doesn't play nice with NetworkManager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-tools (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: net-tools
I couldn't select two packages when filing this bug. I wanted to select net-tools and network-manager.
I found two instances where ifconfig(8) doesn't notify NetworkManager.
DHCP discovery isn't done during the initialization period, but is done in the background by NetworkManager. This means there is a race condition between network manager and ifconfig(8)
e.g. after i start ubuntu, login and open a terminal if i type "ifconfig eth0 <address>" it is reset by NetworkManager a couple minutes later (When DHCP discovery fails).
also, afaict i never configured DHCP discovery.
The second instance is after i disconnect a network cable, Network Manager doesn't notice i set an address using ifconfig(8) and brutally resets it (while my interfaces file is empty and afaict the NetworkManager config is too).
Status changed to 'Confirmed' because the bug affects multiple users.