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