[Networkmanager] pre-down before suspend?
Thomas Haller
thaller at redhat.com
Thu Mar 9 16:04:05 UTC 2023
On Sat, 2023-03-04 at 15:39 +0100, mh at mike.franken.de wrote:
> Hi *,
>
> are pre-down scripts supposed to work on suspend/hibernate using nm
> 1.42.2?
> On my machine all pre-up.d/* scripts are fired after resume, but none
> of the
> pre-down.d/* scripts on suspend/hibernate.
Hi,
I think they are supposed to run, if NetworkManager takes the interface
down. Note that there are cases, where NM would leave the interface
intentionally up, for example, if wake-on-lan is configured.
In any case, the behavior may be wrong there. A bug report or a patch
might help.
Thomas
More information about the Networkmanager
mailing list