mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3633] chromium-privacy-browser: program does not start #2285
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#2285
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 @brianpepino on GitHub (Sep 17, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3633
I got this error when using firejail to run chromium-privacy-browser:
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
** Note: you can use --noprofile to disable default.profile **
Parent pid 144065, child pid 144066
Warning: cleaning all supplementary groups
Child process initialized in 33.87 ms
[3:3:0917/174043.946346:FATAL:zygote_host_impl_linux.cc(203)] Check failed: ReceiveFixedMessage(fds[0], kZygoteHelloMessage, sizeof(kZygoteHelloMessage), &real_pid).
#0 0x55e9a7d15829 base::debug::CollectStackTrace()
Received signal 6
#0 0x55e9a7d15829 base::debug::CollectStackTrace()
r8: 0000000000000000 r9: 00007ffdd7c67790 r10: 0000000000000008 r11: 0000000000000246
r12: 00007ffdd7c68a00 r13: 00007ffdd7c68a10 r14: 00000000000000a6 r15: 00007ffdd7c689f0
di: 0000000000000002 si: 00007ffdd7c67790 bp: 00007ffdd7c679e0 bx: 00007f690ac57240
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f690e1a09e5 sp: 00007ffdd7c67790
ip: 00007f690e1a09e5 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
Parent is shutting down, bye...
I also get the same error when I use firejail to launch Chromium-freeworld.
Any idea on how to solve this?
Thanks
@rusty-snake commented on GitHub (Sep 17, 2020):
chromium-privacy-browser has no profile, therefore firejail uses default.profile. You can try to use the chromium.profile (
firejail --profile=chromium chromium-privacy-browser). If that still don't work, copy the chromium/chromium-common profile to ~/.config/firejail (maybe you need to create that directory) and change some paths.@brianpepino commented on GitHub (Sep 24, 2020):
Apologies for the delay in responding to you.
I tried your suggestion and it launched Chromium but with this error:
firejail --profile=chromium chromium-freeworld
Reading profile /etc/firejail/chromium.profile
Reading profile /etc/firejail/chromium-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 171133, child pid 171134
Child process initialized in 71.89 ms
Warning: an existing sandbox was detected. /usr/bin/chromium-freeworld will run without any additional sandboxing features
/usr/bin/chromium-freeworld: line 52: /dev/fd/62: No such file or directory
/usr/bin/chromium-freeworld: line 53: /dev/fd/62: No such file or directory
[4:24:0924/103132.165699:ERROR:address_tracker_linux.cc(214)] Could not bind NETLINK socket: Address already in use (98)
[44:44:0924/103132.187920:ERROR:vaapi_wrapper.cc(436)] vaInitialize failed: unknown libva error
My apologies but I am out of my depth here as to the cause of this. Perhaps it is my distro? I am using Fedora 32.
In addition, when I launched Chromium using its icon it does not respect firejail even though I already linked it.
Any suggestions?
My apologies for all this hassle. Thank you so much for your help.
@rusty-snake commented on GitHub (Sep 24, 2020):
Is something broken or are there just error messages? What's your firejail version?
This is likely caused by an absolute path in its .desktop file. Copy it to your home and change the line
Exec=/usr/bin/chromium-freeworldtoExec=chromium-freeworld.Assuming is uses chromium-freeworld.desktop:
So no other config files needed. You can create
~/.config/firejail/ chromium-freeworld.profileto skip the--profileoption.chromium-freeworld.profile:@rusty-snake commented on GitHub (Oct 1, 2020):
Does this profile work? If so I can commit it upstream, so the next release can firejail chromium-freeworld with firecfg.
@brianpepino commented on GitHub (Oct 2, 2020):
Thank you for the follow up. I really appreciate it.
The version of firejail I am running is firejail.x86_64 0.9.62.4-1.fc32.
Regarding the error message, the one I posted above is the only error message I got but even with that error message Firjeail managed to run Chromium Freeworld and jail it.
As to the steps you enumerated, I used it and I was able to run chromium-freeworld inside firejail when I type on my terminal "chromium-freeworld" but with this error message:
chromium-freeworld
Reading profile /home/weatherman/.config/firejail/chromium-freeworld.profile
Reading profile /etc/firejail/chromium.profile
Reading profile /etc/firejail/chromium-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 145383, child pid 145384
Child process initialized in 74.52 ms
/usr/bin/chromium-freeworld: line 52: /dev/fd/62: No such file or directory
/usr/bin/chromium-freeworld: line 53: /dev/fd/62: No such file or directory
[4:24:1002/123525.290298:ERROR:address_tracker_linux.cc(214)] Could not bind NETLINK socket: Address already in use (98)
[44:44:1002/123525.324766:ERROR:vaapi_wrapper.cc(436)] vaInitialize failed: unknown libva error
Next, when I click my Chromium Freeworld icon it will launch but not inside firejail. I am using Cinnamon Desktop Environment.
Sorry but anything else I should do at this point? I feel we are at a point that this thing will be solved except I am simply lost as to what else to do. Sorry.
Thank you so much for the quick response and assistance. I really appreciate it.
@rusty-snake commented on GitHub (Oct 3, 2020):
If nothing is broken, that's fine. The first three I saw often with chromium-based browsers. The last is about VA-API which is almost useless for Chrome+Linux AFAIK.
Did you tried my suggestion above?
@brianpepino commented on GitHub (Oct 5, 2020):
Hi! I did this "cp /usr/share/applications/chromium-freeworld.desktop ~/.local/share/applications
vim ~/.local/share/applications/chromium-freeworld.desktop" and even edited my chromium-freeworld.desktop file to include this line "Exec=chromium-freeworld --incognito" but it is still not respecting firejail.
Did I miss anything?
Thanks.
@rusty-snake commented on GitHub (Oct 6, 2020):
Sum up: ~/.local/share/applications/chromium-freeworld.desktop does not contain /usr/bin/chromium-freewold (or similar) and
which chromium-freeworldshows /usr/local/bin/chromium-freewold (the firecfg symlink).If this still not respects firejail, I cann't help because IDK how cinnamon's menu works.