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

Antonio Russo aerusso at aerusso.net
Mon Dec 16 15:29:33 GMT 2024


On 12/16/24 08:19, Matthew Vernon wrote:
> PCRE2 does not, no. But if you want to do something any time the package
> is upgraded, you might declare yourself an interest-noawait trigger upon
> /usr/include/pcre2.h (which is necessarily updated whenever the version
> changes, which looks to be what selinux cares about).

That file is not present on my computer, only

/usr/lib/x86_64-linux-gnu/libpcre2-{8,16}.so.0 (and their symlink targets)

Perhaps activating on that name would work (I am assuming that, because
the symlink is listed in `dpkg -L`, this will work).  Additionally, the
page you mentioned indicates that use of this mechanism requires
coordination:

   File triggers should not generally be used without mutual consent.

So, it sounds like some selinux package should activate on both of

   /usr/lib/x86_64-linux-gnu/libpcre2-{8,16}.so.0

and perform the rebuild?  I don't know which selinux package should be
responsible for that (I'm relatively new to using selinux).

Best,
Antonio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x72DB026E04C1C768.asc
Type: application/pgp-keys
Size: 7680 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/selinux-devel/attachments/20241216/69e37d26/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/selinux-devel/attachments/20241216/69e37d26/attachment.sig>


More information about the SELinux-devel mailing list