[Bug 1189283] New: kernel-obs-build needs af_alg
https://bugzilla.suse.com/show_bug.cgi?id=1189283 Bug ID: 1189283 Summary: kernel-obs-build needs af_alg Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: fvogt@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- libkcapi got updated to 1.3.1 (https://build.opensuse.org/request/show/910806) and apparently gnutls picks that up now and enables support for it. It seems like that depends on AF_ALG sockets though, which are currently not enabled in kernel-obs-build (missing af_alg module), so various builds (libzip, libvirt) fail with libkcapi - Error: AF_ALG: socket syscall failed (errno: -97) I'm not sure whether just af_alg is enough, it might need some other modules as well. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189283 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189283 https://bugzilla.suse.com/show_bug.cgi?id=1189283#c1 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asn@cryptomilk.org --- Comment #1 from Marcus Meissner <meissner@suse.com> --- actually worse, the new libkcapi needs features not yet in our kernel. we probably need to delcine -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189283 https://bugzilla.suse.com/show_bug.cgi?id=1189283#c2 --- Comment #2 from Fabian Vogt <fvogt@suse.com> --- (In reply to Marcus Meissner from comment #1)
actually worse, the new libkcapi needs features not yet in our kernel.
we probably need to delcine
It got submitted again - what's the state now? Should we enable AF_ALG in kernel-obs-build (I'll ping on my pending PR) and/or add a patch to libkcapi to not print error messages to stderr by default? I filed https://github.com/smuellerDD/libkcapi/issues/138 upstream. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189283 https://bugzilla.suse.com/show_bug.cgi?id=1189283#c3 --- Comment #3 from Marcus Meissner <meissner@suse.com> --- for me it sounds valid to enable af_alg in kernel-obs-build -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189283 https://bugzilla.suse.com/show_bug.cgi?id=1189283#c4 --- Comment #4 from Fabian Vogt <fvogt@suse.com> --- af_alg and algif_hash are not enough, it prints an error message for various algorithms... [ 42s] libkcapi - Error: AF_ALG: bind failed (errno: -2) [ 42s] libkcapi - Error: Netlink error: cannot open netlink socket [ 42s] libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for hmac(sha1) (is required crypto_user.c patch missing? see documentation) [ 42s] libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for hmac(sha256) (is required crypto_user.c patch missing? see documentation) [ 42s] libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for hmac(sha384) (is required crypto_user.c patch missing? see documentation) [ 42s] libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for hmac(sha512) (is required crypto_user.c patch missing? see documentation) [ 42s] libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for sha1 (is required crypto_user.c patch missing? see documentation) [ 42s] libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for sha256 (is required crypto_user.c patch missing? see documentation) [ 42s] libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for sha384 (is required crypto_user.c patch missing? see documentation) [ 42s] libkcapi - Error: NETLINK_CRYPTO: cannot obtain cipher information for sha512 (is required crypto_user.c patch missing? see documentation) What's required exactly depends on the library user I suppose. So we'd basically have to include all algorithms and their arch-specific optimized implementations... The easiest way is to include and load all $moduledir/kernel/crypto/* modules, maintaining a manual list can be annoying. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189283 https://bugzilla.suse.com/show_bug.cgi?id=1189283#c6 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com, | |jslaby@suse.com Flags| |needinfo?(fvogt@suse.com) --- Comment #6 from Jiri Slaby <jslaby@suse.com> --- Can you post a tested patch, please? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189283 https://bugzilla.suse.com/show_bug.cgi?id=1189283#c7 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsrain@suse.com Flags|needinfo?(fvogt@suse.com) |needinfo?(jsrain@suse.com) --- Comment #7 from Fabian Vogt <fvogt@suse.com> --- (In reply to Jiri Slaby from comment #6)
Can you post a tested patch, please?
What for? So far I only have a known non working patch. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189283 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jsrain@suse.com) |needinfo?(jslaby@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com