Comment 10 for bug 32785

Revision history for this message
Luka Renko (lure) wrote :

This is not crash of klaptopdaemon, but rather deadlock between kded/klaptop and acpi-support script. sleep.sh calls kded to query for klaptopdaemon and this query is blocked as klaptop is waiting for sleep.sh (called through pmi action sleep) to complete.

I have changed one line in sleep.sh to look like this:

if [ x$1 != xforce ] && [ `CheckPolicy` = 0 ] && [ x$1 != xsleep ]; then

and this fixed it for me (we need to check for "force" option which is used by pmi action sleep before we call CheckPolicy whihc calls kded).