mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3121] evince.profile issues (Gentoo) #1958
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1958
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @reagentoo on GitHub (Jan 4, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3121
@glitsj16 Hi.
I've tested again the profile after your commit (https://github.com/netblue30/firejail/pull/3120/commits/bd7394f6e5a23c6bf68b37b74c5f786ee16b4712). And as I said in our previous discussion (https://github.com/netblue30/firejail/issues/3118)
libgcc_s.so.*,libstdc++.so.*does not solve.I can view PDFs only if
,gccused inprivate-lib. But It's not properly way to fix I think (not removes warnings).Also may be it's necessary to remove
nodbusdue to line in log:@ghost commented on GitHub (Jan 4, 2020):
@reagentoo Hi again. Let's tackle this one first. As the warning and the comment inside /etc/firejail/evince.profile states
net noneonly has confirmed issues on Ubuntu with AppAmor. On Gentoo you can addnet noneto your evince.local. That should take care of the D-BUS warning. Firejail also has the--auditoption to check/confirm that:$ firejail --audit /usr/bin/evinceIf adding
gccis the only way to get evince working on Gentoo, I'll happily add it. IMHO it shouldn't impact the strength of the profile. Besides that it doesn't remove the warnings, does evince work for you with all its functionalities if you add gcc to private-lib?@rusty-snake commented on GitHub (Jan 4, 2020):
IIRC you can do
private-lib gcc/something/libstdc++.sowhich will add/usr/lib/libstdc++.soin the sandbox.@reagentoo commented on GitHub (Jan 4, 2020):
@glitsj16
Actually I have both enabled sandboxes AppArmor and Firejail on Gentoo.
I've gotten log without DBus warning after adding this.
Right.
@ghost commented on GitHub (Jan 4, 2020):
@reagentoo OK, that leaves fixing
private-libas tight as possible. Did you test @rusty-snake's suggestion if it works when you add libstdc++.so.* and libgcc_s.so.* using the full sub-path under /usr/lib/gcc yet?@reagentoo commented on GitHub (Jan 4, 2020):
I've tested this lines:
All of this is works for me. You need to decide which way is more acceptable.
@ghost commented on GitHub (Jan 4, 2020):
@reagentoo The
gcc/*/*/libstdc++.so.*,gcc/*/*/libgcc_s.so.*syntax should be the best one to future-proof the evince profile on Gentoo. Thanks again for your cooperation!