Package: avahi-autoipd
Version: 0.6.31-4+b2
Severity: normal

Dear Maintainer,

The avahi-autoipd package places a script in /etc/network/if-up.d.

When the avahi-autoipd package is removed, but not purged, this script
still alters the state of the system, because it performs no checks to
ensure that avahi-autoipd is installed before adding routes.

Please have the script check that avahi-autoipd is installed and
exit without taking any actions if it is not in an installed state.


root@atlas:~# dpkg --status avahi-autoipd | grep Status
Status: deinstall ok config-files
root@atlas:~# ip route show
default via XXX.YYY.0.1 dev eth0  proto static  metric 1024
XXX.YYY.0.0/24 dev eth0  proto kernel  scope link  src XXX.YYY.0.70
XXX.YYY.1.ZZ via XXX.YYY.0.1 dev eth0  proto dhcp  metric 1
169.254.0.0/16 dev eth0  scope link  metric 1000
root@atlas:~# route del -net 169.254.0.0/16 dev eth0
root@atlas:~# ip route show
default via XXX.YYY.0.1 dev eth0  proto static  metric 1024
XXX.YYY.0.0/24 dev eth0  proto kernel  scope link  src XXX.YYY.0.70
XXX.YYY.1.ZZ via XXX.YYY.0.1 dev eth0  proto dhcp  metric 1
root@atlas:~# nmcli connection down "Wired connection 1"
root@atlas:~# nmcli connection up "Wired connection 1"
Connection successfully activated (D-Bus active path: 
/org/freedesktop/NetworkManager/ActiveConnection/6)
root@atlas:~# ip route show
default via XXX.YYY.0.1 dev eth0  proto static  metric 1024
XXX.YYY.0.0/24 dev eth0  proto kernel  scope link  src XXX.YYY.0.70
XXX.YYY.1.ZZ via XXX.YYY.0.1 dev eth0  proto dhcp  metric 1
169.254.0.0/16 dev eth0  scope link  metric 1000
^^^^^^^^^^^^^^

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to