Hello, dear Fedora Community! I just want to ask you about libselinux. When I have just installed and upgraded Fedora at first time, I have got next errors:
Error: libselinux: type 0: Regex version mismatch, expected: 10.42 2022-12-11 actual: 10.44 2024-06-07
Error: libselinux: type 0: Regex version mismatch, expected: 10.42 2022-12-11 actual: 10.44 2024-06-07
What are they means? I checked libselinux (dnf info libselinux) and I have it. But I am not sure, is it active and works right. And after these errors, how is safe my laptop, because I have installed some packages, wallpapers and config files after that.
This looks like a version conflict between selinux and pcre2. Anytime you update pcre2, it should trigger rebuilding the binary files used by selinux. This happened some years ago where pcre2 was updated and the selinux files were not rebuilt due to some error in the trigger script in selinux-policy.
From you info, it looks like pcre2 is up-to-date, but selinux-policy may not be.
The trigger script that was supposed to have been run is
Thanks for your answer. I have seen something like that in: Regex version mismatch, expected: 10.39 Fedora 35. And I have made: sudo semodule -B, how it was shown there. What that means: ‘sudo semodule -B’? It it safe command?
And Is it same with your offer```
/usr/sbin/selinuxenabled && /usr/sbin/semodule -nB
What are these packages and where did they come from? And the Fedora itself, where did that come from, and what was the name of the file you downloaded.
I have installed Fedora from Fedora Official Website: https://fedoraproject.org/.
Before installing I have checked GPG, Checksums.
Then after all I have made at first time: sudo dnf update, sudo dnf upgrade. And finally scripts are installed, and here I saw:
Error: libselinux: type 0: Regex version mismatch, expected: 10.42 2022-12-11 actual: 10.44 2024-06-07
Error: libselinux: type 0: Regex version mismatch, expected: 10.42 2022-12-11 actual: 10.44 2024-06-07
But, I have decided to do next: I have downloaded configs, wallpapers from my cloud and move them to folders.
And after all of it I thought are these errors dangerous for my system and asked my questions here.
Wallpapers from: https://backiee.com. I think this website is safe.
Packages, which were downloaded and installed by me from DNF.
If you don’t see any related problem, you can ignore the error message. It cannot be avoided. The policy should be rebuilt automatically without any action and the pcre2 versions will be in sync in since then till another update.