1

systemd crypttab issue

view story
linux-howto

https://bbs.archlinux.org – Prior to rolling over to systemd I used the following line in my crypttab:cryptodev /dev/sdb1 /dev/sdc1:vfat:/unlockfile luks With systemd that seems to be broken, so I tried mounting the usb stick(sdc1) in fstab as /mnt/usb then mod the cryptab to:cryptodev /dev/sdb1 /mnt/usb/unlockfile luksHowever this does not work because the systemd-cryptsetup@cryptostodev.service script runs prior to mounts. I attempted to add "Requires=mnt-usb.mount" and "After=mnt-usb.mount" in /run/systemd/generator/systemd-cryptsetup@cryptodev.service but I believe this is a generated file. My fir (HowTos)