[Bug 84580] Re: avahi-autoipd causes failure if multiple networking stanzas exist
fname
84580 at bugs.launchpad.net
Wed Jan 27 18:41:22 UTC 2021
This fix does not working and the bug still exists. There is a race condition between the `ip route show` check and the `/bin/ip route add` command, and systemd will launch multiple `ifup` concurrently.
Maybe the failure of `/etc/network/if-up.d/avahi-autoipd` should be ignored to avoid causing problem to ifup/ifdown.
FYI, one can recover from this problem by executing `ip addr flush dev xxx`
--
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/84580
Title:
avahi-autoipd causes failure if multiple networking stanzas exist
Status in avahi package in Ubuntu:
Fix Released
Status in avahi package in Debian:
New
Bug description:
When I switch from one networking profile to another (by stopping
networking, copying new /etc/network/interfaces and other files, and
restarting networking), I notice that /etc/network/if-up.d/avahi-
autoipd complains about something and exits with status 1, causing the
ifup command to stop prematurely before configuring wireless settings.
I don't remember the exact error message, but if it is considered
important, I can trigger it again.
I've attached the /etc/network/interfaces file which causes the problem.
I suspect the problem may be due to having multiple network interfaces and bridging them (using Shorewall). Adding an "exit 0" to the beginning of /etc/network/if-up.d/avahi-autoipd allows the configuration to succeed, but I would really prefer that the problem be fixed properly.
One way of addressing this would be to put an "exit 0" line at the
very end of the file, so that any errors that occur in the "route add"
command do not cause the entire configuration process to terminate.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/84580/+subscriptions
More information about the foundations-bugs
mailing list