Constantly reconfiguring network interface

Bug #122659 reported by hovang
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
avahi (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I upgraded from 6.10 to 7.04 and now got this behaviour. Every 10 minutes, something that seems to be a reconfiguration of eth0 is initiated. It seems like it's all initiated by the avahi-daemon.

Very annoying since it's causing all my ssh sessions to stall for a minute or two.

This is a snap from the logs of what happens:

Jun 27 21:23:31 calzone avahi-daemon[5182]: Withdrawing address record for 192.168.2.133 on eth0.
Jun 27 21:23:31 calzone avahi-daemon[5182]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.2.133.
Jun 27 21:23:31 calzone avahi-daemon[5182]: Interface eth0.IPv4 no longer relevant for mDNS.
Jun 27 21:23:31 calzone avahi-autoipd(eth0)[15899]: Found user 'avahi-autoipd' (UID 111) and group 'avahi-autoipd' (GID 117).
Jun 27 21:23:31 calzone avahi-autoipd(eth0)[15899]: Successfully called chroot().
Jun 27 21:23:31 calzone avahi-autoipd(eth0)[15899]: Successfully dropped root privileges.
Jun 27 21:23:31 calzone avahi-autoipd(eth0)[15899]: fopen() failed: Permission denied
Jun 27 21:23:31 calzone avahi-autoipd(eth0)[15899]: Starting with address 169.254.7.230
Jun 27 21:23:35 calzone avahi-autoipd(eth0)[15899]: Callout BIND, address 169.254.7.230 on interface eth0
Jun 27 21:23:36 calzone avahi-daemon[5182]: Joining mDNS multicast group on interface eth0.IPv4 with address 169.254.7.230.
Jun 27 21:23:36 calzone avahi-daemon[5182]: New relevant interface eth0.IPv4 for mDNS.
Jun 27 21:23:36 calzone avahi-daemon[5182]: Registering new address record for 169.254.7.230 on eth0.IPv4.
Jun 27 21:23:39 calzone avahi-autoipd(eth0)[15899]: Successfully claimed IP address 169.254.7.230
Jun 27 21:23:39 calzone avahi-autoipd(eth0)[15899]: fopen() failed: Permission denied
Jun 27 21:23:40 calzone NetworkManager: <information>^IDHCP daemon state is now 10 (unknown) for interface eth0
Jun 27 21:23:40 calzone avahi-autoipd(eth0)[15899]: Got SIGTERM, quitting.
Jun 27 21:23:40 calzone avahi-autoipd(eth0)[15899]: Callout STOP, address 169.254.7.230 on interface eth0
Jun 27 21:23:40 calzone avahi-daemon[5182]: Withdrawing address record for 169.254.7.230 on eth0.
Jun 27 21:23:40 calzone avahi-daemon[5182]: Leaving mDNS multicast group on interface eth0.IPv4 with address 169.254.7.230.
Jun 27 21:23:40 calzone avahi-daemon[5182]: Interface eth0.IPv4 no longer relevant for mDNS.
Jun 27 21:23:40 calzone avahi-autoipd(eth0)[15900]: client: RTNETLINK answers: No such process
Jun 27 21:23:41 calzone NetworkManager: <information>^IDHCP daemon state is now 1 (starting) for interface eth0
Jun 27 21:23:41 calzone dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jun 27 21:23:41 calzone dhclient: DHCPOFFER from 192.168.2.12
Jun 27 21:23:41 calzone dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Jun 27 21:23:41 calzone dhclient: DHCPACK from 192.168.2.12

Some notes to the above:

I have no idea where 169.254.7.230 comes from.
192.168.2.12 is my DHCP / DNS server / firewall.
calzone is my hostname.

Revision history for this message
Joshua Swink (yathster) wrote :
Download full text (4.5 KiB)

I am encountering the same behavior . avahi is struggling with dhclient and my network interface is being reconfigured every few minutes. This is very annoying. Not only is the network completely down while DHCP renegotiation takes place, but the interface often gets a new address. Thus all ssh connections freeze and must be recreated.

Oct 10 14:42:54 meerkat dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Oct 10 14:42:54 meerkat dhclient: DHCPOFFER from 169.236.152.11
Oct 10 14:42:54 meerkat dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Oct 10 14:42:54 meerkat dhclient: DHCPACK from 169.236.152.11
Oct 10 14:42:54 meerkat avahi-daemon[5296]: Joining mDNS multicast group on interface eth0.IPv4 with address 169.236.152.55.
Oct 10 14:42:54 meerkat avahi-daemon[5296]: New relevant interface eth0.IPv4 for mDNS.
Oct 10 14:42:54 meerkat avahi-daemon[5296]: Registering new address record for 169.236.152.55 on eth0.IPv4.
Oct 10 14:42:54 meerkat avahi-daemon[5296]: Withdrawing address record for 169.236.152.55 on eth0.
Oct 10 14:42:54 meerkat avahi-daemon[5296]: Leaving mDNS multicast group on interface eth0.IPv4 with address 169.236.152.55.
Oct 10 14:42:54 meerkat avahi-daemon[5296]: Interface eth0.IPv4 no longer relevant for mDNS.
Oct 10 14:42:54 meerkat avahi-daemon[5296]: Joining mDNS multicast group on interface eth0.IPv4 with address 169.236.152.55.
Oct 10 14:42:54 meerkat avahi-daemon[5296]: New relevant interface eth0.IPv4 for mDNS.
Oct 10 14:42:54 meerkat avahi-daemon[5296]: Registering new address record for 169.236.152.55 on eth0.IPv4.
Oct 10 14:42:54 meerkat NetworkManager: <information>^IDHCP daemon state is now 2 (bound) for interface eth0
Oct 10 14:42:54 meerkat NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) scheduled...
Oct 10 14:42:54 meerkat NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) started...
Oct 10 14:42:54 meerkat dhclient: bound to 169.236.152.55 -- renewal in 265 seconds.
Oct 10 14:42:54 meerkat NetworkManager: <information>^IRetrieved the following IP4 configuration from the DHCP daemon:
Oct 10 14:42:54 meerkat NetworkManager: <information>^I address 169.236.152.55
Oct 10 14:42:54 meerkat NetworkManager: <information>^I netmask 255.255.255.0
Oct 10 14:42:54 meerkat NetworkManager: <information>^I broadcast 169.236.152.255
Oct 10 14:42:54 meerkat NetworkManager: <information>^I gateway 169.236.152.1
Oct 10 14:42:54 meerkat NetworkManager: <information>^I nameserver 169.236.80.52
Oct 10 14:42:54 meerkat NetworkManager: <information>^I nameserver 169.236.10.221
Oct 10 14:42:54 meerkat NetworkManager: <information>^I nameserver 192.35.211.224
Oct 10 14:42:54 meerkat NetworkManager: <information>^I domain name 'ucmerced.edu'
Oct 10 14:42:54 meerkat NetworkManager: <information>^IActivation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
Oct 10 14:42:54 meerkat NetworkManager: <information>^IActivation (eth0) Stage 4 of 5 (IP Configure Get) complete.
Oct 10 14:42:54 meerkat NetworkManager: <information>^IActivation (eth0) Stage 5 of 5 (IP Configure Commit) started...
Oct 10 14:42:54 meerkat avahi-daem...

Read more...

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Thanks for your bug report. Could you please test with a newer version of Ubuntu and see if this is still occurring?

Changed in avahi (Ubuntu):
status: New → Incomplete
Revision history for this message
graylion (graylion) wrote :

Mar 14 16:34:13 userver-idream avahi-daemon[8359]: Withdrawing address record for 172.16.2.101 on eth0.
Mar 14 16:34:13 userver-idream avahi-daemon[8359]: Leaving mDNS multicast group on interface eth0.IPv4 with address 172.16.2.101.
Mar 14 16:34:13 userver-idream avahi-daemon[8359]: Interface eth0.IPv4 no longer relevant for mDNS.
Mar 14 16:34:13 userver-idream smbd[2076]: [2010/03/14 16:34:13, 0] param/loadparm.c:7449(lp_do_parameter)
Mar 14 16:34:13 userver-idream smbd[2076]: Ignoring unknown parameter "so_rcvbuf"
Mar 14 16:34:14 userver-idream dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Mar 14 16:34:14 userver-idream dhclient: DHCPOFFER of 172.16.2.10 from 172.16.2.254
Mar 14 16:34:14 userver-idream dhclient: DHCPREQUEST of 172.16.2.10 on eth0 to 255.255.255.255 port 67
Mar 14 16:34:14 userver-idream dhclient: DHCPACK of 172.16.2.10 from 172.16.2.254
Mar 14 16:34:14 userver-idream smbd[2076]: [2010/03/14 16:34:14, 0] param/loadparm.c:7449(lp_do_parameter)
Mar 14 16:34:14 userver-idream smbd[2076]: Ignoring unknown parameter "so_rcvbuf"
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: Joining mDNS multicast group on interface eth0.IPv4 with address 172.16.2.10.
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: New relevant interface eth0.IPv4 for mDNS.
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: Registering new address record for 172.16.2.10 on eth0.IPv4.
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: Withdrawing address record for 172.16.2.10 on eth0.
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: Leaving mDNS multicast group on interface eth0.IPv4 with address 172.16.2.10.
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: Interface eth0.IPv4 no longer relevant for mDNS.
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: Joining mDNS multicast group on interface eth0.IPv4 with address 172.16.2.10.
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: New relevant interface eth0.IPv4 for mDNS.
Mar 14 16:34:14 userver-idream avahi-daemon[8359]: Registering new address record for 172.16.2.10 on eth0.IPv4.
Mar 14 16:34:14 userver-idream dhclient: bound to 172.16.2.10 -- renewal in 34014 seconds.

Revision history for this message
graylion (graylion) wrote :

Avahi did this to a statically configured IP address

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for avahi (Ubuntu) because there has been no activity for 60 days.]

Changed in avahi (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.