summaryrefslogtreecommitdiffstats
path: root/units/system-systemd\x2dcryptsetup.slice (follow)
Commit message (Collapse)AuthorAgeFilesLines
* crypsetup: introduce x-initrd.attach optionFranck Bui2019-12-051-0/+13
This option is an indication for PID1 that the entry in crypttab is handled by initrd only and therefore it shouldn't interfer during the usual start-up and shutdown process. It should be primarily used with the encrypted device containing the root FS as we want to keep it (and thus its encrypted device) until the very end of the shutdown process, i.e. when initrd takes over. This option is the counterpart of "x-initrd.mount" used in fstab. Note that the slice containing the cryptsetup services also needs to drop the usual shutdown dependencies as it's required by the cryptsetup services. Fixes: #14224