How to express that a device listed in /etc/crypttab depends on a mount point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: How to express that a device listed in /etc/crypttab depends on a mount point
- From: aplanas <aplanas@xxxxxxx>
- Date: Wed, 25 Sep 2024 15:28:22 +0000
- User-agent: Roundcube Webmail
Hi!
An user have /home in a different encrypted partition via pcrlock. After
the initrd, during the normal boot process, the systemd-cryptsetup
generator is reading this file to open the devices in /dev/mapper/$name.
But this is happening before /var gets mounted, and this contains the
pcrlock.json file requires to unlock the home device.
Is there a way to indicate this dependency for the generator, as a
"RequiresMountsFor=" for .mount services or x-systemd.requires= in
fstab?
[Index of Archives]
[LARTC]
[Bugtraq]
[Yosemite Forum]
[Photo]