Comment 35 for bug 1061639

Finally found a workaround, Yotas fix (#21) seemed to work fine for the time consumed shutting the system down, but i still got the bug. Eventually I found out that it only happened when I was connected to a network, so I made a small script which shuts down my network interfaces when my computer shuts down, and this did the trick.

Simply put I created: "/etc/init.d/nw.sh"

Containing: "ifconfig <interface> down" for all my physical network interfaces.

Then as root:

ln /etc/init.d/nw.sh /etc/rc0.d/K10nw.sh
ln /etc/init.d/nw.sh /etc/rc6.d/K10nw.sh

And bam! My computer was suddenly able to shut down. Hopes this helps.