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

Matthew Vernon matthew at debian.org
Mon Dec 16 09:14:16 GMT 2024


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.

Shall I reassign this bug to selinux?

Regards,

Matthew



More information about the SELinux-devel mailing list