[GH-ISSUE #4202] dbus-send: hardcoded libpcre2-8.so.0 does not match libpcre.so.3 (private-lib) #2575

Open
opened 2026-05-05 09:14:51 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @loveshack on GitHub (Apr 17, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4202

The dbus-send profile has private-lib libpcre2-8.so.0, which doesn't match the libpcre.so.3 used by fcopy on Debian 10, for instance. (The symptom I noticed is the lxde shutdown menu failing to appear after firecfg.) Putting libpcre.so.3 in a local profile fixes it.

This seems rather fragile. Presumably the soname should be configured for the system at build time.

This is with 0.9.64.4, but the profile is the same in git.

Originally created by @loveshack on GitHub (Apr 17, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4202 The dbus-send profile has `private-lib libpcre2-8.so.0`, which doesn't match the libpcre.so.3 used by fcopy on Debian 10, for instance. (The symptom I noticed is the lxde shutdown menu failing to appear after firecfg.) Putting libpcre.so.3 in a local profile fixes it. This seems rather fragile. Presumably the soname should be configured for the system at build time. This is with 0.9.64.4, but the profile is the same in git.
Author
Owner

@ghost commented on GitHub (Apr 17, 2021):

Thanks for reporting. Not ideal, but for now we can get away with using libpcre*. We simply don't have the tooling to generate such finer-grained lists for things like this at build time. Personally I'd like to see the project moving into that direction in general. Perhaps you can open a discussion thread on the topic. Interesting ideas like yours tend to slip to the cracks too easily after an issue is closed and the world moves on.

<!-- gh-comment-id:821883631 --> @ghost commented on GitHub (Apr 17, 2021): Thanks for reporting. Not ideal, but for now we can get away with using libpcre*. We simply don't have the tooling to generate such finer-grained lists for things like this at build time. Personally I'd like to see the project moving into that direction in general. Perhaps you can open a discussion thread on the topic. Interesting ideas like yours tend to slip to the cracks too easily after an issue is closed and the world moves on.
Author
Owner

@rusty-snake commented on GitHub (Apr 17, 2021):

I've two notes, re-opening for now.

  1. Is this fixed by #4004?
  2. qrencode.profile has private-lib libpcre2-8.so.0 too. [EDIT: done]

Looks like a duplicate of #3741 which is (for now) fixed by #4004.

<!-- gh-comment-id:821889871 --> @rusty-snake commented on GitHub (Apr 17, 2021): I've two notes, re-opening for now. 1. Is this fixed by #4004? 2. `qrencode.profile` has `private-lib libpcre2-8.so.0` too. [EDIT: done] Looks like a duplicate of #3741 which is (for now) fixed by #4004.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2575
No description provided.