leamas / lpf

lpf - Local Package Factory
MIT License
63 stars 6 forks source link

lpf-notify and inotifywait not stopping on shutdown #32

Open relegit opened 8 years ago

relegit commented 8 years ago

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 commented 3 years ago

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.