[Bug 1586528] Re: Avahi-daemon withdraws address record

Philipp Hahn hahn at univention.de
Sun May 13 12:50:04 UTC 2018


I'm running Debian-Stretch 9.4 and I'm observing a similar problem that
after some time my servers disappears from the network; usually first
the IPv6 address, the usually some time later the IPv4 address, but not
always.

All computers are connected to my FritzBox 7420:
- for IPv4 I'm using the fixed address 192.168.xxx.33/24, which the FritzBox always assigns only to that host.
- for IPv6 I get a daily changing IPv6 address from my internet provider each night, which gets propagated by RA. 

The affected host is using systemd 232-25+deb9u2 and I have configured
systemd-networkd to do the network configuration:

/etc/systemd/network/40-dhcp.network
 DHCP=ipv4
 IPv6AcceptRA=yes

For now I have disabled DHCP for ipv4 and switched to a static
configuration, as it sometimes happens that the network is flacky and
does not receive an address during boot at all.

I once compiled my own version of systems with this patch included:
 <https://github.com/systemd/systemd/pull/6918/commits/7f676aa324cb5498a5f9caaaa3d51ecfe53242e0>
It is for <https://github.com/systemd/systemd/issues/5625>.

While I had that custom version running I did *not* observe those issues, but then Debian shipped a security update and since than the problem is back.
This might not be the same issue as there have been different comments in this issue mentioning ifupdown,  NetworkManager, ..., but perhaps affected users should clarify their environment, e.g. IPv4 and/or IPv6, static addresses or changing addresses/prefixes, ...

** Bug watch added: github.com/systemd/systemd/issues #5625
   https://github.com/systemd/systemd/issues/5625

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1586528

Title:
  Avahi-daemon withdraws address record

Status in avahi package in Ubuntu:
  Confirmed
Status in network-manager package in Ubuntu:
  Confirmed

Bug description:
  For some reason, if I leave my Ubuntu VM up for a prolonged period of
  time the machine will lose connection to the network.  ip addr shows
  that the nic port no longer has an address and an examination of the
  syslog shows this:

  May 27 14:19:38 matt-VirtualBox avahi-daemon[590]: Withdrawing address record for 10.0.2.15 on enp0s3.
  May 27 14:19:38 matt-VirtualBox avahi-daemon[590]: Leaving mDNS multicast group on interface enp0s3.IPv4 with address 10.0.2.15.
  May 27 14:19:38 matt-VirtualBox avahi-daemon[590]: Interface enp0s3.IPv4 no longer relevant for mDNS.

  
  for no known reason.

  The only reliable way to get the network to come back (that I have
  found) is a full reboot.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: avahi-daemon 0.6.32~rc+dfsg-1ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri May 27 15:11:34 2016
  InstallationDate: Installed on 2015-10-22 (218 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  SourcePackage: avahi
  UpgradeStatus: Upgraded to xenial on 2016-03-30 (58 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1586528/+subscriptions



More information about the foundations-bugs mailing list