Package: ifupdown
Version: 0.8.35
Severity: important

Dear Maintainer,

I'm not sure if this bug should be filed against ifupdown or ifupdown2.
This issue only seems to affect current versions of these packages
in buster, I haven't encountered this in stretch.

When installing ifupdown2, apt will remove ifupdown before proceeding with
installation of ifupdown2 as the two cannot co-exist on the same system.

The problem seems to be that, following removal of ifupdown, the networking
service is stopped, and the host loses all connectivity. This behaviour is
potentially debilitating, especially when the task is performed via SSH
or via configuration management software which depends on the host
being reachable over the network to operate.

When issuing the command to install ifupdown2 over SSH the issue can be
quite easily worked around by restarting the networking service immediately
after ifupdown2 is installed:
  apt-get install ifupdown2 && systemctl restart networking

However, there seems to be no simple solution when using configuration
management (like ansible) to install ifupdown2. The relevant tasks will
hang forever upon ifupdown2 installation.

Is this deliberate? Any chance you can reconsider the actions taken
upon uninstallation of ifupdown? Thank you.

Best regards,
George Diamantopoulos

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set 
LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=locale: Cannot set LC_MESSAGES to default 
locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

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.2019031300

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>

-- Configuration Files:
/etc/default/networking changed [not included]
/etc/init.d/networking changed [not included]

Reply via email to