Files
systemd/man
Jonathan Lebon 6c5496c492 units: add initrd-cryptsetup.target
For encrypted block devices that we need to unlock from the initramfs,
we currently rely on dracut shipping `cryptsetup.target`. This works,
but doesn't cover the case where the encrypted block device requires
networking (i.e. the `remote-cryptsetup.target` version). That target
however is traditionally dynamically enabled.

Instead, let's rework things here by adding a `initrd-cryptsetup.target`
specifically for initramfs encrypted block device setup. This plays the
role of both `cryptsetup.target` and `remote-cryptsetup.target` in the
initramfs.

Then, adapt `systemd-cryptsetup-generator` to hook all generated
services to this new unit when running from the initrd. This is
analogous to `systemd-fstab-generator` hooking all mounts to
`initrd-fs.target`, regardless of whether they're network-backed or not.
2020-10-21 22:08:19 +02:00
..
…
2020-08-21 15:30:05 +09:00
2020-10-03 11:56:50 +00:00
2020-05-25 10:29:28 +02:00
2020-07-07 13:31:39 +02:00
2020-09-30 14:57:21 +02:00
2020-09-30 10:31:21 +02:00
2020-09-30 10:31:21 +02:00
2020-07-11 13:26:52 +02:00
2020-07-11 13:26:52 +02:00
2020-09-14 15:32:37 +02:00
2020-07-11 13:26:52 +02:00
2020-10-03 11:56:50 +00:00
2020-07-11 13:26:52 +02:00