>OK so apparently there's something wrong with /dev/dm-0
Since I reported seeing the same sort of messages with Tumbleweed, I'll comment
here.
I use an encrypted LVM. And "/dev/dm-0" is the access to that LVM.
Inside the LVM, I have volumes "root1", "root2", "root3", "swap", "home".
I use "ext4" for home and root. If the root file system is the "root1" volume,
then the "home" volume is mounted at "/home". If the root file system is
either the "root2" or "root3" volume, then the "home" volume is mounted at
"/xhome".
The shutdown messages seem to show the crypto being properly undone. And that
happens before the "Command failed" messages show up.
If I mount the "home" volume at "/xhome", then I usually see a message
"Failed to unmount /xhome". I have checked by booting rescue media, and that
file system shows as clean. So I think it fails to unmount it because it has
already unmounted it, though I cannot see where.
If I have given more detail than is relevant, please ignore that extra detail.
Hmm, here's another point I should mention. I also have Tumbleweed on a spare
partition on a laptop. In that case, the root file system is "/dev/sda8" and
is not encrypted at all. But I do still mount "home" from the encrypted LVM at
"/xhome" and I still use swap from the encrypted LVM. On that system, I still
get the "Command failed" messages on shutdown. And I still see the "failed to
unmount /xhome" (before the "Command failed").