<div dir="ltr">I appreciate the responses. See below. I will paste a full debug log, but I can't arbitrarily reboot
 the current production machine. I'll replicate this on another machine.
That could take a day or so.  In the mean time, below is further explanation:<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 6:42 AM, Stefan Tatschner <span dir="ltr"><<a href="mailto:rumpelsepp@sevenbyte.org" target="_blank">rumpelsepp@sevenbyte.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>Could it be this?<br>
<br>
<a href="https://github.com/systemd/systemd/issues/1620" rel="noreferrer" target="_blank">https://github.com/systemd/systemd/issues/1620</a><br>
<br>
</blockquote></div><br></div><div class="gmail_extra">In my case I am not issuing a shutdown. I am only umuonting a USB drive. Unexpectedly, umounting the USB drive causes systemd to issue what appears to me to be a stop command for target Encrypted Volumes.<br><br>There should be no reason that the encrypted volumes are stopped, umounted, etc. That's unexpected.<br><br></div><div class="gmail_extra">Until I can provide full debug logs, here are what I think may be the most relevant log lines. <br><br>-- Logs begin at Mon 2016-05-16 21:40:56 EDT, end at Sun 2016-07-24 23:41:58 EDT. --<br>Jul 24 23:38:40 mserver systemd-journald[619]: Runtime journal (/run/log/journal/) is 8.0M, max 4.0G, 3.9G free.<br>Jul 24 23:38:40 mserver kernel: microcode: microcode updated early to revision 0x38, date = 2016-03-28<br>Jul 24 23:38:40 mserver kernel: Linux version 4.6.4-1-ARCH (builduser@tobias) (gcc version 6.1.1 20160707 (GCC) ) #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016<br>Jul 24 23:38:40 mserver kernel: Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img rw cryptdevice=UUID=d71113:dluks root=/dev/mapper/dluks rootflags=subvol=@ <br></div><div class="gmail_extra">...<br>Jul 24 23:38:40 mserver kernel: usb 3-1: new high-speed USB device number 2 using xhci_hcd<br>...<br>Jul 24 23:38:40 mserver kernel: usb-storage 3-1:1.0: USB Mass Storage device detected<br>Jul 24 23:38:40 mserver kernel: scsi host10: usb-storage 3-1:1.0<br>Jul 24 23:38:40 mserver kernel: usb 3-14: new low-speed USB device number 3 using xhci_hcd<br>...<br>Jul 24 23:38:42 mserver mtp-probe[760]: checking bus 3, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"<br>Jul 24 23:38:42 mserver mtp-probe[759]: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-14"<br>...<br><span style="background-color:rgb(255,255,0)">Jul 24 23:41:17 mserver sudo[1195]: dave : TTY=tty1 ; PWD=/home/dave ; USER=root ; COMMAND=/usr/bin/umount /boot</span><br>Jul 24 23:41:17 mserver sudo[1195]: pam_unix(sudo:session): session opened for user root by dave(uid=0)<br>Jul 24 23:41:17 mserver sudo[1195]: pam_unix(sudo:session): session closed for user root<br><span style="background-color:rgb(255,255,0)">Jul 24 23:41:30 mserver kernel: usb 3-1: USB disconnect, device number 2</span><br><span style="background-color:rgb(255,0,255)">Jul 24 23:41:30 mserver systemd[1]: Stopped target Encrypted Volumes.</span><br>Jul 24 23:41:30 mserver systemd[1]: Stopping Cryptography Setup for dluks...<br>Jul 24 23:41:30 mserver systemd[1]: Stopping Cryptography Setup for aluks...<br>Jul 24 23:41:30 mserver systemd[1]: Stopping Cryptography Setup for bluks...<br>Jul 24 23:41:30 mserver systemd[1]: Stopped File System Check on /dev/disk/by-uuid/A4-0E.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped target Local File Systems.<br>Jul 24 23:41:30 mserver systemd[1]: Unmounting /ak...<br>Jul 24 23:41:30 mserver systemd[1]: Unmounting /.snapshots...Jul 24 23:41:30 mserver systemd[1]: Stopped target Encrypted Volumes.<br>Jul 24 23:41:30 mserver systemd[1]: Unmounting /var/data/nc...<br>Jul 24 23:41:30 mserver systemd[1]: Unmounting /home...<br>Jul 24 23:41:30 mserver systemd[1]: Unmounting /bk...<br>Jul 24 23:41:30 mserver systemd[1]: Unmounting /var/data/cw...<br>Jul 24 23:41:30 mserver systemd[1]: Stopping Update UTMP about System Boot/Shutdown...<br>Jul 24 23:41:30 mserver systemd[1]: Stopped Flush Journal to Persistent Storage.<br>Jul 24 23:41:30 mserver umount[1217]: umount: /home: target is busy<br>Jul 24 23:41:30 mserver umount[1217]:         (In some cases useful info about processes that<br>Jul 24 23:41:30 mserver umount[1217]:          use the device is found by lsof(8) or fuser(1).)<br>Jul 24 23:41:30 mserver systemd[1]: Stopped (with error) /dev/mapper/aluks.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped (with error) /dev/mapper/bluks.<br>Jul 24 23:41:30 mserver systemd[1]: home.mount: Mount process exited, code=exited status=32<br>Jul 24 23:41:30 mserver systemd[1]: Failed unmounting /home.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped Update UTMP about System Boot/Shutdown.<br>Jul 24 23:41:30 mserver systemd[1]: Unmounting /var/log...<br>Jul 24 23:41:30 mserver umount[1224]: umount: /var/log: target is busy<br>Jul 24 23:41:30 mserver umount[1224]:         (In some cases useful info about processes that<br>Jul 24 23:41:30 mserver umount[1224]:          use the device is found by lsof(8) or fuser(1).)<br>Jul 24 23:41:30 mserver systemd[1]: var-log.mount: Mount process exited, code=exited status=32<br>Jul 24 23:41:30 mserver systemd[1]: Failed unmounting /var/log.<br>Jul 24 23:41:30 mserver systemd[1]: Unmounted /var/data/cw.<br>Jul 24 23:41:30 mserver systemd[1]: Unmounted /.snapshots.<br>Jul 24 23:41:30 mserver systemd[1]: Unmounted /var/data/nc.<br>Jul 24 23:41:30 mserver systemd[1]: Unmounted /ak.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/disk/by-uuid/67xxx9ae1.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/disk/by-label/a_top.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-79ca-aluks.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/disk/by-id/dm-name-aluks.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/dm-2.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /sys/devices/virtual/block/dm-2.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped Cryptography Setup for aluks.<br>Jul 24 23:41:30 mserver systemd[1]: Unmounted /bk.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/disk/by-uuid/82xxx3b0.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/disk/by-label/bk.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-7258-bluks.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/disk/by-id/dm-name-bluks.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /dev/dm-3.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped /sys/devices/virtual/block/dm-3.<br>Jul 24 23:41:30 mserver systemd[1]: Stopped Cryptography Setup for bluks.<br>Jul 24 23:41:35 mserver systemd-cryptsetup[1203]: Failed to deactivate: Device or resource busy<br>Jul 24 23:41:35 mserver systemd[1]: systemd-cryptsetup@dluks.service: Control process exited, code=exited status=1<br>Jul 24 23:41:35 mserver systemd[1]: Stopped Cryptography Setup for dluks.<br>Jul 24 23:41:35 mserver systemd[1]: systemd-cryptsetup@dluks.service: Unit entered failed state.<br>Jul 24 23:41:35 mserver systemd[1]: systemd-cryptsetup@dluks.service: Failed with result 'exit-code'.<br><br></div></div>