GNOME Bugzilla – Bug 764474
[review] refactor writing state file by moving from NMManager to NMConfig [th/run-state-to-nm-config-bgo764474]
Last modified: 2016-04-07 08:17:17 UTC
Currently, our statefile is quite sparse: cat /var/lib/NetworkManager/NetworkManager.state [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true But for bug 746440, we will need to store more state, including per-device-state. Move the handling of the run-state file to NMConfig to NMManager. It will fit there well. Please review.
LGTM (pushed trivial fixup)
Thanks. Merged to master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=1b43c880ba43260fe551b0ac923826f16737484f (now, I think for bug 746440 we will not store device state to /var/lib, but instead /run. Thus, the original motivation for this patch is no longer there. I still like it though and thus it got merged).