[GH-ISSUE #4555] Evince does not support .cbz format with certain plugin #2704

Closed
opened 2026-05-05 09:22:00 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @lecso7 on GitHub (Sep 18, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4555

Description

Evince has a plugin allows user to read the archived images in .cbz format (same as .zip) used in comic books:

Its function is broken under firejail with default evince profile because libarchive need to be accessed to extract contents from the zip file. libarchive is a library enables program working with several different archive formats.

Steps to Reproduce

  1. Run firejail evince testfile.cbz
  2. cbz file can not be opened
  3. There is error from command line libarchive.so.13: cannot open ...

Expected behavior

With comics backend plugin installed, evince should display images from .cbz format.

Behavior without a profile

Without a profile, the .cbz test file can be accessed.

Environment

  • Firejail version 0.9.66

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Output of firejail /path/to/program

...
(evince:60): EvinceDocument-WARNING **: 07:05:18.125: libarchive.so.13: cannot open shared object file: No such file or directory

Originally created by @lecso7 on GitHub (Sep 18, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4555 ### Description Evince has a plugin allows user to read the archived images in .cbz format (same as .zip) used in comic books: * https://wiki.gnome.org/Apps/Evince/SupportedDocumentFormats * https://gitlab.gnome.org/GNOME/evince/tree/master/backend/comics/ Its function is broken under firejail with default evince profile because **libarchive** need to be accessed to extract contents from the zip file. libarchive is a library enables program working with several different archive formats. ### Steps to Reproduce 1. Run `firejail evince testfile.cbz` 2. cbz file can not be opened 3. There is error from command line `libarchive.so.13: cannot open ...` ### Expected behavior With comics backend plugin installed, evince should display images from .cbz format. ### Behavior without a profile Without a profile, the .cbz test file can be accessed. ### Environment - Firejail version 0.9.66 ### Checklist - [X] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [X] I can reproduce the issue without custom modifications (e.g. globals.local). - [X] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [X] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [X] I have performed a short search for similar issues (to avoid opening a duplicate). - [x] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [X] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log <details> <summary>Output of <code>firejail /path/to/program</code></summary> <p> ``` ... (evince:60): EvinceDocument-WARNING **: 07:05:18.125: libarchive.so.13: cannot open shared object file: No such file or directory ``` </p> </details>
Author
Owner

@lecso7 commented on GitHub (Sep 18, 2021):

I will fix this problem by adding libarchive support in the private-lib configurations.

<!-- gh-comment-id:922164055 --> @lecso7 commented on GitHub (Sep 18, 2021): I will fix this problem by adding libarchive support in the **private-lib** configurations.
Author
Owner

@lecso7 commented on GitHub (Sep 18, 2021):

This issue is fixed.

<!-- gh-comment-id:922382317 --> @lecso7 commented on GitHub (Sep 18, 2021): This issue is fixed.
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#2704
No description provided.