]> git.ipfire.org Git - thirdparty/dracut.git/commit
fips: split loading the crypto modules and checking the kernel
authorLukas Nykryn <lnykryn@redhat.com>
Tue, 14 May 2019 07:23:55 +0000 (09:23 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 19 Jul 2019 14:26:05 +0000 (16:26 +0200)
commitb988934a385e29547b44d1ab35442f53d134d62e
treec6024366b0475c4584adbb199f11d964843c9ce7
parentb2616b526857d965c9068d6f1cf48f952411c8ad
fips: split loading the crypto modules and checking the kernel

In e54ab383 we moved the fips script to a later pahse of boot, since
the /boot might not be available early on.

The problem is that systemd-cryptsetup* services could be run now
started before the do_fips is executed and need the crypto modules
to decrypted the devices.

So let's split the do_fips and load the module before udev does the
trigger.
modules.d/01fips/fips-load-crypto.sh [new file with mode: 0644]
modules.d/01fips/fips.sh
modules.d/01fips/module-setup.sh