[Pkg-utopia-maintainers] Bug#780872: avahi-autoipd: ifupdown script installs route when package is in deinstall/config-files state

Brian Julin BJulin at clarku.edu
Fri Mar 20 19:17:15 UTC 2015


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 at atlas:~# dpkg --status avahi-autoipd | grep Status
Status: deinstall ok config-files
root at 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 at atlas:~# route del -net 169.254.0.0/16 dev eth0
root at 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 at atlas:~# nmcli connection down "Wired connection 1"
root at atlas:~# nmcli connection up "Wired connection 1"
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6)
root at 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)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20150320/4bd7494e/attachment.html>


More information about the Pkg-utopia-maintainers mailing list