[DSE-Dev] Bug#1088171: "Regex version mismatch" errors after pcre2 upgrade

Christian Göttsche cgzones at googlemail.com
Mon Dec 16 11:58:10 GMT 2024


Dec 16, 2024 10:14:21 Matthew Vernon <matthew at debian.org>:

> Hi,
>
> On 16/12/2024 01:25, Antonio Russo wrote:
>> On 11/24/24 08:18, Antonio Russo wrote:
>>> Dear Maintainer,
>>>
>>> After upgrading to pcre2 10.44-4, I get errors like this:
>>>
>>> Regex version mismatch, expected: 10.44 2024-06-07 actual: 10.42 2022-12-11
>>> dpkg: warning: selinux: Regex version mismatch, expected: 10.44 2024-06-07 actual: 10.42 2022-12-11
>>>
>>> in programs like mpv and dpkg.  Do these programs need to be recompiled against the new pcre2
>>> libraries?  Should this pcre2 upgrade have triggered a transition?
>
> AFAICT this is not a pcre2 bug, you don't need to recompile programs linked against pcre2 for the upgrade from 10.42 to 10.44.
>
>> This was resolved by running `semodule -B`.  I'm CC-ing the selinux- devel mailing list, since I'm
>> not sure how to communicate this piece of information from the pcre2 upgrade to selinux can or
>> should be done.
>
> If selinux wants to run something whenever pcre2 is updated on a system, it probably wants to install a suitable dpkg trigger.

There is a proposal for such a trigger:
https://salsa.debian.org/debian/pcre2/-/merge_requests/4

> Shall I reassign this bug to selinux?
>
> Regards,
>
> Matthew
>
> _______________________________________________
> SELinux-devel mailing list
> SELinux-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/selinux-devel




More information about the SELinux-devel mailing list