Initramfs generator using udev
pkcs11 and pcsc don't seem to have ever worked.
In the case of pkcs11, the following install line is incorrect (note the dot before *):
{"tls/$_arch/",tls/,"$_arch/",}"/cryptsetup/libcryptsetup-token-systemd-pkcs11.so.*"
And it should be:
{"tls/$_arch/",tls/,"$_arch/",}"/cryptsetup/libcryptsetup-token-systemd-pkcs11.so*"
I opened a PR and it was merged a while ago: https://github.com/dracutdevs/dracut/pull/2540
In the case of pcsc there are two problems.
One, the installation file is missing /usr/share/p11-kit/modules/opensc.module and without that, you can't really do anything.
Two, dracut doesn't include polkit and pcsc is compiled with it enabled by default. The option --disable-polkit was added to pcscd in 2.0, precisely to address this issue. It needs to be added to pcscd.service in the module for it to work on initramfs.
I opened another PR which has been approved by 2 reviewers and merged into openSUSE: https://github.com/dracutdevs/dracut/pull/2547
Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
|
||
|---|---|---|
| tests | ||
| .gitignore | ||
| 0001-fix-dracut.sh-use-dynamically-uefi-s-sections-offset.patch | ||
| 0001-fix-make-iso-scan-trigger-udev-events.patch | ||
| 0001-fix-systemd-pcrphase-rename-systemd-pcrphase-binary-.patch | ||
| 0001-fix-wait-12-hours-before-halt-on-media-check-fail.patch | ||
| 1521-Never-enable-the-bluetooth-module-by-default.patch | ||
| 1825-Skip-creating-initrd-when-initrd-is-provided.patch | ||
| 2134-revert-avoid-restarting-NetworkManager.patch | ||
| 2184-add-nvmeof-module.patch | ||
| 2218-add-module-driver-support-for-macbook-keyboards.patch | ||
| 2224-network-include-default-mac-none-link.patch | ||
| 2233-dmsquash-live-restore-compatibility.patch | ||
| 2237-kmoddir-fix-trailing-forwardslash-handling.patch | ||
| 2290-remove-dependency-on-multipathd-socket.patch | ||
| 2377-fix-kernel-modules-add-interconnect-drivers.patch | ||
| 2481-remove-microcode-check-based-on-CONFIG_MICROCODE_.patch | ||
| 2527.patch | ||
| 2531.patch | ||
| 2540-fix-pkcs11-libcryptsetup-token-systemd-pkcs11-so-path.patch | ||
| 2547-fix-pcsc-module.patch | ||
| bee1c4824a8cd47ce6c01892a548bdc07b1fa678.patch | ||
| dracut.spec | ||
| lgpl-2.1.txt | ||
| newdracut.sh | ||
| sources | ||