[GH-ISSUE #3192] zathura fails without /etc/ld.so.cache #1996

Closed
opened 2026-05-05 08:40:11 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @s-hamann on GitHub (Jan 28, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3192

I tried opening a PDF file in zathura. Zathura started, but could not open the document. I got the following error message on the console:

error: Could not load plugin '/usr/lib64/zathura/libpdf-poppler.so' (libstdc++.so.6: cannot open shared object file: No such file or directory).
error: Unknown file type: 'application/pdf'

I was able to resolve this by adding ld.so.cache to the private-tmp directive.
Could this please be added to the default profile?

Originally created by @s-hamann on GitHub (Jan 28, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3192 I tried opening a PDF file in zathura. Zathura started, but could not open the document. I got the following error message on the console: ``` error: Could not load plugin '/usr/lib64/zathura/libpdf-poppler.so' (libstdc++.so.6: cannot open shared object file: No such file or directory). error: Unknown file type: 'application/pdf' ``` I was able to resolve this by adding `ld.so.cache` to the `private-tmp` directive. Could this please be added to the default profile?
Author
Owner

@rusty-snake commented on GitHub (Jan 28, 2020):

22f7452215

<!-- gh-comment-id:579370834 --> @rusty-snake commented on GitHub (Jan 28, 2020): https://github.com/netblue30/firejail/commit/22f74522156f67f26d6be5c8943e905a75a7f1ee
Author
Owner

@ghost commented on GitHub (Jan 28, 2020):

@s-hamann After seeing this I had a first-time look at our zathura profile. It could be considerably hardened IMHO. I installed zathura on Arch and did some testing with the profile changes in #3193. Would you be willing to test that profile please? You can leave your comments, remarks etcetera in the PR.

<!-- gh-comment-id:579404061 --> @ghost commented on GitHub (Jan 28, 2020): @s-hamann After seeing this I had a first-time look at our zathura profile. It could be considerably hardened IMHO. I installed zathura on Arch and did some testing with the profile changes in #3193. Would you be willing to test that profile please? You can leave your comments, remarks etcetera in the PR.
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#1996
No description provided.