mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5125] /usr/share is empty with google chrome profiles. #2887
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#2887
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 @crocket on GitHub (Apr 30, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5125
Description
/usr/share is empty with all google chrome profiles.
tmpfs is mounted on /usr/share.
Environment
firejail --version).@crocket commented on GitHub (Apr 30, 2022):
The combination of
filedb_print(share_out, "whitelist /usr/share/", fp);in src/fbuilder/build_fs.cignore include whitelist-usr-share-common.incin etc/profile-a-l/google-chrome.profile and other google chrome profiles.led to empty /usr/share.
@rusty-snake commented on GitHub (Apr 30, 2022):
Duplicate of #4929
@rusty-snake commented on GitHub (Apr 30, 2022):
Duplicate of #4965
@rusty-snake commented on GitHub (Apr 30, 2022):
Fixed by
56ebc8ac98@rusty-snake commented on GitHub (Apr 30, 2022):
If you use a custom profile you should post it.
@crocket commented on GitHub (Apr 30, 2022):
I didn't use a custom profile. By the way,
56ebc8ac98doesn't fix the issue.This issue is not a duplicate of either https://github.com/netblue30/firejail/issues/4929 or https://github.com/netblue30/firejail/issues/4965
My suggested solution to this issue is to remove
ignore include whitelist-usr-share-common.incin google chrome profiles. It's okay to removeignore include whitelist-runuser-common.inc, too.When /usr/share is empty, google chrome has various issues.
@rusty-snake commented on GitHub (May 1, 2022):
Why did you referenced fbuilder then?
filedb_print(share_out, "whitelist /usr/share/", fp);is only executed if you build a custom profile.chrom* has issues with firejail 0.9.68 because of empty /usr/share. Sounds very close.
If you tested this, open a PR. The only reason why they are disabled is that no-one has tested so far.
https://github.com/netblue30/firejail/issues/4929 or https://github.com/netblue30/firejail/issues/4965
Can you follow the issue template. Mainly
--noprofile, the checklist and log output.Reopening for now.
@crocket commented on GitHub (May 1, 2022):
By the way, what is a custom profile? I just used /etc/firejail/google-chrome.profile.
@rusty-snake commented on GitHub (May 1, 2022):
Any profile you create/edit by hand in an editor or generated with a program/script. i.e. every profile not included in your firejail installation package.