Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eid-mw conflicts with opensc on Linux distributions #206

Open
kbon opened this issue May 20, 2024 · 3 comments
Open

eid-mw conflicts with opensc on Linux distributions #206

kbon opened this issue May 20, 2024 · 3 comments

Comments

@kbon
Copy link

kbon commented May 20, 2024

Upgraded my workstation from Fedora 39 to 40 more than a week ago, went smooth. Today when performing a routine upgrade of my Fedora 40 workstation using dnf upgrade I got following error:

Error: transaction check vs depsolve:
/usr/lib64/pkcs11/opensc-pkcs11.so conflicts with eid-mw-libs-5.1.18-0.v5.1.18.fc40.x86_64
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.

When I dnf remove opensc, I can install eid-mw-libs, but when then try to install opensc I get a similar error about the same file.

Are eid-mw-libs and opensc intended to be mutually exclusive or is this a bug?

@kbon
Copy link
Author

kbon commented May 20, 2024

Searching this repo for opensc-pkcs11.so I found 11daff9 , which describes this very problem, and it seems indeed this behavior is intentional. Luckily I don't need opensc as much as I need eid-mw, so the solution for me is easy, and the commit proved it's worth. Thanks!

@yoe yoe changed the title eid-mw conflicts with opensc on Fedora 40 eid-mw conflicts with opensc on Linux distributions May 23, 2024
@yoe
Copy link
Member

yoe commented May 23, 2024

Indeed, this was unfortunately necessary.

We will update the conflict to a versioned conflict once OpenSC releases the fix (as explained in the commit you link to), but unfortunately OpenSC makes authentication fail for modern eID cards, so we have had to take this step.

I'll leave this ticket open until the versioned conflict can be implemented.

@liedekef
Copy link

liedekef commented Jun 2, 2024

The current behavior is not desired since it breaks "dnf upgrade" on all systems that have both installed. So either don't do it or use Obsoletes (and not Conflicts) when installing eid-mw-libs (so the opensc package is uninstalled if you try to install eid-mw-libs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants