On Sun, 15 Jan 2017 11:45:47 +0100
François Patte <francois.patte(a)mi.parisdescartes.fr> wrote:
[snip]
I installed the last kernel available for fedora 24 (4.8.16). When I
do not work with computer (ie. Just start it, log-in and shutdown) the
computer shutdowns normaly. If I do something (read my mail, open a
text file...) the computer is unable to shutdown. Conclusion: a
computer is not made forworking! Just have it, start it and stare at
your background image (and do not change it, or you will be unable to
shut it down!).
I see this same behavior on F25, running a 4.10 kernel. I also tried
Tom's solution of getting rid of the a11y... file. It didn't work for
me either, and I get processes complaining that it is missing.
If I let the computer sit when it says shutdown reached, about 90
seconds later it completes the shutdown. The screen flashes too
quickly for me to read what is holding up the shutdown, but it is
probably the systemd --user daemons that Tom mentions in his article.
I haven't yet experimented with changing the timeout options in a
custom file in /etc/dbus-1, but will probably do so in the future.
There has to be a way to set the timeouts for a sigterm on those
processes to be less than 90 seconds, say 10 seconds.
So, if you let your computer sit for a few minutes, it will shut down
when those processes time out.