Systemd doesn't umount (encrypted) /home and /tmp on shutdown

Hi all,
as this is my first post in this BBS, I hope I'm actually posting in the correct forum. I also did some research but couldn't really find answers.
I have a problem with systemd on shutdown. It doesn't unmount my encrypted home partition (and does not close the LUKS partition) and the /tmp partition. The corresponding output from journalctl would be this:
Oct 09 16:08:18 failenovo systemd[1]: Stopping Local File Systems.
Oct 09 16:08:18 failenovo systemd[1]: Stopped target Local File Systems.
Oct 09 16:08:18 failenovo systemd[1]: Unmounting /data...
Oct 09 16:08:18 failenovo systemd[1]: Unmounting /boot...
Oct 09 16:08:18 failenovo systemd[1]: Unmounting /home...
Oct 09 16:08:18 failenovo umount[3995]: umount: /home: target is busy.
Oct 09 16:08:18 failenovo umount[3995]: (In some cases useful info about processes that use
Oct 09 16:08:18 failenovo umount[3995]: the device is found by lsof(8) or fuser(1))
Oct 09 16:08:18 failenovo systemd[1]: Unmounting Temporary Directory...
Oct 09 16:08:18 failenovo systemd[1]: home.mount mount process exited, code=exited status=32
Oct 09 16:08:18 failenovo systemd[1]: Failed unmounting /home.
Oct 09 16:08:18 failenovo systemd[1]: Stopping File System Check on /dev/disk/by-uuid/a9395b0a-e3f8-41d7-9feb-d433173fd5ab...
Oct 09 16:08:18 failenovo systemd[1]: Stopped File System Check on /dev/disk/by-uuid/a9395b0a-e3f8-41d7-9feb-d433173fd5ab.
Oct 09 16:08:18 failenovo systemd[1]: Stopping /sys/devices/virtual/block/dm-1.
Oct 09 16:08:18 failenovo systemd[1]: Deactivated swap /dev/sda1.
Oct 09 16:08:18 failenovo systemd[1]: Unmounted /boot.
Oct 09 16:08:18 failenovo systemd[1]: Deactivated swap /dev/disk/by-partuuid/28e18189-6b46-40b5-82f8-d550ee3df47a.
Oct 09 16:08:18 failenovo systemd[1]: Deactivated swap /dev/disk/by-partlabel/Linux\x20swap.
Oct 09 16:08:18 failenovo systemd[1]: Deactivated swap /dev/disk/by-id/wwn-0x5000cca615e3f206-part1.
Oct 09 16:08:18 failenovo systemd[1]: Deactivated swap /dev/disk/by-id/ata-HITACHI_HTS543232A7A384_E2434243JK29XK-part1.
Oct 09 16:08:18 failenovo systemd[1]: Deactivated swap /dev/disk/by-uuid/4903864c-36f8-4f05-a722-ed726c9ae492.
Oct 09 16:08:18 failenovo umount[3997]: umount: /tmp: target is busy.
Oct 09 16:08:18 failenovo umount[3997]: (In some cases useful info about processes that use
Oct 09 16:08:18 failenovo umount[3997]: the device is found by lsof(8) or fuser(1))
Oct 09 16:08:18 failenovo systemd[1]: tmp.mount mount process exited, code=exited status=32
Oct 09 16:08:18 failenovo systemd[1]: Failed unmounting Temporary Directory.
Oct 09 16:08:18 failenovo systemd[1]: Unmounted /data.
Oct 09 16:08:18 failenovo systemd[1]: Stopping Local File Systems (Pre).
Oct 09 16:08:18 failenovo systemd[1]: Stopped target Local File Systems (Pre).
Oct 09 16:08:18 failenovo systemd[1]: Stopping Remount Root and Kernel File Systems...
Oct 09 16:08:18 failenovo systemd[1]: Stopped Remount Root and Kernel File Systems.
Oct 09 16:08:18 failenovo systemd[1]: Starting Shutdown.
Oct 09 16:08:18 failenovo systemd[1]: Reached target Shutdown.
Oct 09 16:08:23 failenovo systemd-cryptsetup[3989]: Failed to deactivate: Device or resource busy
Oct 09 16:08:23 failenovo systemd[1]: [email protected]: control process exited, code=exited status=1
Oct 09 16:08:23 failenovo systemd[1]: Stopped Cryptography Setup for home.
Oct 09 16:08:23 failenovo systemd[1]: Unit [email protected] entered failed state.
Oct 09 16:08:23 failenovo systemd[1]: Starting Unmount All Filesystems.
Oct 09 16:08:23 failenovo systemd[1]: Reached target Unmount All Filesystems.
Now, with the usual sysv-init this wouldn't be a problem but with systemd (which I'm new to) this poses a problem. I don't know where to start debugging this issue, really. I haven't found a way to run a script directly before and after the umount.target units starts so I can't really see which files are open or what the problem is at this point.
Is it possible to drop to a shell on such errors and inspect the problem manually? Or does anyone have a suggestion why systemd doesn't want to unmount these filesystems?
Here's my /etc/fstab:
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/mapper/root LABEL=ROOT
UUID=27fed041-7765-4f63-a895-a7592113165b / ext4 rw,relatime,data=ordered,discard 0 1
# /dev/mapper/home LABEL=HOME
UUID=a9395b0a-e3f8-41d7-9feb-d433173fd5ab /home ext4 rw,relatime,data=ordered,discard 0 2
# /dev/sdb1
UUID=1573-8C74 /boot/ vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sda1 LABEL=SWAP
UUID=f5097167-6e12-4548-8bef-5f83942a1848 none swap defaults 0 0
# /dev/sda2 LABEL=DATA
UUID=dffd1518-d3b5-4d05-8b13-76e6fd841963 /data ext4 defaults 0 2
and my /etc/crypttab:
# <name> <device> <password> <options>
home UUID=01f3da5d-1ca0-4bf2-b5a1-cfe69c597707 /etc/keys/home.key luks,discard
If you need more information, please do tell! Thanks in advance.
Cheers,
gegenschall

I think the /home part of the issue for me is at least partially due to how I have mpd configured.  I start it with my X session and it persists after I log out, keeping a few files in my home folder open.  If I make sure it is not running, log out to LightDM, and use its menu to reboot, I do not get a journal message about /home.  If I kill mpd, but instead issue a `systemctl reboot/poweroff` command from a terminal in X, the problem returns.  Is this normal?  I guess I expected everything to be automatically cleaned up.
/tmp, on the other hand, remains a mystery.  If I remove it from my /etc/fstab - to use the default tmp.mount (tmpfs) systemd provides - the problem goes away.  But if I keep it as is, and do something silly like replace /bin/umount with this:
#!/bin/sh
/bin/test "$1" = "/tmp" && /bin/date -Ins >> /umount-tmp.log
/bin/test "$1" = "/tmp" && /bin/lsof /tmp >> /umount-tmp.log
/bin/umount.real "$@"
all I get is a list of times.
Also, I tried following the steps here (Shutdown Completes Eventually), but the output mostly mirrors what I get from journalctl:
[ 219.132058] systemd[1]: Stopping Local File Systems.
[ 219.132062] systemd[1]: local-fs.target changed active -> dead
[ 219.132066] systemd[1]: Job local-fs.target/stop finished, result=done
[ 219.132091] systemd[1]: Stopped target Local File Systems.
[ 219.132103] systemd[1]: Unmounting /home...
[ 219.132136] systemd[1]: About to execute: /bin/umount /home
[ 219.132329] systemd[1]: Forked /bin/umount as 908
[ 219.132402] systemd[1]: home.mount changed mounted -> unmounting
[ 219.132427] systemd[1]: Unmounting /storage...
[ 219.132480] systemd[1]: About to execute: /bin/umount /storage
[ 219.132735] systemd[1]: Forked /bin/umount as 909
[ 219.132805] systemd[1]: storage.mount changed mounted -> unmounting
[ 219.132825] systemd[1]: Unmounting /tmp...
[ 219.132872] systemd[1]: About to execute: /bin/umount /tmp
[ 219.133047] systemd[1]: Forked /bin/umount as 910
[ 219.133109] systemd[1]: tmp.mount changed mounted -> unmounting
[ 219.133136] systemd[1]: Unmounting /boot...
[ 219.133190] systemd[1]: About to execute: /bin/umount /boot
[ 219.133355] systemd[909]: Executing: /bin/umount /storage
[ 219.133388] systemd[1]: Forked /bin/umount as 911
[ 219.133452] systemd[1]: boot.mount changed mounted -> unmounting
[ 219.133676] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.134256] systemd[906]: Executing: /usr/lib/systemd/systemd-random-seed save
[ 219.134550] systemd[908]: Executing: /bin/umount /home
[ 219.135143] systemd[1]: Received SIGCHLD from PID 906 (systemd-random-).
[ 219.135170] systemd[1]: Got SIGCHLD for process 906 (systemd-random-)
[ 219.135222] systemd[1]: Child 906 died (code=exited, status=0/SUCCESS)
[ 219.135226] systemd[1]: Child 906 belongs to systemd-random-seed.service
[ 219.135235] systemd[1]: systemd-random-seed.service: control process exited, code=exited status=0
[ 219.135292] systemd[907]: Executing: /sbin/swapoff /dev/dm-2
[ 219.135462] systemd[910]: Executing: /bin/umount /tmp
[ 219.135487] systemd[1]: systemd-random-seed.service got final SIGCHLD for state stop
[ 219.135528] systemd[1]: systemd-random-seed.service changed stop -> dead
[ 219.135582] systemd[911]: Executing: /bin/umount /boot
[ 219.135622] systemd[1]: Job systemd-random-seed.service/stop finished, result=done
[ 219.135666] systemd[1]: Stopped Load/Save Random Seed.
[ 219.135695] systemd[1]: Unmounting /var...
[ 219.135730] systemd[1]: About to execute: /bin/umount /var
[ 219.135974] systemd[1]: Forked /bin/umount as 914
[ 219.136050] systemd[1]: var.mount changed mounted -> unmounting
[ 219.136290] systemd[1]: Accepted connection on private bus.
[ 219.136332] systemd[1]: Accepted connection on private bus.
[ 219.136529] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.136584] systemd[914]: Executing: /bin/umount /var
[ 219.136890] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.137193] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.137222] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.175076] systemd[1]: Received SIGCHLD from PID 754 (sudo).
[ 219.175102] systemd[1]: Got SIGCHLD for process 754 (sudo)
[ 219.175155] systemd[1]: Child 754 died (code=exited, status=129/n/a)
[ 219.200239] systemd[1]: Received SIGCHLD from PID 910 (umount).
[ 219.200267] systemd[1]: Got SIGCHLD for process 908 (umount)
[ 219.200338] systemd[1]: Child 908 died (code=exited, status=32/n/a)
[ 219.200342] systemd[1]: Child 908 belongs to home.mount
[ 219.200347] systemd[1]: home.mount mount process exited, code=exited status=32
[ 219.200357] systemd[1]: home.mount changed unmounting -> mounted
[ 219.200362] systemd[1]: Job home.mount/stop finished, result=failed
[ 219.200407] systemd[1]: Failed unmounting /home.
[ 219.200454] systemd[1]: Got SIGCHLD for process 910 (umount)
[ 219.200524] systemd[1]: Child 910 died (code=exited, status=32/n/a)
[ 219.200527] systemd[1]: Child 910 belongs to tmp.mount
[ 219.200532] systemd[1]: tmp.mount mount process exited, code=exited status=32
[ 219.200540] systemd[1]: tmp.mount changed unmounting -> mounted
[ 219.200544] systemd[1]: Job tmp.mount/stop finished, result=failed
[ 219.200571] systemd[1]: Failed unmounting /tmp.
[ 219.200607] systemd[1]: Got SIGCHLD for process 914 (umount)
[ 219.200666] systemd[1]: Child 914 died (code=exited, status=32/n/a)
[ 219.200669] systemd[1]: Child 914 belongs to var.mount
[ 219.200673] systemd[1]: var.mount mount process exited, code=exited status=32
[ 219.200681] systemd[1]: var.mount changed unmounting -> mounted
[ 219.200685] systemd[1]: Job var.mount/stop finished, result=failed
[ 219.200711] systemd[1]: Failed unmounting /var.
[ 219.200737] systemd[1]: Stopping File System Check on /dev/disk/by-uuid/98691163-fffa-4321-984c-3ba237083524...
[ 219.200763] systemd[1]: systemd-fsck@dev-disk-by\x2duuid-98691163\x2dfffa\x2d4321\x2d984c\x2d3ba237083524.service changed exited -> dead
[ 219.200769] systemd[1]: Job systemd-fsck@dev-disk-by\x2duuid-98691163\x2dfffa\x2d4321\x2d984c\x2d3ba237083524.service/stop finished, result=done
[ 219.200797] systemd[1]: Stopped File System Check on /dev/disk/by-uuid/98691163-fffa-4321-984c-3ba237083524.
[ 219.200816] systemd[1]: Redirecting stop request from dev-disk-by\x2duuid-98691163\x2dfffa\x2d4321\x2d984c\x2d3ba237083524.device to sys-devices-virtual-block-dm\x2d6.device.
[ 219.200823] systemd[1]: Stopping /sys/devices/virtual/block/dm-6.
[ 219.200876] systemd[1]: Accepted connection on private bus.
[ 219.201099] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.201186] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.201483] systemd[1]: Accepted connection on private bus.
[ 219.201642] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.201716] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.204043] systemd[1]: Accepted connection on private bus.
[ 219.204142] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.204219] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.234497] systemd[1]: dev-mapper-linux\x2dswap.swap changed active -> dead
[ 219.234606] systemd[1]: Job dev-mapper-linux\x2dswap.swap/stop finished, result=done
[ 219.234657] systemd[1]: Deactivated swap /dev/mapper/linux-swap.
[ 219.234674] systemd[1]: dev-linux-swap.swap changed active -> dead
[ 219.234751] systemd[1]: Job dev-linux-swap.swap/stop finished, result=done
[ 219.234805] systemd[1]: Deactivated swap /dev/linux/swap.
[ 219.234815] systemd[1]: dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dDevEGGWf3oc8GE2g06c6XaLVUQEgo9cTTSwqNIhBSQfWKqAKYdL5kKqo0rCZ38xZ.swap changed active -> dead
[ 219.234970] systemd[1]: Job dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dDevEGGWf3oc8GE2g06c6XaLVUQEgo9cTTSwqNIhBSQfWKqAKYdL5kKqo0rCZ38xZ.swap/stop finished, result=done
[ 219.235007] systemd[1]: Deactivated swap /dev/disk/by-id/dm-uuid-LVM-DevEGGWf3oc8GE2g06c6XaLVUQEgo9cTTSwqNIhBSQfWKqAKYdL5kKqo0rCZ38xZ.
[ 219.235017] systemd[1]: dev-disk-by\x2did-dm\x2dname\x2dlinux\x2dswap.swap changed active -> dead
[ 219.235097] systemd[1]: Job dev-disk-by\x2did-dm\x2dname\x2dlinux\x2dswap.swap/stop finished, result=done
[ 219.235126] systemd[1]: Deactivated swap /dev/disk/by-id/dm-name-linux-swap.
[ 219.235135] systemd[1]: dev-disk-by\x2duuid-f8b1e59e\x2d9804\x2d44f0\x2daf79\x2d66810ee49206.swap changed active -> dead
[ 219.235214] systemd[1]: Job dev-disk-by\x2duuid-f8b1e59e\x2d9804\x2d44f0\x2daf79\x2d66810ee49206.swap/stop finished, result=done
[ 219.235244] systemd[1]: Deactivated swap /dev/disk/by-uuid/f8b1e59e-9804-44f0-af79-66810ee49206.
[ 219.235297] systemd[1]: Received SIGCHLD from PID 907 (swapoff).
[ 219.235323] systemd[1]: Got SIGCHLD for process 907 (swapoff)
[ 219.235390] systemd[1]: Child 907 died (code=exited, status=0/SUCCESS)
[ 219.235394] systemd[1]: Child 907 belongs to dev-dm\x2d2.swap
[ 219.235399] systemd[1]: dev-dm\x2d2.swap swap process exited, code=exited status=0
[ 219.235410] systemd[1]: dev-dm\x2d2.swap changed deactivating -> dead
[ 219.235956] systemd[1]: Job dev-dm\x2d2.swap/stop finished, result=done
[ 219.236044] systemd[1]: Deactivated swap /dev/dm-2.
[ 219.236131] systemd[1]: Got SIGCHLD for process 911 (umount)
[ 219.236192] systemd[1]: Child 911 died (code=exited, status=0/SUCCESS)
[ 219.236196] systemd[1]: Child 911 belongs to boot.mount
[ 219.236201] systemd[1]: boot.mount mount process exited, code=exited status=0
[ 219.236210] systemd[1]: boot.mount changed unmounting -> dead
[ 219.236294] systemd[1]: Job boot.mount/stop finished, result=done
[ 219.236322] systemd[1]: Unmounted /boot.
[ 219.236360] systemd[1]: Received SIGCHLD from PID 911 (n/a).
[ 219.236413] systemd[1]: Accepted connection on private bus.
[ 219.236551] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.237196] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.237321] systemd[1]: Accepted connection on private bus.
[ 219.237463] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.237814] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.238324] systemd[1]: Received SIGCHLD from PID 909 (umount).
[ 219.238348] systemd[1]: Got SIGCHLD for process 909 (umount)
[ 219.238404] systemd[1]: Child 909 died (code=exited, status=0/SUCCESS)
[ 219.238407] systemd[1]: Child 909 belongs to storage.mount
[ 219.238412] systemd[1]: storage.mount mount process exited, code=exited status=0
[ 219.238420] systemd[1]: storage.mount changed unmounting -> dead
[ 219.238509] systemd[1]: Job storage.mount/stop finished, result=done
[ 219.238540] systemd[1]: Unmounted /storage.
[ 219.238556] systemd[1]: Stopping Local File Systems (Pre).
[ 219.238562] systemd[1]: local-fs-pre.target changed active -> dead
[ 219.238566] systemd[1]: Job local-fs-pre.target/stop finished, result=done
[ 219.238592] systemd[1]: Stopped target Local File Systems (Pre).
[ 219.238604] systemd[1]: Stopping Remount Root and Kernel File Systems...
[ 219.238627] systemd[1]: systemd-remount-fs.service changed exited -> dead
[ 219.238631] systemd[1]: Job systemd-remount-fs.service/stop finished, result=done
[ 219.238656] systemd[1]: Stopped Remount Root and Kernel File Systems.
[ 219.238673] systemd[1]: Starting Shutdown.
[ 219.238676] systemd[1]: shutdown.target changed dead -> active
[ 219.238679] systemd[1]: Job shutdown.target/start finished, result=done
[ 219.238703] systemd[1]: Reached target Shutdown.
[ 219.239263] systemd[1]: Accepted connection on private bus.
[ 219.239382] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.239752] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 219.630816] systemd[1]: Received SIGCHLD from PID 486 (at-spi-bus-laun).
[ 219.630840] systemd[1]: Got SIGCHLD for process 486 (at-spi-bus-laun)
[ 219.630896] systemd[1]: Child 486 died (code=exited, status=0/SUCCESS)
[ 219.668697] systemd[1]: Received SIGCHLD from PID 449 (X).
[ 219.668725] systemd[1]: Got SIGCHLD for process 449 (X)
[ 219.668781] systemd[1]: Child 449 died (code=exited, status=0/SUCCESS)
[ 219.669379] systemd[1]: Accepted connection on private bus.
[ 219.669545] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 219.669606] systemd[1]: lightdm.service: cgroup is empty
[ 219.669636] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 220.420041] systemd[1]: Received SIGCHLD from PID 845 (sleep).
[ 220.420064] systemd[1]: Got SIGCHLD for process 845 (sleep)
[ 220.420103] systemd[1]: Child 845 died (code=exited, status=0/SUCCESS)
[ 221.914117] systemd[1]: Received SIGCHLD from PID 545 (dbus-launch).
[ 221.914141] systemd[1]: Got SIGCHLD for process 545 (dbus-launch)
[ 221.914184] systemd[1]: Child 545 died (code=exited, status=0/SUCCESS)
[ 221.914458] systemd[1]: Received SIGCHLD from PID 483 (dbus-launch).
[ 221.914486] systemd[1]: Got SIGCHLD for process 483 (dbus-launch)
[ 221.914529] systemd[1]: Child 483 died (code=exited, status=0/SUCCESS)
[ 221.915102] systemd[1]: Accepted connection on private bus.
[ 221.915222] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 221.915328] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 223.957616] systemd[1]: Received SIGCHLD from PID 904 (systemd-cryptse).
[ 223.957639] systemd[1]: Got SIGCHLD for process 904 (systemd-cryptse)
[ 223.957707] systemd[1]: Child 904 died (code=exited, status=1/FAILURE)
[ 223.957712] systemd[1]: Child 904 belongs to systemd-cryptsetup@crypt\x2dhome.service
[ 223.957720] systemd[1]: systemd-cryptsetup@crypt\x2dhome.service: control process exited, code=exited status=1
[ 223.957782] systemd[1]: systemd-cryptsetup@crypt\x2dhome.service got final SIGCHLD for state stop
[ 223.957818] systemd[1]: systemd-cryptsetup@crypt\x2dhome.service changed stop -> failed
[ 223.957904] systemd[1]: Job systemd-cryptsetup@crypt\x2dhome.service/stop finished, result=done
[ 223.957917] systemd[1]: Stopped Cryptography Setup for crypt-home.
[ 223.957928] systemd[1]: Unit systemd-cryptsetup@crypt\x2dhome.service entered failed state.
[ 223.958243] systemd[1]: Accepted connection on private bus.
[ 223.958397] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 223.958509] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 224.016365] systemd[1]: Received SIGCHLD from PID 905 (systemd-cryptse).
[ 224.016390] systemd[1]: Got SIGCHLD for process 905 (systemd-cryptse)
[ 224.016447] systemd[1]: Child 905 died (code=exited, status=1/FAILURE)
[ 224.016451] systemd[1]: Child 905 belongs to systemd-cryptsetup@crypt\x2dlinux.service
[ 224.016457] systemd[1]: systemd-cryptsetup@crypt\x2dlinux.service: control process exited, code=exited status=1
[ 224.016529] systemd[1]: systemd-cryptsetup@crypt\x2dlinux.service got final SIGCHLD for state stop
[ 224.016565] systemd[1]: systemd-cryptsetup@crypt\x2dlinux.service changed stop -> failed
[ 224.016661] systemd[1]: Job systemd-cryptsetup@crypt\x2dlinux.service/stop finished, result=done
[ 224.016676] systemd[1]: Stopped Cryptography Setup for crypt-linux.
[ 224.016687] systemd[1]: Unit systemd-cryptsetup@crypt\x2dlinux.service entered failed state.
[ 224.016703] systemd[1]: Starting Unmount All Filesystems.
[ 224.016707] systemd[1]: umount.target changed dead -> active
[ 224.016711] systemd[1]: Job umount.target/start finished, result=done
[ 224.016717] systemd[1]: Reached target Unmount All Filesystems.
[ 224.016728] systemd[1]: Starting Final Step.
[ 224.016731] systemd[1]: final.target changed dead -> active
[ 224.016734] systemd[1]: Job final.target/start finished, result=done
[ 224.016742] systemd[1]: Reached target Final Step.
[ 224.016754] systemd[1]: Starting Reboot...
[ 224.016866] systemd[1]: About to execute: /usr/bin/systemctl --force reboot
[ 224.017057] systemd[1]: Forked /usr/bin/systemctl as 928
[ 224.017193] systemd[1]: systemd-reboot.service changed dead -> start
[ 224.018230] systemd[928]: Executing: /usr/bin/systemctl --force reboot
[ 224.018328] systemd[1]: Accepted connection on private bus.
[ 224.018435] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent
[ 224.018504] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local
[ 224.019495] systemd[1]: Accepted connection on private bus.
[ 224.019712] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Manager.Reboot() on /org/freedesktop/systemd1
[ 224.019734] systemd[1]: Shutting down.
[ 224.023022] systemd[1]: Hardware watchdog 'NV_TCO', version 0
[ 224.023031] systemd[1]: Failed to set timeout to 600s: Invalid argument
[ 224.023033] nv_tco: Unexpected close, not stopping watchdog!
[ 225.162099] systemd-journald[215]: Received SIGTERM
[ 225.515048] EXT4-fs (dm-6): re-mounted. Opts: (null)
[ 225.687382] EXT4-fs (dm-4): re-mounted. Opts: (null)
[ 225.796081] EXT4-fs (dm-3): re-mounted. Opts: (null)
[ 225.915129] EXT4-fs (dm-1): re-mounted. Opts: (null)
[ 225.919881] EXT4-fs (dm-1): re-mounted. Opts: (null)
[ 225.919911] EXT4-fs (dm-1): re-mounted. Opts: (null)
[ 226.283469] EXT4-fs (dm-1): re-mounted. Opts: data=ordered

Similar Messages

  • [SOLVED] Running Systemd service on login (encrypted home partition)

    Hi,
    I have a dm-crypt/LUKS encrypted home partition that's mounted via PAM on login. I'm trying to use a systemd service (profile-sync-daemon), but the service tries to start and access the home partition before the partition is mounted. The service does seem to start successfully, but it doesn't gain access to necessary files on the home partition and malfunctions later on. Is there a sane hack to somehow delay the start of the service until the relevant partition gets mounted (basically after login)? Manually starting the service after login works just as intended in this case - I'm just looking for a way to automate this process.
    I have an idea of starting the service via Openbox autostart, but I've currently failed in my attempts.
    Last edited by ggg377 (2015-05-28 18:31:10)

    Things got quite complicated and hacky as I researched this so I went out of the box a bit (or took the easy way out, whichever you prefer) and reinstalled Arch with a full disk encryption. All is fine now and I also expect to see less problems overall in the future. If anyone wants to continue researching this it would probably be a good idea to start a new thread.

  • Is it possible to install Arch with encrypt $HOME?

    Hello,
    I'm going to buy a new laptop and i'd like to install Archlinux into it.
    Ubuntu 9.10 gives you the choice to encrypt your home directory during installation.
    Is it possible to do the same with Arch?
    I read the WIKI about encryptions and it looks pretty "hard" to do it...?
    Thanks in advance for your answers!

    Dieter@be wrote:that information is outdated.  Since 2009.08 you can do encryption and lvm with the arch installer.
    I did not see that while installing - the encrypted $HOME with ecryptfs I mean.
    Did I overlook it?
    (I used the netinstall.iso)
    anyway - with the help of the two guides mentioned by anrxc (and another post on the subject here in the forums) I got it working.
    After setting up a group "ecryptfs", adding the user to it, then having the PAM-Rules ready and the ecryptfs module loaded it was then as simple as typing:
    ecryptfs-migrate-home -u $USER
    The PAM-Rules as they are now:
    /etc/pam.d/login
    #%PAM-1.0
    auth required pam_securetty.so
    auth requisite pam_nologin.so
    auth required pam_unix.so nullok
    auth optional pam_ecryptfs.so unwrap
    auth required pam_tally.so onerr=succeed file=/var/log/faillog
    # use this to lockout accounts for 10 minutes after 3 failed attempts
    #auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
    account required pam_access.so
    account required pam_time.so
    account required pam_unix.so
    #password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
    password optional pam_ecryptfs.so
    #password required pam_unix.so md5 shadow use_authtok
    session required pam_unix.so
    session optional pam_ecryptfs.so unwrap
    session required pam_env.so
    session required pam_motd.so
    session required pam_limits.so
    session optional pam_mail.so dir=/var/spool/mail standard
    session optional pam_lastlog.so
    /etc/pam.d/gdm
    #%PAM-1.0
    auth requisite pam_nologin.so
    auth required pam_env.so
    auth required pam_unix.so
    auth optional pam_ecryptfs.so unwrap
    auth optional pam_gnome_keyring.so
    account required pam_unix.so
    session required pam_limits.so
    session required pam_unix.so
    session optional pam_ecryptfs.so unwrap
    session optional pam_gnome_keyring.so auto_start
    password required pam_unix.so
    password optional pam_ecryptfs.so
    Seems to work well so far - only compiling software from AUR has failed sometimes - maybe some mount-options not suitable for "fakeroot"?
    I just put the build-directory outside of the encrypted $HOME and symlinked to it - then it worked.
    ...my first 4 days with ARCH - coming from Gentoo, which I used solely for at least the last 4 years - and I like it and intend to stay with it
    I did try Mint (Ubuntu) - thats how I came to want to have my $HOME encrypted with ecryptfs.
    But I was not quite happy with it and now I'm here with ARCH.
    Cheers
    Last edited by jomen (2010-03-18 03:11:06)

  • 'Home' and 'End' buttons don't work??

    I am a new mac user...recently converted, so you guys might see my name coming up a lot in here...lol
    So this 'home' and 'end' issue isn't just in Safari...it's on the iMac in general....even in TextEdit....
    In Safari, for example, say I am typing a web address and I want to go back to the beginning by hitting the 'home' button (or even right now, I just made a typo, went back and fixed it and wanted to jump back to the end of the sentence using 'end'), but this doesn't work. Again, this is not just in Safari, but even in TextEdit...Please don't tell me iMac doesn't support the 'home' and 'end' functions...I will die! lol Okay, not die, but seriously, that will be a huge headache.
    Thanks for any help!!!

    Thanks for the and
    Aloha from Big Island.
    iMac G5 Rev C 20" 2.5gb RAM 250 gb HD/iBook G4 1.33 ghz 1.5gb RAM 40 gb HD   Mac OS X (10.4.8)   LaCie 160gb d2 HD Canon i960 printer, Airport Express (2 units)

  • Plymouth graphical boot, encrypted root, and systemd...

    I'm having some difficulty getting Plymouth working with an encrypted root, and, systemd in the initramfs. I had identical issues getting Plymouth working without systemd in the initramfs, so that doesn't seem to be the issue.
    I installed plymouth-git from the AUR. I similarly tried this with the non-git AUR package as well, with no different results. While trying to use the non-git package, I used the sd-plymouth mkinitcpio module from Celti's Github (He maintain's the -git AUR package), as posted in the comments. This enables support for systemd support inside the initramfs for plymouth, through using the sd-plymouth hook in place of the normal plymouth flag. When using the normal plymouth flag, and base + udev in place of systemd in my hooks, the same thing happens, so it seems unlikely to be the systemd implementation.
    Anyhoo, when using plymouth and plymouth-encrypt in my hooks, I never get asked for a password to decrypt the root volume. It just presents the splash, and, that's all I ever see. After a couple of minutes, it dumps me to a black screen.
    The contents of my /etc/mkinitcpio.conf file
    MODULES=""
    BINARIES=""
    FILES=""
    HOOKS="systemd sd-plymouth autodetect modconf block keyboard plymouth-encrypt filesystems fsck"
    COMPRESSION="gzip"
    COMPRESSION_OPTIONS=""
    I use rEFInd, not grub or gummiboot, and my kernel options are as follows:
    rd.luks.name=945737e7-94a0-49a0-b1ab-b51cb497ec4a=root root=/dev/mapper/root initrd=intel-ucode.img initrd=initramfs-linux.img rw nomodeset add_efi_memmap quiet splash
    When booting, I'm greeted with my rEFInd GUI, it drops to a black screen for a fraction of a second, and loads Plymouth, and, sits there for about 90 seconds before dumping me to a black screen. When I type something on the keyboard, it shows up in the console, on top of the splash screen. It's almost as if plymouth isn't hooking the input. It fails to ask for a password or decrypt my root, too. I do notice when not using sd-plymouth, the splash logo appears to have an input box as if it at least knows it's attempting to decrypt it, but again, the input fails to go into the splash screen, but shows up (in cleartext) in the console at the top corner.
    Suggestions would be appreciated.

    Without hacking the encrypt hook, you'll only be able to unlock one volume at the same time. Afaik the device mapper asks for a password for each encrypted partition, and using one for all won't work, you have to repeat the process for each partition, whereas the encrypt hook only seems to be able to handle one partition. You can hack it, but I haven't done that (yet), it's already quite messy you have to hack the hook file to make it apply to non-root partitions.

  • IPad unresponsive after iOS 8.02 update, doesn't show up in iTunes, hardware reset (home and standby buttons both held down for ten seconds) not working

    I have a 32GB iPad mini that was purchased new in June of this year. A little while ago, I started the iOS 8.02 download while it was plugged into a wall socket using an official apple wall to USB plug and an official apple thunderbolt cable. I then left for 25 minutes to get some food.
    On coming back, I discovered the iPad with a black screen showing the apple logo. I thought this was just an ordinary part of the update, it was restarting or something after installation, so I thought nothing of it. Then, after another minute or two, the screen flashed blue and then went completely black.
    Puzzled, I waited for another second and the apple logo reappeared as if the iPad was restarting again. However, after a few minutes, this happened again. This has been going on for the last half an hour, and I was wondering has anybody experienced this before.
    As I stated in the title, it won't show up in iTunes, and the hardware reset or whatever it's called doesn't work. Also, bear in mind I had issues syncing it with iTunes the night before and it also seemed to crash a few times last night, restarting the iPad and bringing it to the blank screen with the apple logo for a few seconds before going to the lock screen. That didn't happen at all this morning though.
    The iPad is not jailbroken, however, it does have licenses for gba4iOS, which is still installed on it, and a VPN license installed on it by the Hola app, which I deleted but never bothered deleting the license for. Any help would be greatly appreciated.

    Hi Colin how are you?
    I updated my IPAD yesterday and have the exact same problem.
    Itunes does not recognize my ipad. Home and standby also doesnt work.
    Also have the blue thing every few minutes and the apple logo but it never goes beyond it.
    Have you solved the issue?
    IPAD AIR

  • I upload my iPhone 4s and it went to recovery mode i have tried to exit recovery mode by pressing the home  and the power bottom but it doesn't work what more can i do please help me

    i upload my iPhone 4s and it went to recovery mode i have tried to exit recovery mode by pressing the home  and the power bottom but it doesn't work what more can i do please help me

    http://support.apple.com/kb/ht1808

  • TS3274 My iPad doesn't respond to home button prompting and locks on a screen.

    My iPad doesn't respond to home button prompting and locks on a screen.

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • I just bought a new apple imac pro laptop. the did the updats at the store and put in a password for me.I got home and the password doesn't work.

    I just bought a new apple imac pro laptop. the did the updats at the store and put in a password for me.I got home and the password doesn't work.

    Resetting User Password in Lion, Mountain Lion & Mavericks
    Boot into your Recovery Partition by hold down the Command and R keys whilst booting.
    When the Recovery screen appears, go to the Utilities menu and open Terminal.
    In Terminal, type:
    resetpassword
    ...a small app will open and allow you to choose the user for whom you want to change the password. If you are the admin, be certain that you choose your admin user. Type in your new password twice and give yourself a good hint. Click OK (or Done or whatever) and reboot, enjoying the use of your new, hopefully memorable, password.
    Good luck,
    Clinton

  • I have some apps on my ipad and I want to install more ,but it doesn't show the apps on the home and when I try to open them from the AppStore it doesn't work , what should I do?

    I have some apps on my ipad and I want to install more ,but it doesn't show the apps on the home and when I try to open them from the AppStore it doesn't work , what should I do?

    Are you not seeing the icon of the app you just downloaded (it happens sometimes, and the quick fix is to reset your iPad)? Or are you running out of space on your iPad?

  • My iphone keeps blocking in a "boot" mode... blackscreen with apple logo... the restarting (home and power button for 10 sec) doesn't work.

    my iphone keeps blocking in a "boot" mode... blackscreen with apple logo... the restarting (home and power button for 10 sec) doesn't work. when i get it in DFU mode and try restoring with itunes it remains the same... provider already "fixed" this problem twice with a "software update" only to get the same problem again... it just "reboots" this time it happened @ night while charging... previous time in my jacket pocket... this is the 3th time it happens, and my provider (Mobistar belgium) doesn't wish to exchange or refund my iphone witch clearly has something wrong 3 times same problem in 3 months...

    imanfromsweden wrote:
    Please apple support do you people have a convincing answer for us? Is there a solution? My phone is only 2 years old and was (2 hours ago), in top condition!!
    Please help....
    On belhalf of my fellow volunteers, the answer is, "We'll try our best." 
    My advice is to try not to treat this like it is a paid service provided by compensated professionals.  Ask nicely and one of the nice folks here might take some time out of their weekend to offer advice.

  • I've set my home and work location in contacts but siri still doesn't pick up either?

    I've set my home and work location in contacts but siri still doesn't pick up either?

    Call mum and dad are in the contact of yourself.
    You have to manually add it back or if you have contacts in your computer addressbook, you can sync them back.

  • TS1559 Ever since I bought a Belkin blue tooth for my van my wifi doesn't work at home. My husbands still does. He has an iphone 5 and i have an i phone 4.

    Ever since I bought a Belkin blue tooth for my van my wifi doesn't work at home. My husbands still does. He has an iphone 5 and i have an i phone 4.

    Hello lizreceptionist
    Check out the article below for troubleshooting Wi-Fi on your iPhone
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • [solved] fsck and encrypted /home

    Hello,
    After testing arch for some weeks, I made the "final" switch this week-end: I moved my LUKS encrypted /home from ubuntu tu arch. During this process I had a problem with fsck on my encrypted /home. I put 0 in /etc/stab to disable fsck:
    /dev/mapper/home /home ext3 defaults 0 0
    So my question is: is it possible to activate fsck on my /home at boot time ? Or should I let this as it is ?
    Thanks,
    Last edited by boulde (2009-10-06 07:53:06)

    I don't remember exactly but there was fsck in the error message during the boot, it was not possible to boot. But I have just tested again with fsck and it works well !
    So this error was maybe not due to fsck (I had various issues with crypttab options, qwerty/azerty passphrase, etc.)  ... but I remember that before deactivating fsck the system was not booting, after it was.
    Anyway, now it works :-)

  • Hey ! I was senting a text and my iphone suddendly off. I try to press "home" and "start" and to connect it at itunes but it doesn't work! Can you help me please

    Hey ! I was senting a text and my iphone suddendly off. I try to press "home" and "start" and to connect it at itunes but it doesn't work! Can you help me please

    Hold HOME and START at the same time until an Apple logo appears. This is called a "reset", and essentially it reboots iOS. You will need to hold for about 10 seconds.

Maybe you are looking for

  • Multiple row in a single line

    Hi Sir, i have a table  x which have data like below ID DEPT 10 SALES 10 PRESALES 10 MARKETING 20 IT 20 ADMIN I  want data like below ID DEPT 10 SALES,PRESALES,MARKETING 20 IT,ADMIN i do not want to use the LISTAGG function.... kindly tell me if  we

  • Messages won't display unread count

    Since the last update the unread count on the icon will not display. Anyone have any ideas? It's turned on in the notifications centre.

  • Itunes wont open, but is running.

    Alright. My problem is Itunes (Up to date) will not open. I click on the shortcut. and then it does not launch. but when i open task manager. It isnt in my applications, but it is in my processes. I have uninstalled everything as multiple forum fixes

  • Connection Error (error message)

    Hi guys,  i've been having this issue where everytime I connect my phone to zune, it would display this error message: Connection Error. We can't create a connection from your phone to the interent. You can still sync content between your computer an

  • How do you know that the DB Adapter has stopped polling

    Hi, Is there a smart way to figure out if the DB Adapter has stopped polling a table ? [We are using logical delete polling strategy].We are looking for a better alternative than just verifying the entire laundry list of tables for the markUnreadValu