[Bug 1015254] New: failure to unmount encrypted home LV
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 Bug ID: 1015254 Summary: failure to unmount encrypted home LV Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: openSUSE 42.2 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Shutdown or reboot take very long, because systemd is failing to unmount the encrypted /home (/dev/mapper/cr_home), waiting 1 min 30 seconds until timeout before the process continues: Dec 13 08:42:27 pc systemd[1]: Stopping D-Bus System Message Bus... Dec 13 08:42:27 pc systemd[1]: Stopped SuSEfirewall2 phase 1. Dec 13 08:42:27 pc systemd[1]: Stopped D-Bus System Message Bus. Dec 13 08:42:29 pc systemd[1]: Received SIGRTMIN+20 from PID 20326 (plymouthd). Dec 13 08:42:33 pc systemd[1]: Received SIGRTMIN+20 from PID 20326 (plymouthd). Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2duuid-6cffbff2\x2d79fd\x2d421e\x2d9e58\x2d5f0fc64db5b1.device: Job dev-disk-by\x2duuid-6cffbff2\x2d79fd\x2d421e\x2d9e58\x2d5f0fc64db5b1.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/disk/by-uuid/6cffbff2-79fd-421e-9e58-5f0fc64db5b1. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2duuid-6cffbff2\x2d79fd\x2d421e\x2d9e58\x2d5f0fc64db5b1.device: Job dev-disk-by\x2duuid-6cffbff2\x2d79fd\x2d421e\x2d9e58\x2d5f0fc64db5b1.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: session-1.scope: Stopping timed out. Killing. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-dm\x2dname\x2dcr_swap.device: Job dev-disk-by\x2did-dm\x2dname\x2dcr_swap.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/disk/by-id/dm-name-cr_swap. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-dm\x2dname\x2dcr_swap.device: Job dev-disk-by\x2did-dm\x2dname\x2dcr_swap.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2df1ac4f6a20f948db949df1c0c7f1e06e\x2dcr_home.device: Job dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2df1ac4f6a20f948db949df1c0c7f1e06e\x2dcr_home.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-f1ac4f6a20f948db949df1c0c7f1e06e-cr_home. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2df1ac4f6a20f948db949df1c0c7f1e06e\x2dcr_home.device: Job dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2df1ac4f6a20f948db949df1c0c7f1e06e\x2dcr_home.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-raid\x2dcr_swap.device: Job dev-disk-by\x2did-raid\x2dcr_swap.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/disk/by-id/raid-cr_swap. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-raid\x2dcr_swap.device: Job dev-disk-by\x2did-raid\x2dcr_swap.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: Stopped Session 1 of user user1. Dec 13 08:43:47 pc systemd[1]: session-1.scope: Unit entered failed state. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2d75271dabb04b430d848f322948deca8c\x2dcr_swap.device: Job dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2d75271dabb04b430d848f322948deca8c\x2dcr_swap.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-75271dabb04b430d848f322948deca8c-cr_swap. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2d75271dabb04b430d848f322948deca8c\x2dcr_swap.device: Job dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2d75271dabb04b430d848f322948deca8c\x2dcr_swap.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: sys-devices-virtual-block-dm\x2d8.device: Job sys-devices-virtual-block-dm\x2d8.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /sys/devices/virtual/block/dm-8. Dec 13 08:43:47 pc systemd[1]: sys-devices-virtual-block-dm\x2d8.device: Job sys-devices-virtual-block-dm\x2d8.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-raid\x2dcr_home.device: Job dev-disk-by\x2did-raid\x2dcr_home.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/disk/by-id/raid-cr_home. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-raid\x2dcr_home.device: Job dev-disk-by\x2did-raid\x2dcr_home.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: sys-devices-virtual-block-dm\x2d1.device: Job sys-devices-virtual-block-dm\x2d1.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /sys/devices/virtual/block/dm-1. Dec 13 08:43:47 pc systemd[1]: sys-devices-virtual-block-dm\x2d1.device: Job sys-devices-virtual-block-dm\x2d1.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: dev-dm\x2d8.device: Job dev-dm\x2d8.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/dm-8. Dec 13 08:43:47 pc systemd[1]: dev-dm\x2d8.device: Job dev-dm\x2d8.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-dm\x2dname\x2dcr_home.device: Job dev-disk-by\x2did-dm\x2dname\x2dcr_home.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/disk/by-id/dm-name-cr_home. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2did-dm\x2dname\x2dcr_home.device: Job dev-disk-by\x2did-dm\x2dname\x2dcr_home.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2duuid-614780e1\x2d1a9c\x2d475b\x2da94e\x2dc8353a13a375.device: Job dev-disk-by\x2duuid-614780e1\x2d1a9c\x2d475b\x2da94e\x2dc8353a13a375.device/stop timed out. Dec 13 08:43:47 pc systemd[1]: Timed out stoppping /dev/disk/by-uuid/614780e1-1a9c-475b-a94e-c8353a13a375. Dec 13 08:43:47 pc systemd[1]: dev-disk-by\x2duuid-614780e1\x2d1a9c\x2d475b\x2da94e\x2dc8353a13a375.device: Job dev-disk-by\x2duuid-614780e1\x2d1a9c\x2d475b\x2da94e\x2dc8353a13a375.device/stop failed with result 'timeout'. Dec 13 08:43:47 pc systemd[1]: Removed slice User Slice of user1. Dec 13 08:43:47 pc systemd[1]: Stopping Permit User Sessions... Dec 13 08:43:47 pc systemd[1]: Stopping Login Service... Dec 13 08:43:47 pc systemd[1]: Stopped Permit User Sessions. Dec 13 08:43:47 pc systemd[1]: Stopped target Remote File Systems. Dec 13 08:43:47 pc systemd[1]: Stopped target Remote File Systems (Pre). Dec 13 08:43:47 pc systemd[1]: Stopped Login Service. [...] Dec 13 08:43:47 pc systemd[1]: Stopping Security Auditing Service... Dec 13 08:43:47 pc systemd[1]: Stopped /dev/mapper/cr_swap. Dec 13 08:43:47 pc systemd[1]: Stopped Cryptography Setup for cr_swap. Dec 13 08:43:47 pc boot.apparmor[20515]: Unloading AppArmor profiles ..done Dec 13 08:43:47 pc systemd[1]: Stopped LSB: AppArmor initialization. Dec 13 08:43:47 pc auditd[1432]: The audit daemon is exiting. Dec 13 08:43:47 pc systemd[1]: Stopped Security Auditing Service. Dec 13 08:43:47 pc systemd[1]: Stopped target Local File Systems. Dec 13 08:43:47 pc kernel: audit: type=1305 audit(1481615027.739:142): audit_pid=0 old=1432 auid=4294967295 ses=4294967295 res=1 Dec 13 08:43:47 pc systemd[1]: Unmounting /tmp... Dec 13 08:43:47 pc systemd[1]: Unmounting /var/run/user/1000... Dec 13 08:43:47 pc systemd[1]: Unmounting /var/lib/machines... Dec 13 08:43:47 pc systemd[1]: Unmounting /sys/kernel/debug/tracing... Dec 13 08:43:47 pc systemd[1]: Unmounting /.snapshots... Dec 13 08:43:47 pc systemd[1]: Unmounting /opt... Dec 13 08:43:47 pc systemd[1]: Unmounting /usr/local... Dec 13 08:43:47 pc systemd[1]: Unmounting /srv... Dec 13 08:43:47 pc systemd[1]: Unmounting /run/user/1000... Dec 13 08:43:47 pc systemd[1]: Unmounting /boot... Dec 13 08:43:47 pc umount[20568]: umount: /run/user/1000: not mounted Dec 13 08:43:47 pc systemd[1]: run-user-1000.mount: Mount process exited, code=exited status=32 Dec 13 08:43:47 pc systemd[1]: Unmounted /run/user/1000. Dec 13 08:43:47 pc systemd[1]: run-user-1000.mount: Unit entered failed state. Dec 13 08:43:47 pc systemd[1]: Unmounted /tmp. Dec 13 08:43:47 pc systemd[1]: Unmounted /var/run/user/1000. Dec 13 08:43:47 pc systemd[1]: Unmounted /var/lib/machines. Dec 13 08:43:47 pc systemd[1]: Unmounted /sys/kernel/debug/tracing. Dec 13 08:43:47 pc systemd[1]: Unmounted /.snapshots. Dec 13 08:43:47 pc systemd[1]: Unmounted /opt. Dec 13 08:43:47 pc systemd[1]: Unmounted /usr/local. Dec 13 08:43:47 pc systemd[1]: Unmounted /srv. Dec 13 08:43:47 pc systemd[1]: Unmounted /boot. Dec 13 08:43:47 pc systemd[1]: Stopped File System Check on /dev/disk/by-uuid/0268f4f3-1d71-4f98-818e-21d46454616c. Dec 13 08:43:47 pc systemd[1]: Removed slice system-systemd\x2dfsck.slice. Dec 13 08:43:47 pc systemd[1]: Unmounting Runtime Directory... Dec 13 08:43:47 pc umount[20595]: umount: /var/run: target is busy Dec 13 08:43:47 pc umount[20595]: (In some cases useful info about processes that Dec 13 08:43:47 pc umount[20595]: use the device is found by lsof(8) or fuser(1).) Dec 13 08:43:47 pc systemd[1]: var-run.mount: Mount process exited, code=exited status=32 Dec 13 08:43:47 pc systemd[1]: Failed unmounting Runtime Directory. Dec 13 08:43:47 pc systemd[1]: Stopped target Local File Systems (Pre). Dec 13 08:43:47 pc systemd[1]: Stopped Create Static Device Nodes in /dev. Dec 13 08:43:47 pc systemd[1]: Stopped Remount Root and Kernel File Systems. Dec 13 08:43:51 pc systemd[1]: lvm2-pvscan@8:8.service: State 'stop-sigterm' timed out. Killing. Dec 13 08:43:51 pc systemd[1]: Stopped LVM2 PV scan on device 8:8. Dec 13 08:43:51 pc systemd[1]: lvm2-pvscan@8:8.service: Unit entered failed state. Dec 13 08:43:51 pc systemd[1]: lvm2-pvscan@8:8.service: Failed with result 'timeout'. Dec 13 08:43:51 pc systemd[1]: Stopping LVM2 metadata daemon... Dec 13 08:43:51 pc systemd[1]: Removed slice system-lvm2\x2dpvscan.slice. Dec 13 08:43:51 pc systemd[1]: Stopped LVM2 metadata daemon. Dec 13 08:43:52 pc systemd-cryptsetup[20520]: Failed to deactivate: Device or resource busy Dec 13 08:43:52 pc systemd[1]: systemd-cryptsetup@cr_home.service: Control process exited, code=exited status=1 Dec 13 08:43:52 pc systemd[1]: Stopped Cryptography Setup for cr_home. Dec 13 08:43:52 pc systemd[1]: systemd-cryptsetup@cr_home.service: Unit entered failed state. Dec 13 08:43:52 pc systemd[1]: systemd-cryptsetup@cr_home.service: Failed with result 'exit-code'. Dec 13 08:43:52 pc systemd[1]: Reached target Unmount All Filesystems. Dec 13 08:43:52 pc systemd[1]: Removed slice system-systemd\x2dcryptsetup.slice. Dec 13 08:43:52 pc systemd[1]: Reached target Shutdown. Dec 13 08:43:52 pc systemd[1]: Starting /etc/init.d/halt.local Compatibility... Dec 13 08:43:52 pc systemd[1]: Started /etc/init.d/halt.local Compatibility. Dec 13 08:43:52 pc systemd[1]: Reached target Final Step. Dec 13 08:43:52 pc systemd[1]: Starting Reboot... Dec 13 08:43:52 pc systemd[1]: Shutting down. Dec 13 08:43:52 pc systemd-shutdown[1]: Sending SIGTERM to remaining processes... Dec 13 08:43:52 pc systemd-journald[846]: Journal stopped -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|failure to unmount |systemd failure to unmount |encrypted home LV |encrypted home LV during | |shutdown -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c2 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX |--- --- Comment #2 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Problem still present in 42.3: Mar 26 09:58:32 pc systemd-cryptsetup[22065]: Failed to deactivate: Device or resource busy Mar 26 09:58:32 pc systemd[1]: systemd-cryptsetup@cr_home.service: Control process exited, code=exited status=1 Mar 26 09:58:32 pc systemd[1]: Stopped Cryptography Setup for cr_home. Mar 26 09:58:32 pc systemd[1]: systemd-cryptsetup@cr_home.service: Unit entered failed state. Mar 26 09:58:32 pc systemd[1]: systemd-cryptsetup@cr_home.service: Failed with result 'exit-code'. Mar 26 09:58:32 pc systemd[1]: Reached target Unmount All Filesystems. Mar 26 09:58:32 pc systemd[1]: Removed slice system-systemd\x2dcryptsetup.slice. Mar 26 09:58:32 pc systemd[1]: Reached target Shutdown. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Leap 42.2 |Leap 42.3 -- You are receiving this mail because: You are on the CC list for the bug.
From what I can see is that the filesystem is unmounted, I'm unsure about the VG being deactivated (my guess is NO). But it seems then the crypt -layer cannot be deactivated, because LVM keeps it busy. For me it's not obvious from
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c4 --- Comment #4 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (Sorry for the delay) Some clarification: It seems the problem is not the /home filesystem, but its underlying physical volume, an encrypted partition created on MD-RAID-1. Also the current OS does not cause a timeout, but it still fails. So the Setup is like this: (two disks (IMSM)) -> MD-RAID-1 -> Partition #5 -> Encryption -> PV for LVM -> LV for /home filesystem the systemd journal, but here it is: Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounting /run/user/1000... Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounting /home... Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounting /mnt... Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounting /opt/android... Aug 25 16:50:53 i7g4x4a kernel: audit: type=1305 audit(1535208653.449:228): audit_pid=0 old=1849 auid=4294967295 ses=4294967295 res=1 Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounting /sys/kernel/debug/tracing... Aug 25 16:50:53 i7g4x4a kernel: XFS (dm-8): Unmounting Filesystem Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounted /run/user/1000. Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounted /mnt. Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounted /sys/kernel/debug/tracing. Aug 25 16:50:53 i7g4x4a kernel: XFS (dm-3): Unmounting Filesystem Aug 25 16:50:53 i7g4x4a systemd[1]: Deactivated swap /dev/mapper/system-swap. Aug 25 16:50:53 i7g4x4a systemd[1]: Deactivated swap /dev/disk/by-uuid/779aaf04-180c-4f89-9300-9a69fbf44c01. Aug 25 16:50:53 i7g4x4a systemd[1]: Deactivated swap /dev/disk/by-id/raid-system-swap. Aug 25 16:50:53 i7g4x4a systemd[1]: Deactivated swap /dev/disk/by-id/dm-uuid-LVM-3Ef9ozXfr2XuKX0fAt8atPyzlY40E7KzwTSuuBoqx3GB9AcW9oMmjeSmpzVx9Yox. Aug 25 16:50:53 i7g4x4a systemd[1]: Deactivated swap /dev/disk/by-id/dm-name-system-swap. Aug 25 16:50:53 i7g4x4a systemd[1]: Deactivated swap /dev/dm-1. Aug 25 16:50:53 i7g4x4a systemd[1]: Deactivated swap /dev/system/swap. Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounted /home. Aug 25 16:50:53 i7g4x4a systemd[1]: Unmounted /opt/android. Aug 25 16:50:53 i7g4x4a systemd[1]: Stopped File System Check on /dev/system/android. Aug 25 16:50:53 i7g4x4a systemd[1]: Stopped File System Check on /dev/system/home. Aug 25 16:50:53 i7g4x4a systemd[1]: Stopped target Local File Systems (Pre). Aug 25 16:50:53 i7g4x4a systemd[1]: Stopped Remount Root and Kernel File Systems. Aug 25 16:50:53 i7g4x4a systemd[1]: Stopped Create Static Device Nodes in /dev. Aug 25 16:50:53 i7g4x4a systemd[1]: Removed slice system-systemd\x2dfsck.slice. Aug 25 16:50:57 i7g4x4a systemd[1]: Received SIGRTMIN+20 from PID 18675 (plymouthd). Aug 25 16:50:58 i7g4x4a systemd-cryptsetup[18825]: Failed to deactivate: Device or resource busy Aug 25 16:50:58 i7g4x4a systemd[1]: systemd-cryptsetup@cr_md\x2duuid\x2d2047fabb:aa594b5d:ff1519a1:7d0ff516\x2dpart5.service: Control process exited, code=exite Aug 25 16:50:58 i7g4x4a systemd[1]: Stopped Cryptography Setup for cr_md-uuid-2047fabb:aa594b5d:ff1519a1:7d0ff516-part5. Aug 25 16:50:58 i7g4x4a systemd[1]: systemd-cryptsetup@cr_md\x2duuid\x2d2047fabb:aa594b5d:ff1519a1:7d0ff516\x2dpart5.service: Unit entered failed state. Aug 25 16:50:58 i7g4x4a systemd[1]: systemd-cryptsetup@cr_md\x2duuid\x2d2047fabb:aa594b5d:ff1519a1:7d0ff516\x2dpart5.service: Failed with result 'exit-code'. Aug 25 16:50:58 i7g4x4a systemd[1]: Reached target Unmount All Filesystems. Aug 25 16:50:58 i7g4x4a systemd[1]: Removed slice system-systemd\x2dcryptsetup.slice. Would you agree that systemd does not even try to deactivate the VG before trying to deactivate the crypt layer? Aug 25 16:50:58 i7g4x4a systemd[1]: Reached target Shutdown. Aug 25 16:50:58 i7g4x4a systemd[1]: Starting /etc/init.d/halt.local Compatibility... Aug 25 16:50:58 i7g4x4a systemd[1]: Started /etc/init.d/halt.local Compatibility. Aug 25 16:50:58 i7g4x4a systemd[1]: Reached target Final Step. Aug 25 16:50:58 i7g4x4a systemd[1]: Starting Power-Off... Aug 25 16:50:58 i7g4x4a systemd[1]: Shutting down. Aug 25 16:50:58 i7g4x4a systemd-shutdown[1]: Sending SIGTERM to remaining processes... Aug 25 16:50:58 i7g4x4a haveged[1031]: haveged: Stopping due to signal 15 Aug 25 16:50:58 i7g4x4a haveged[1031]: haveged starting up Aug 25 16:50:58 i7g4x4a systemd-journald[1007]: Journal stopped -- Reboot -- -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c6 --- Comment #6 from Franck Bui <fbui@suse.com> --- Ulrich ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c7 --- Comment #7 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (In reply to Franck Bui from comment #5) Sorry, I have no idea how or where to apply the patch. I could not find corresponding lines in /usr/lib/systemd/system/systemd-udevd.service. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c8 --- Comment #8 from Franck Bui <fbui@suse.com> --- You should simply add to the "[Socket]" section "RemoveOnStop=yes" in /usr/lib/systemd/system/systemd-udevd-control.socket. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c9 --- Comment #9 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (In reply to Franck Bui from comment #8)
You should simply add to the "[Socket]" section "RemoveOnStop=yes" in /usr/lib/systemd/system/systemd-udevd-control.socket.
What I meant to say in comment 7 is that I do not have a [Socket] section in /usr/lib/systemd/system/systemd-udevd.service. Anyway, I added one having only that line. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c10 --- Comment #10 from Franck Bui <fbui@suse.com> --- You're supposed to add the line in systemd-udevd-control.socket, not in systemd-udevd.service ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c11 --- Comment #11 from Franck Bui <fbui@suse.com> --- @Ulrich: ping ... I plan to make an update soon so it would be nice to know if this patch fix your problem eventually. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c12 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(Ulrich.Windl@rz.u | |ni-regensburg.de) | --- Comment #12 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Created attachment 784267 --> http://bugzilla.opensuse.org/attachment.cgi?id=784267&action=edit Shutdown messages (part 1) Sorry for the delay: I think the fix works. At least the second shutdown after applying the change was much faster. I tried to capture the messages with a camera, but it was very fast. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c13 --- Comment #13 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Created attachment 784268 --> http://bugzilla.opensuse.org/attachment.cgi?id=784268&action=edit Shutdown messages (part 2) Sorry for the very poor quality, but I had to be very fast taking the shot. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c14 --- Comment #14 from Franck Bui <fbui@suse.com> --- If you could try it a little be more that would be great. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c15 --- Comment #15 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- I tries a few times more: Shutdown is much faster, but there still is a problem (maybe outside the crypto scope): Sep 27 21:56:24 i7g4x4a systemd[1]: Stopped target Local File Systems (Pre). Sep 27 21:56:24 i7g4x4a systemd[1]: Stopped Create Static Device Nodes in /dev. Sep 27 21:56:24 i7g4x4a systemd[1]: Stopped Remount Root and Kernel File Systems. Sep 27 21:56:24 i7g4x4a systemd[1]: Removed slice system-systemd\x2dfsck.slice. Sep 27 21:56:27 i7g4x4a systemd-cryptsetup[8545]: Failed to deactivate: Device or resource busy Sep 27 21:56:27 i7g4x4a systemd[1]: systemd-cryptsetup@cr_md\x2duuid\x2d2047fabb:aa594b5d:ff1519a1:7d0ff516\x2dpart5.service: Control process exited, code=exited s Sep 27 21:56:27 i7g4x4a systemd[1]: Stopped Cryptography Setup for cr_md-uuid-2047fabb:aa594b5d:ff1519a1:7d0ff516-part5. Sep 27 21:56:27 i7g4x4a systemd[1]: systemd-cryptsetup@cr_md\x2duuid\x2d2047fabb:aa594b5d:ff1519a1:7d0ff516\x2dpart5.service: Unit entered failed state. Sep 27 21:56:27 i7g4x4a systemd[1]: systemd-cryptsetup@cr_md\x2duuid\x2d2047fabb:aa594b5d:ff1519a1:7d0ff516\x2dpart5.service: Failed with result 'exit-code'. Sep 27 21:56:27 i7g4x4a systemd[1]: Reached target Unmount All Filesystems. Sep 27 21:56:27 i7g4x4a systemd[1]: Removed slice system-systemd\x2dcryptsetup.slice. Sep 27 21:56:27 i7g4x4a systemd[1]: Reached target Shutdown. Sep 27 21:56:27 i7g4x4a systemd[1]: Starting /etc/init.d/halt.local Compatibility... Sep 27 21:56:27 i7g4x4a systemd[1]: Started /etc/init.d/halt.local Compatibility. Sep 27 21:56:27 i7g4x4a systemd[1]: Reached target Final Step. Sep 27 21:56:27 i7g4x4a systemd[1]: Starting Reboot... Sep 27 21:56:27 i7g4x4a systemd[1]: Shutting down. Sep 27 21:56:27 i7g4x4a systemd[1]: Hardware watchdog 'iTCO_wdt', version 0 Sep 27 21:56:27 i7g4x4a systemd[1]: Set hardware watchdog to 10min. Sep 27 21:56:27 i7g4x4a kernel: watchdog watchdog0: watchdog did not stop! Sep 27 21:56:27 i7g4x4a systemd-shutdown[1]: Sending SIGTERM to remaining processes... Sep 27 21:56:27 i7g4x4a lvm[1021]: There are still devices being monitored. Sep 27 21:56:27 i7g4x4a lvm[1021]: Refusing to exit. Sep 27 21:56:27 i7g4x4a haveged[1028]: haveged: Stopping due to signal 15 Sep 27 21:56:27 i7g4x4a haveged[1028]: haveged starting up Sep 27 21:56:27 i7g4x4a systemd-journald[1003]: Journal stopped -- Reboot -- -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c16 --- Comment #16 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- On "systemd-journald[1003]: Journal stopped": If the journal is on /var, then /var can't be unmounted, and the VG can't be deactivated, and the cryptoloop can't be deactivated cleanly... Is it as simple as that? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c17 --- Comment #17 from Franck Bui <fbui@suse.com> --- Yes that's probably the reason and this is a known issue (purely cosmetic BTW) tracked here: https://github.com/systemd/systemd/issues/867 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1015254 http://bugzilla.opensuse.org/show_bug.cgi?id=1015254#c18 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #18 from Franck Bui <fbui@suse.com> --- OK so I'm closing this issue since your initial issue is fixed now. The fix will be released in the next update. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com