Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lpf-notify and inotifywait not stopping on shutdown #32

Open
relegit opened this issue Apr 4, 2016 · 2 comments
Open

lpf-notify and inotifywait not stopping on shutdown #32

relegit opened this issue Apr 4, 2016 · 2 comments

Comments

@relegit
Copy link

relegit commented Apr 4, 2016

I'm trying to figure out why my shutdown process became very slow and I noticed that lpf-notify and inotifywait get SIGKILLed -- which means they don't quit normally
Indeed, trying to kill them manually while inside the UI session doesn't work:

[root@laptop ~]# pgrep -fa lpf
2005 /bin/bash /usr/share/lpf/scripts/lpf-notify notify-watch /usr/share/lpf/scripts/notify
2287 inotifywait -q -q -e moved_to /var/lib/lpf/notify
[root@laptop ~]# kill 2005 2287
[root@laptop ~]# pgrep -fa lpf
2005 /bin/bash /usr/share/lpf/scripts/lpf-notify notify-watch /usr/share/lpf/scripts/notify
2287 inotifywait -q -q -e moved_to /var/lib/lpf/notify
@quitefrasmotic
Copy link

This is still an issue - my shutdown went from several seconds to over 2 minutes~ until I realised it was this package causing the lockup. Using Fedora 34, recently freshly installed.

@ionutbortis
Copy link

ionutbortis commented Jan 19, 2025

+1 on Fedora 41...

Jan 20 00:41:23 VivoBook systemd[1297]: app-gnome-lpf\x2dnotify-1792.scope: Stopping timed out. Killing.
Jan 20 00:41:23 VivoBook systemd[1297]: app-gnome-lpf\x2dnotify-1792.scope: Killing process 1792 (lpf-notify) with signal SIGKILL.
Jan 20 00:41:23 VivoBook systemd[1297]: app-gnome-lpf\x2dnotify-1792.scope: Killing process 2137 (inotifywait) with signal SIGKILL.
Jan 20 00:41:23 VivoBook systemd[1297]: app-gnome-lpf\x2dnotify-1792.scope: Failed with result 'timeout'.

It seems that the problem goes away if you go to the lpf-gui app and uncheck the Enable Notifications option from the Notifications menu.
I guess that you won't get updates notifications any more but it's better than having to wait 90 seconds extra for each shutdown...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants