cryptsetup: bind cryptsetup service to both source and destination device
This commit is contained in:
parent
9b3d909074
commit
49d50c55bb
4
TODO
4
TODO
|
@ -82,6 +82,8 @@
|
||||||
|
|
||||||
* declare /etc/os-release cross-distro standard
|
* declare /etc/os-release cross-distro standard
|
||||||
|
|
||||||
|
* add ConditionDirectoryNotEmpty=
|
||||||
|
|
||||||
Pre v12:
|
Pre v12:
|
||||||
|
|
||||||
* fix hotplug transactions
|
* fix hotplug transactions
|
||||||
|
@ -96,6 +98,8 @@ External:
|
||||||
|
|
||||||
* pam_securetty should honour console=
|
* pam_securetty should honour console=
|
||||||
|
|
||||||
|
* sysctl should support sysctl.conf.d directory
|
||||||
|
|
||||||
* procps, psmisc, sysvinit-tools, hostname → util-linux-ng
|
* procps, psmisc, sysvinit-tools, hostname → util-linux-ng
|
||||||
|
|
||||||
https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth
|
https://bugzilla.redhat.com/show_bug.cgi?id=614245 -- plymouth
|
||||||
|
|
|
@ -100,9 +100,9 @@ static int create_disk(
|
||||||
"[Unit]\n"
|
"[Unit]\n"
|
||||||
"Description=Cryptography Setup for %%f\n"
|
"Description=Cryptography Setup for %%f\n"
|
||||||
"DefaultDependencies=no\n"
|
"DefaultDependencies=no\n"
|
||||||
"BindTo=%s\n"
|
"BindTo=%s dev-mapper-%%i.device\n"
|
||||||
"After=systemd-readahead-collect.service systemd-readahead-replay.service %s\n"
|
"After=systemd-readahead-collect.service systemd-readahead-replay.service %s\n"
|
||||||
"Before=dev-mapper-%%i.device shutdown.target\n",
|
"Before=dev-mapper-%%i.device shutdown.target local-fs.target\n",
|
||||||
d, d);
|
d, d);
|
||||||
|
|
||||||
if (password && (streq(password, "/dev/urandom") ||
|
if (password && (streq(password, "/dev/urandom") ||
|
||||||
|
|
Loading…
Reference in a new issue