I guess i have found cause and solution. It's timeout.  
In logs after running system with systemd.log_level=debug I have:

Mar 09 21:45:25 misio systemd[1]: 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap: 
Forked /sbin/swapoff as 4403
...
And exactly 90s later:

Mar 09 21:46:55 misio systemd[1]: 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap: 
Deactivation timed out. Stopping.
Mar 09 21:46:55 misio systemd[1]: 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap: 
Changed deactivating -> deactivating-sigterm
Mar 09 21:46:55 misio systemd[1]: Received SIGCHLD from PID 4403 (swapoff).
Mar 09 21:46:55 misio systemd[1]: Child 4403 (swapoff) died (code=killed, 
status=15/TERM)
Mar 09 21:46:55 misio systemd[1]: 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap: 
Child 4403 belongs to 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap
Mar 09 21:46:55 misio systemd[1]: 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap: Swap 
process exited, code=killed status=15
Mar 09 21:46:55 misio systemd[1]: 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap: 
Changed deactivating-sigterm -> failed
Mar 09 21:46:55 misio systemd[1]: 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap: Job 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap/stop 
finished, result=done
Mar 09 21:46:55 misio systemd[1]: Deactivated swap 
/dev/disk/by-uuid/f7d9f751-c42a-40cf-bfb1-218c90c07b10.
Mar 09 21:46:55 misio systemd[1]: 
dev-disk-by\x2duuid-f7d9f751\x2dc42a\x2d40cf\x2dbfb1\x2d218c90c07b10.swap: Unit 
entered failed state.

Systemd has commented out ShutdownWatchdogSec=90s in /etc/systemd/system.conf.
I guess that means default value.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1464917

Title:
  reboot hangs at 'Reached target Shutdown'

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1464917/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to