GNOME Bugzilla – Bug 324980
network manager code in sleep methods should be removed
Last modified: 2020-11-06 20:14:25 UTC
network-manager should handle sleep methods by itself
This bug depends on bug 324979 of n-m
Are we going to emit a DBUS signal when we want to hibernate? What's the plan?
(In reply to comment #2) > Are we going to emit a DBUS signal when we want to hibernate? What's the plan? > My first idea is to not use a DBUS signal. In my opinion n-m should just work without having to have to receive a dbus signal. My reasoning is that hibernation will not always be done via gpm but maybe via a script or the gnome-logout dialog etc. Therefore apps IMHO should support hibernation out of the box.
So perhaps the n-m code should be shifted directly into the HAL script file that gets called when any hibernation is required. This already happend for Fedora Core Rawhide, which stops and starts the NetworkManager stuff in the pm-tools package.
That could be an option, but then again if I installed other apps they would need to modify the scripts. Can't n-m just work without being informed of hibernation? If not IMHO there should something in HAL where apps can subscribe to receive info about if the system is going to hibernate.
Should this also depend on #326644?
(In reply to comment #6) > Should this also depend on #326644? > Yes adding it as a dependency If we implement bug 326644 we should open a bug on network manager again. So that the interface gets implemented
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-power-manager/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.