Netplan try rollback behavior during SSH session timeouts
22.2K reputation · 13 Feb 2020, 13:46 UTC
Network Configuration Safety Mechanism
Ubuntu uses Netplan as a declarative abstraction layer to manage network settings via backend renderers such as systemd-networkd or NetworkManager. To prevent permanent loss of connectivity during remote configuration changes, the netplan try command implements a timeout-based rollback mechanism.
Configuration Uncertainty
There is a specific interaction between the netplan try timer and active SSH sessions. While the utility is designed to prevent lockouts, the exact behavior when a session is interrupted or when multiple concurrent sessions exist during the confirmation window is not fully defined in the standard documentation.
- Does the rollback timer reset or persist if an SSH session drops before the user provides confirmation?
- How does the utility determine the primary session for confirmation in a multi-user environment?