Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741158 - net-wireless/iwd breaks with dev-libs/ell-0.33
Summary: net-wireless/iwd breaks with dev-libs/ell-0.33
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-08 09:38 UTC by Sven Eden
Modified: 2020-09-08 12:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Eden 2020-09-08 09:38:18 UTC
After upgrading dev-libs/ell to version 0.33, net-wireless/iwd stopped working.

Calling iwd directly resulted in:
--------
 ~ # /usr/libexec/iwd -d
RC4 support not found
The following options are missing in the kernel:
        CONFIG_CRYPTO_USER_API_SKCIPHER
        CONFIG_CRYPTO_ECB
        CONFIG_CRYPTO_ARC4
--------

The requested options are all enabled in the kernel. Switching between Y and M made no difference.

The code causing this message was a call to a dev-libs/ell function:
    l_cipher_is_supported(L_CIPHER_ARC4)

After downgrading dev-libs/ell to version 0.32 iwd went back to normal operation.

So either the new dev-libs/ell-0.33 is broken, or net-wireless/iwd has to adapt to some official changes in dev-libs/ell.
However, if dev-libs/ell is not found, iwd uses a bundled version.

A first step could be to change the dependency of net-wireless/iwd to <dev-libs/ell-0.33

Currently I am uncertain which upstream is to be informed about the issue, as I did not look deeper into the matter.

Reproducible: Always

Steps to Reproduce:
1. Upgrade dev-libs/ell to version 0.33
2. /etc/init.d/iwd restart
3. /etc/init.d/iwd status
Actual Results:  
crashed

Expected Results:  
started

I have tried with net-wireless/iwd versions 1.7-r1, 1.8, 1.8-r1 and 1.8-r2 and switched between gold and bfd linker, including kernel rebuild and rebuilding ell and iwd plus their direct dependencies multiple times.
Comment 1 Larry the Git Cow gentoo-dev 2020-09-08 12:10:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5c35a7a521da7780b0494d65d64581fcf370b3

commit ca5c35a7a521da7780b0494d65d64581fcf370b3
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-09-08 11:58:20 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-09-08 12:10:28 +0000

    net-wireless/iwd:  revbump to tighten up ell dep
    
    Closes: https://bugs.gentoo.org/741158
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    RepoMan-Options: --force
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 net-wireless/iwd/iwd-1.8-r3.ebuild | 160 +++++++++++++++++++++++++++++++++++++
 1 file changed, 160 insertions(+)