I confirm this bug in Feisty. The bug still open and it should be
changed to critical (this bug (with others) is really killing my ubuntu-
laptop experience)

How to reproduce it:

1. Open the network-admin tool.

2. Set the wired interface (eth0) to dhcp.

3. Apply the changes or deactivate and activate the interface.

4. Wait for the "changing interface configuration" window to close

5. Run ifconfig in a terminal window. You don't have an ip configured.

6. After several minutes, more than 5, you will get finally an ip.

Work around:

You can force the interface to get an ip address using the command:

sudo dhclient eth0

It will get an ip address immediately

It seems that network-admin does not force the interface to negotiate an
ip address immediately after interface activation.

uname -a: Linux dnielben-laptop 2.6.20-16-386 #2 Fri Aug 31 00:51:58 UTC
2007 i686 GNU/Linux

>From syslog, reproducing the bug and the workaround:

Sep 24 18:43:54 dnielben-laptop dhclient: There is already a pid file 
/var/run/dhclient.eth0.pid with pid 28023
Sep 24 18:43:54 dnielben-laptop dhclient: killed old client process, removed 
PID file
Sep 24 18:43:54 dnielben-laptop dhclient: Internet Systems Consortium DHCP 
Client V3.0.4
Sep 24 18:43:54 dnielben-laptop dhclient: Copyright 2004-2006 Internet Systems 
Consortium.
Sep 24 18:43:54 dnielben-laptop dhclient: All rights reserved.
Sep 24 18:43:54 dnielben-laptop dhclient: For info, please visit 
http://www.isc.org/sw/dhcp/
Sep 24 18:43:54 dnielben-laptop dhclient: 
Sep 24 18:43:54 dnielben-laptop dhclient: Listening on 
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:43:54 dnielben-laptop dhclient: Sending on   
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:43:54 dnielben-laptop dhclient: Sending on   Socket/fallback
Sep 24 18:43:54 dnielben-laptop dhclient: DHCPRELEASE on eth0 to 193.104.32.84 
port 67
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: Found user 
'avahi-autoipd' (UID 110) and group 'avahi-autoipd' (GID 116).
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: Successfully called 
chroot().
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: Successfully 
dropped root privileges.
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: fopen() failed: 
Permission denied
Sep 24 18:43:54 dnielben-laptop avahi-autoipd(eth0)[28256]: Starting with 
address 169.254.8.146
Sep 24 18:44:00 dnielben-laptop avahi-autoipd(eth0)[28256]: Callout BIND, 
address 169.254.8.146 on interface eth0
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28256]: Successfully 
claimed IP address 169.254.8.146
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28256]: fopen() failed: 
Permission denied
Sep 24 18:44:04 dnielben-laptop kernel: [215828.960000] bridge-eth0: disabling 
the bridge
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28256]: SIOCSIFFLAGS 
failed: Permission denied
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28256]: Callout STOP, 
address 169.254.8.146 on interface eth0
Sep 24 18:44:04 dnielben-laptop avahi-autoipd(eth0)[28257]: client: RTNETLINK 
answers: No such process
Sep 24 18:44:04 dnielben-laptop dhclient: receive_packet failed on eth0: 
Network is down
Sep 24 18:44:04 dnielben-laptop kernel: [215828.972000] bridge-eth0: down
Sep 24 18:44:05 dnielben-laptop kernel: [215830.596000] bridge-eth0: enabling 
the bridge
Sep 24 18:44:05 dnielben-laptop kernel: [215830.596000] bridge-eth0: up
Sep 24 18:44:05 dnielben-laptop kernel: [215830.596000] ADDRCONF(NETDEV_UP): 
eth0: link is not ready
Sep 24 18:44:05 dnielben-laptop dhclient: There is already a pid file 
/var/run/dhclient.eth0.pid with pid 134993416
Sep 24 18:44:05 dnielben-laptop dhclient: Internet Systems Consortium DHCP 
Client V3.0.4
Sep 24 18:44:05 dnielben-laptop dhclient: Copyright 2004-2006 Internet Systems 
Consortium.
Sep 24 18:44:05 dnielben-laptop dhclient: All rights reserved.
Sep 24 18:44:05 dnielben-laptop dhclient: For info, please visit 
http://www.isc.org/sw/dhcp/
Sep 24 18:44:05 dnielben-laptop dhclient: 
Sep 24 18:44:06 dnielben-laptop NetworkManager: <information>^IGoing to sleep. 
Sep 24 18:44:06 dnielben-laptop NetworkManager: <information>^IWaking up from 
sleep. 
Sep 24 18:44:06 dnielben-laptop NetworkManager: <information>^IDeactivating 
device eth1. 
Sep 24 18:44:06 dnielben-laptop NetworkManager: <information>^Ieth1: Device is 
fully-supported using driver 'ipw2200'. 
Sep 24 18:44:06 dnielben-laptop NetworkManager: 
<information>^Inm_device_init(): waiting for device's worker thread to start 
Sep 24 18:44:06 dnielben-laptop NetworkManager: 
<information>^Inm_device_init(): device's worker thread started, continuing. 
Sep 24 18:44:06 dnielben-laptop NetworkManager: <information>^INow managing 
wireless (802.11) device 'eth1'. 
Sep 24 18:44:06 dnielben-laptop NetworkManager: <information>^IDeactivating 
device eth1. 
Sep 24 18:44:06 dnielben-laptop dhclient: Listening on 
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:44:06 dnielben-laptop dhclient: Sending on   
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:44:06 dnielben-laptop dhclient: Sending on   Socket/fallback
Sep 24 18:44:07 dnielben-laptop kernel: [215832.136000] tg3: eth0: Link is up 
at 100 Mbps, full duplex.
Sep 24 18:44:07 dnielben-laptop kernel: [215832.136000] tg3: eth0: Flow control 
is off for TX and off for RX.
Sep 24 18:44:07 dnielben-laptop kernel: [215832.136000] 
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sep 24 18:44:10 dnielben-laptop dhclient: DHCPDISCOVER on eth0 to 
255.255.255.255 port 67 interval 3
Sep 24 18:44:13 dnielben-laptop dhclient: DHCPDISCOVER on eth0 to 
255.255.255.255 port 67 interval 7
Sep 24 18:44:17 dnielben-laptop kernel: [215842.624000] eth0: no IPv6 routers 
present
Sep 24 18:44:20 dnielben-laptop dhclient: DHCPDISCOVER on eth0 to 
255.255.255.255 port 67 interval 8
Sep 24 18:44:28 dnielben-laptop dhclient: DHCPDISCOVER on eth0 to 
255.255.255.255 port 67 interval 13
Sep 24 18:44:32 dnielben-laptop NetworkManager: <information>^IGoing to sleep. 
Sep 24 18:44:32 dnielben-laptop NetworkManager: <information>^IWaking up from 
sleep. 
Sep 24 18:44:32 dnielben-laptop NetworkManager: <information>^IDeactivating 
device eth1. 
Sep 24 18:44:32 dnielben-laptop NetworkManager: <information>^Ieth1: Device is 
fully-supported using driver 'ipw2200'. 
Sep 24 18:44:32 dnielben-laptop NetworkManager: 
<information>^Inm_device_init(): waiting for device's worker thread to start 
Sep 24 18:44:32 dnielben-laptop NetworkManager: 
<information>^Inm_device_init(): device's worker thread started, continuing. 
Sep 24 18:44:32 dnielben-laptop NetworkManager: <information>^INow managing 
wireless (802.11) device 'eth1'. 
Sep 24 18:44:32 dnielben-laptop NetworkManager: <information>^IDeactivating 
device eth1. 
Sep 24 18:44:41 dnielben-laptop dhclient: No DHCPOFFERS received.
Sep 24 18:44:41 dnielben-laptop dhclient: No working leases in persistent 
database - sleeping.
Sep 24 18:44:41 dnielben-laptop avahi-autoipd(eth0)[28398]: Found user 
'avahi-autoipd' (UID 110) and group 'avahi-autoipd' (GID 116).
Sep 24 18:44:41 dnielben-laptop avahi-autoipd(eth0)[28398]: Successfully called 
chroot().
Sep 24 18:44:41 dnielben-laptop avahi-autoipd(eth0)[28398]: Successfully 
dropped root privileges.
Sep 24 18:44:41 dnielben-laptop avahi-autoipd(eth0)[28398]: fopen() failed: 
Permission denied
Sep 24 18:44:41 dnielben-laptop avahi-autoipd(eth0)[28398]: Starting with 
address 169.254.8.146
Sep 24 18:44:47 dnielben-laptop avahi-autoipd(eth0)[28398]: Callout BIND, 
address 169.254.8.146 on interface eth0
Sep 24 18:44:51 dnielben-laptop avahi-autoipd(eth0)[28398]: Successfully 
claimed IP address 169.254.8.146
Sep 24 18:44:51 dnielben-laptop avahi-autoipd(eth0)[28398]: fopen() failed: 
Permission denied
Sep 24 18:44:58 dnielben-laptop dhclient: There is already a pid file 
/var/run/dhclient.pid with pid 28085
Sep 24 18:44:58 dnielben-laptop dhclient: killed old client process, removed 
PID file
Sep 24 18:44:58 dnielben-laptop dhclient: Internet Systems Consortium DHCP 
Client V3.0.4
Sep 24 18:44:58 dnielben-laptop dhclient: Copyright 2004-2006 Internet Systems 
Consortium.
Sep 24 18:44:58 dnielben-laptop dhclient: All rights reserved.
Sep 24 18:44:58 dnielben-laptop dhclient: For info, please visit 
http://www.isc.org/sw/dhcp/
Sep 24 18:44:58 dnielben-laptop dhclient: 
Sep 24 18:44:58 dnielben-laptop avahi-autoipd(eth0)[28398]: Got SIGTERM, 
quitting.
Sep 24 18:44:58 dnielben-laptop avahi-autoipd(eth0)[28398]: Callout STOP, 
address 169.254.8.146 on interface eth0
Sep 24 18:44:58 dnielben-laptop avahi-autoipd(eth0)[28399]: client: RTNETLINK 
answers: No such process
Sep 24 18:44:59 dnielben-laptop dhclient: Listening on 
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:44:59 dnielben-laptop dhclient: Sending on   
LPF/eth0/00:14:22:fd:ae:82
Sep 24 18:44:59 dnielben-laptop dhclient: Sending on   Socket/fallback
Sep 24 18:45:02 dnielben-laptop dhclient: DHCPREQUEST on eth0 to 
255.255.255.255 port 67
Sep 24 18:45:02 dnielben-laptop dhclient: DHCPACK from 193.104.32.84
Sep 24 18:45:02 dnielben-laptop dhclient: bound to 192.168.18.226 -- renewal in 
3307 seconds.

-- 
[network-admin] GNOME network tool slow after applying changes
https://bugs.launchpad.net/bugs/9718
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to