[Networkmanager] pre-down before suspend?
mh at mike.franken.de
mh at mike.franken.de
Thu Mar 9 20:20:08 UTC 2023
On Donnerstag, 9. März 2023 17:04:05 CET Thomas Haller wrote:
> 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.
That was the important hint!
wol was configured for this ethernet device.
After disabling wol, the pre-down scripts were fired as expected.
>
> In any case, the behavior may be wrong there. A bug report or a patch
> might help.
brain bug :)
>
>
> Thomas
Thx and bye.
Michael.
More information about the Networkmanager
mailing list