Package: ifupdown Version: 0.8.35 Severity: important File: /var/lib/dpkg/info/ifupdown.prerm
Dear Maintainer, When removing the ifupdown package, for example if one replaces it with ifupdown2, the premrm script will execute a `systemctl stop` to the 'networking.service'. If one is connect to the host over network (e.g., SSH), the connection is broken during this removal/replacement. This is really no ideal, especially if one has no other access to this host available. Simple reproducer could be: # apt install ifudown2 It would be great if the stop of 'networking.services' would be avoided, similar to how the start on upgrade or installation is avoided. I'd expect that such deep network changes are only fully applied automatically on the next reboot, or by a manual triggered process. I reported this as important, even if the description from `reportbug` may not fully match that, but I still found me in a bit troubling situation when I encountered this, so IMO it's justified - but feel free to adjust as deemed right, I'm no maintainer after all :) thanks & cheers, Thomas -- Package-specific info: --- /etc/network/interfaces: auto lo iface lo inet loopback iface enp1s0f0 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.30.75 netmask 255.255.240.0 gateway 192.168.16.1 bridge_ports enp1s0f0 bridge_stp off bridge_fd 0 iface enp1s0f1 inet manual iface enp3s0 inet manual mtu 9000 iface enp4s0 inet manual mtu 9000 auto bond0 iface bond0 inet static address 10.11.1.1/24 mtu 9000 slaves enp4s0 enp3s0 bond_miimon 100 bond_mode broadcast --- up and down scripts installed: /etc/network/if-down.d: total 4 -rwxr-xr-x 1 root root 800 Apr 1 2019 postfix /etc/network/if-post-down.d: total 8 lrwxrwxrwx 1 root root 29 Jan 28 2019 bridge -> /lib/bridge-utils/ifupdown.sh -rwxr-xr-x 1 root root 1714 Sep 27 2016 ifenslave -rwxr-xr-x 1 root root 762 Jul 15 18:37 vlan /etc/network/if-pre-up.d: total 16 lrwxrwxrwx 1 root root 29 Jan 28 2019 bridge -> /lib/bridge-utils/ifupdown.sh -rwxr-xr-x 1 root root 344 Jun 30 2016 ethtool -rwxr-xr-x 1 root root 6298 Sep 27 2016 ifenslave -rwxr-xr-x 1 root root 1163 Jul 15 18:37 vlan /etc/network/if-up.d: total 24 -rwxr-xr-x 1 root root 902 Jul 15 18:37 bridgevlan -rwxr-xr-x 1 root root 409 Jul 15 18:37 bridgevlanport -rwxr-xr-x 1 root root 1685 Jun 30 2016 ethtool -rwxr-xr-x 1 root root 1741 Sep 27 2016 ifenslave -rwxr-xr-x 1 root root 236 Jul 15 18:37 mtu -rwxr-xr-x 1 root root 1117 Apr 1 2019 postfix -- System Information: Debian Release: 10.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.3.10-1-pve (SMP w/4 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ifupdown depends on: ii adduser 3.118 ii iproute2 4.20.0-2 ii libc6 2.28-10 ii lsb-base 10.2019051400 Versions of packages ifupdown recommends: ii isc-dhcp-client [dhcp-client] 4.4.1-2 Versions of packages ifupdown suggests: pn ppp <none> pn rdnssd <none> -- no debconf information