Package: ifupdown Version: 0.8.2 Severity: serious Justification: fail to configure itself
Hi, I just upgraded ifupdown and it fails to configure itself. I've added "set -x" to /var/lib/dpkg/info/ifupdown.postinst and a final "echo done $?" at the end of /lib/systemd/systemd-sysv-install. Here are the results: # LC_ALL=C dpkg -a --configure Setting up ifupdown (0.8.2) ... + MYNAME=ifupdown.postinst + [ configure = configure ] + addgroup --quiet --system netdev + [ configure = configure ] + [ ! -f /etc/network/interfaces ] + [ configure = configure ] + [ -x /etc/init.d/networking ] + update-rc.d networking defaults + [ configure = configure ] + [ -e /etc/udev/rules.d/z60_ifupdown.rules ] + dpkg-maintscript-helper rm_conffile /etc/default/ifupdown 0.7~+ ifupdown -- configure 0.7.54 + dpkg-maintscript-helper rm_conffile /etc/init.d/ifupdown 0.7~+ ifupdown -- configure 0.7.54 + dpkg-maintscript-helper rm_conffile /etc/init.d/ifupdown-clean 0.7~beta1 ifupdown -- configure 0.7.54 + [ configure = configure -a -e /bin/systemctl ] + [ -z 0.7.54 ] + dpkg --compare-versions 0.7.54 lt 0.8 + echo Enabling networking.service. Enabling networking.service. + systemctl enable networking.service Synchronizing state of networking.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable networking done 0 Failed to execute operation: File exists dpkg: error processing package ifupdown (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: ifupdown # So, something is wrong with the "systemctl enable networking.service" call but is is not the /lib/systemd/systemd-sysv-install invocation. Using "strace -f -o /tmp/strace.out2 systemctl enable networking.service" did not help me to find which file is already existing. Regards, Vincent -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel Kernel: Linux 4.3.0-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ifupdown depends on: ii adduser 3.113+nmu3 ii iproute2 4.3.0-1 ii libc6 2.19-22 ii lsb-base 9.20150917 Versions of packages ifupdown recommends: ii isc-dhcp-client [dhcp-client] 4.3.3-5 Versions of packages ifupdown suggests: ii ppp 2.4.7-1+1 pn rdnssd <none> -- no debconf information