Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firejail doesn't work automatically with gnome-books #4145

Closed
Tus1688 opened this issue Mar 27, 2021 · 4 comments
Closed

firejail doesn't work automatically with gnome-books #4145

Tus1688 opened this issue Mar 27, 2021 · 4 comments

Comments

@Tus1688
Copy link
Contributor

Tus1688 commented Mar 27, 2021

OS: Ubuntu 20.04.2 LTS
I am sorry if you found this question funny. I have been using firejail for a month, and I have never found any issue with app from apt repository. Today, I install gnome-books then do sudo firecfg to reconfigure, then relog.

I open gnome-books, I did firejail --list and gnome-books didn't show up. but when I do firejail gnome-books it's work like usual. Before I open an issue here, I have read firejail wiki. Unfortunately, I don't understand what is symlink is. Thanks in advance for your kindly help

@rusty-snake
Copy link
Collaborator

rusty-snake commented Mar 27, 2021

If the symlink is properly configured, you should get something like

$ ls -l "$(command -v gnome-books)"
lrwxrwxrwx. 1 root root … /usr/local/bin/gnome-books -> /usr/bin/firejail

then it's likely duplicated of #2624.

EDIT: workaround like in bd97615

@Tus1688
Copy link
Contributor Author

Tus1688 commented Mar 27, 2021

Thank you for your reply. I tried it, it show same as your previous reply.

@rusty-snake
Copy link
Collaborator

Then try to create /etc/firejail/Books.profile:

# Firejail profile for gnome-books
# This file is overwritten after every install/update


# Temporary fix for https://github.com/netblue30/firejail/issues/2624
# Redirect
include gnome-books.profile

and add Books to firecfg.config (find it with shopt -s globstar && ls /usr/lib*/**/firecfg.config).

After running sudo firecfg again, it hopefully works (and we can add it).

@Tus1688
Copy link
Contributor Author

Tus1688 commented Mar 28, 2021

it is working, thank you very much!

@Tus1688 Tus1688 closed this as completed Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants