I have this partition setup: ├─sda5 part /boot └─sda6 part └─disk (dm-0) crypt ├─disk-root (dm-1) lvm / └─disk-home (dm-2) lvm /home , which corresponds to a LVM volume group on top of a LUKS partition. This setup is explained in the archlinux wiki: https://wiki.archlinux.org/index.php/LUKS#Encrypting_a_LVM_setup So when I shutdown with systemd, it tells me it cannot detach the dm-0 device. It tries like 3 times and then just poweroff, showing that there was 2 devices to detach left. These messages aren't registered in the journal, but they are similar to the messages of this red hat's bug report: https://bugzilla.redhat.com/show_bug.cgi?id=657497 I'm using systemd version 185.
systemd cannot detach DM devices the root file system is on, after all, that's what it is run from. The initrd that assembled storage for the root file system at boot should also be the one which disassembles it at shutdown. For that the initrd implementation should follow these guidelines: http://www.freedesktop.org/wiki/Software/systemd/InitrdInterface Our recommendation is to use the Dracut initrd, which implements all this.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.