On Samstag, 13. Juli 2024 19:06:31 MESZ Andrei Borzenkov wrote:
On 13.07.2024 19:25, mh@mike.franken.de wrote:
On Samstag, 13. Juli 2024 17:44:54 MESZ Andrei Borzenkov wrote:
On 13.07.2024 18:42, mh@mike.franken.de wrote: [...] But: No, the system takes another about 50 seconds to finally enter sleep state. Even systemd scripts in /usr/lib/systemd/system-sleep/ are started and finished afterwards.
User processes get frozen rather early.
Is NetworkManager-dispatcher really a user process?
And whats more: It worked for at least a few years without any problems. As I also wrote, the problems started with the before last NM version. My script didn't change in the last months. My conclusion: Something must have changed in NM.
It is possible. I am not sure whether NM blocks suspend until all scripts are completed. Are you sure script simply is not started again on resume?
Yes, in my log I call date at start an end: 01-mh_dispatch-enp62s0-pre-down.log: + /bin/date Fri Jul 12 00:33:09 CEST 2024 ... ... + /bin/date Fri Jul 12 10:27:42 CEST 2024