Systemd encrypted home message

Hi there,

I get this systemd message while booting:

May 17 19:59:25 TUX1 systemd[1]: systemd-cryptsetup@home.service: Main process exited, code=exited, status=1/FAILURE

May 17 19:59:25 TUX1 systemd[1]: systemd-cryptsetup@home.service: Failed with result 'exit-code'.

May 17 19:59:25 TUX1 systemd[1]: Failed to start Cryptography Setup for home.

May 17 19:59:25 TUX1 systemd[1]: Dependency failed for Local Encrypted Volumes.

I use a LUKS partition for /home and actually it gets mounted properly, despite this error message.

/etc/crypttab looks like:

cr_root      /dev/nvme0n1p3  none x-initrd.attach,luks
cr_rootrw    /dev/sda2       none luks
cr_home      /dev/nvme0n1p4  none luks

Is it recommended to use x-initrd.attach for encrypted home as well?

According to mount, everything’s ok and works, just want to understand, what systemd complains about.
Thanks !!

# mount | grep home
/dev/mapper/cr_home on /home type ext4 (rw,relatime)
1 Like

Thanks. This exactly has been the same issue here.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.