systemd snapshot/revert: does it restore network devices after a failed upgrade?
0 reputation · 17 Dec 2025, 01:51 UTC
Network device state after systemctl revert
The goal is to recover a system to its pre‑upgrade state using systemctl snapshot and systemctl revert. While the snapshot captures services and unit states, it does not snapshot the kernel networking stack or device names. After a revert, the network stack may re‑assign interface names, MAC addresses, or leave /etc/resolv.conf altered by NetworkManager or systemd‑networkd. The uncertainty lies in whether the revert restores the original device names and DNS configuration automatically, and how to verify the network is truly functional again.
Specifically:
- Does
systemctl revertautomatically restore the original network device names and MAC addresses that existed before the snapshot? - If not, what manual steps are required to reconcile the device names after a revert?
- How can one verify that DNS configuration (
/etc/resolv.conf) matches the pre‑upgrade state after the revert?