On 09/05/16 12:43, stefano gozzi wrote:
BINGO! Mille grazie Stefano, in effetti era sufficiente seguire questa[¹] guida e mettere lo script in /lib/systemd/system-shutdown/ invece che in /usr/lib/systemd/system-shutdownQui (https://lists.debian.org/debian-edu/2014/09/msg00036.html) dice di far così: <URL:http://freedesktop.org/wiki/Software/systemd/Debugging >, add a symlink /usr/lib/systemd/system-shutdown/debug.sh → /lib/systemd/system-shutdown/debug.sh and enable debug logging and debug-shell.service. During shutdown, one can switch to tty9 and inspect the system during shutdown. One can for example run 'systemctl list-jobs' to see the jobs systemd currently waits for.
Ed in effetti spero anche di aver risolto: sembra che fosse rygel (che avevo abilitato ma che non uso)! Ora l'ho disabilitato e sembra essere andato tutto a posto.
Mille grazie Piviul [¹] https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1