[Bug 1228154] New: NetworkManager dispatcher script does not finish before sleep, continues after resume
https://bugzilla.suse.com/show_bug.cgi?id=1228154 Bug ID: 1228154 Summary: NetworkManager dispatcher script does not finish before sleep, continues after resume Classification: openSUSE Product: openSUSE Tumbleweed Version: Slowroll Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: screening-team-bugs@suse.de Reporter: opensuse@mike.franken.de QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 876168 --> https://bugzilla.suse.com/attachment.cgi?id=876168&action=edit 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 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228154 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |songchuan.kang@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228154 https://bugzilla.suse.com/show_bug.cgi?id=1228154#c1 Jonathan Kang <songchuan.kang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |opensuse@mike.franken.de Flags| |needinfo?(opensuse@mike.fra | |nken.de) --- Comment #1 from Jonathan Kang <songchuan.kang@suse.com> --- Thanks for the report, Michael. Can you provide a more verbose NetworkManager journalctl? To do so, add the following content to /etc/NetworkManager/conf.d/logging-trace.conf. Then restart NetworkManager and reproduce this issue.
[logging] level=trace -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228154 https://bugzilla.suse.com/show_bug.cgi?id=1228154#c2 --- Comment #2 from Michael Hirmke <opensuse@mike.franken.de> --- Created attachment 876528 --> https://bugzilla.suse.com/attachment.cgi?id=876528&action=edit nm journal excerpt -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228154 https://bugzilla.suse.com/show_bug.cgi?id=1228154#c3 --- Comment #3 from Michael Hirmke <opensuse@mike.franken.de> --- With the latest Tumbleweed snapshot 20240808 the behaviour changed a bit. Now my dispatcher script completes before the final suspend. Umounting nfs shares doesn't succeed, though, because a few seconds before NM is removing the DHCP settings from the network interface. I am not sure, why the behaviour changed at all, because the latest NetworkManager rpm was not part of this snapshot, but of snapshot 20240730, and I definitively had the former behaviour til snapshot 20240808 was installed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228154 https://bugzilla.suse.com/show_bug.cgi?id=1228154#c4 --- Comment #4 from Michael Hirmke <opensuse@mike.franken.de> --- (In reply to Michael Hirmke from comment #3)
With the latest Tumbleweed snapshot 20240808 the behaviour changed a bit. Now my dispatcher script completes before the final suspend. Umounting nfs shares doesn't succeed, though, because a few seconds before NM is removing the DHCP settings from the network interface. I am not sure, why the behaviour changed at all, because the latest NetworkManager rpm was not part of this snapshot, but of snapshot 20240730, and I definitively had the former behaviour til snapshot 20240808 was installed.
The new behavior does not always accur. 1 of 5 times I still get the former behavior, where the dispatcher script is finished after resume. The problem still exist with NetworkManager-1.48.8-1.1.x86_64. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228154 https://bugzilla.suse.com/show_bug.cgi?id=1228154#c5 Jonathan Kang <songchuan.kang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #5 from Jonathan Kang <songchuan.kang@suse.com> --- I've found the culprit of this issue. I'll prepare a patch for this. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228154 https://bugzilla.suse.com/show_bug.cgi?id=1228154#c6 Jonathan Kang <songchuan.kang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jonathan Kang <songchuan.kang@suse.com> --- Fix has been submitted to GNOME:Factory, and should be available for updating soon. Closing this. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228154 https://bugzilla.suse.com/show_bug.cgi?id=1228154#c7 --- Comment #7 from Michael Hirmke <opensuse@mike.franken.de> --- Thx, problem has been solved. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com