[arch-general] bug on systemd-cryptenroll
David Cohen
dacohen at pm.me
Tue Sep 28 02:24:41 UTC 2021
Hi,
systemd-cryptenroll has a known issue where it may fail if used with
fido2. This issue was fixed on upstream, but it was not ported to
systemd-stable. Hence we currently have this bug on arch:
https://github.com/systemd/systemd/issues/20664
What is the proper way to propose a patch to fix that issue on Arch's
systemd?
FWIW I tested the patch below on current systemd v249.4 and it fixes
the bug.
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index e4c867f..351ac12 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('systemd' 'systemd-libs' 'systemd-resolvconf'
'systemd-sysvcompat')
_tag='91ea8d825553fc1ecfc19448be24a4da56b13d00' # git rev-parse
v${_tag_name}
_tag_name=249.4
pkgver="${_tag_name/-/}"
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://www.github.com/systemd/systemd'
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam'
'libelf'
@@ -64,6 +64,8 @@ sha512sums=('SKIP'
'825b9dd0167c072ba62cabe0677e7cd20f2b4b850328022540f122689d8b25315005fa98ce867cf6e7460b2b26df16b88bb3b5c9ebf721746dce4e2271af7b97')
_backports=(
+ # fix systemd-cryptenroll using fido2
+ 'b6aa89b0a399992c8ea762e6ec4f30cff90618f2'
)
_reverts=(
Regards,
David
More information about the arch-general
mailing list