Bug 1228154

Summary: NetworkManager dispatcher script does not finish before sleep, continues after resume
Product: [openSUSE] openSUSE Tumbleweed Reporter: Michael Hirmke <opensuse>
Component: NetworkAssignee: E-mail List <screening-team-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Slowroll   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: journal excerpt

Description Michael Hirmke 2024-07-19 20:13:11 UTC
Created attachment 876168 [details]
journal excerpt

Starting with the one of the latest NetworkManager (1.46, 1.48?) versions, my dispatcher script does not finish when going to sleep. It finishes on resume, though, 
causing some strange effects. For example it is umounting one or two nfs shares before sleep, but for the third one it says "server not responding". All remaining shares stay mounted until the system is resumed. Then the remaining shares are umounted and NetworkManager takes the interface down, only to bring it up again a second later.
The runtime of my script is 1 or 2 seconds only, so this seems not to be a problem of hitting the dispatcher timeout, but on the other hand this does not happen, if I remove the nfs umounts.
My script and the configuration worked for years, and nothing changed besides the NM version (and all the other parts of Tumbleweed).

System is:

Operating System: openSUSE Tumbleweed 20240716
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15,0 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Dell Inc.
Product Name: XPS 13 9310 2-in-1