mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2367] Firefox won't start #1578
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#1578
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 @alexandre1985 on GitHub (Jan 24, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2367
I'm using Manjaro Linux. I have a Nvidia video card.
I have firefox on my system that was installed using the tar.gz package of the official site. I have put the firefox directory on
/usr/lib/.I can't start firefox using
firejail firefox.I have also tried
firejail --allow-debuggers --ignore=seccomp --ignore=protocol firefox -no-remote, no success.The output error message that I get when I do
firejail firefoxis:When I do
firejail /usr/lib/firefox/firefoxI get a firefox window (yupi!) but on my terminal I still get the above message and my prompt returns to state that is when opening a terminal, instead of the prompt staying idle (which is the state that is should be, meaning that the program is running). The prompt not being idle gives me the indication that maybefirefoxisn't firejailed when runningfirejail /usr/lib/firefox/firefox.My firefox version is 64.0.2 (64-bit)
My
firejail --versionis:@SkewedZeppelin commented on GitHub (Jan 24, 2019):
Why not install from package manager?
Does the tar add a launcher/binary to bin? it will only search your path like normal
If you already have an existing instance of Firefox open, it will join it, and not spawn a new one
@alexandre1985 commented on GitHub (Jan 24, 2019):
I have made
sudo ln -s /my/firefox/path /usr/bin/firefoxand nowfirejail firefoxworks.Thanks
@alexandre1985 commented on GitHub (Jan 25, 2019):
I believe the problem was with the directory being
/usr/lib/firefox/because when I didwhereis firefoxit gave me:and
/usr/lib/firefoxisn't the program path, it should return/usr/lib/firefox/firefoxinstead.I believe the problem comes from there.
Now, I have moved my firefox directory to another location and opening firefox through
firefox.desktopis ok, running with firejail. So, no problem with that.I have a symbolic link from
/usr/local/bin/firefoxto/usr/bin/firejail. To give you full information, I also have another symbolic link from/usr/bin/firefoxto my new firefox path.Now, when I run
firefoxit goes to/usr/local/bin/firefox -> /usr/bin/firejailso it is picking up firejail but I get this error message:So, it is my understanding that this error appears because firejail is grabbing the old firefox directory. I want firejail to update to the new firefox directory, how can I do that?
@chiraag-nataraj commented on GitHub (Jan 25, 2019):
What does
ls -lh /usr/bin/firefoxgive? I suspect that symbolic link points to/usr/lib/firefox/firefox...@chiraag-nataraj commented on GitHub (Jan 25, 2019):
Also, to echo @SkewedZeppelin, why not just install
firefoxfrom the repositories?@alexandre1985 commented on GitHub (Jan 25, 2019):
@chiraag-nataraj
ls -lh /usr/bin/firefoxgives the new firefox directory.Installing firefox from the repository won't give updates to firefox automatically. I will only update firefox when the repository updates it, which is not that quick.
This is a firefox issue, I will try to create a new profile and see if that works.
Will submit this issue to firefox forum, thank you anyway 👍
@chiraag-nataraj commented on GitHub (Jan 25, 2019):
Manjaro Unstable has 66... https://repology.org/metapackage/firefox/versions
And if you only want to upgrade
firefoxto unstable while keeping everything else in stable, that should be possible via your package manager. What you're doing is an ugly hack because you will have to either manually check for and download updates or run firefox as root(!!) to have the autoupdater succeed. Neither is a good option.@alexandre1985 commented on GitHub (Jan 25, 2019):
I manually check for updates, don't mind about that.
My firefox isn't as root.
How do I install firefox as unstable and keep everything else in stable @chiraag-nataraj ?
@chiraag-nataraj commented on GitHub (Jan 25, 2019):
This is strictly inferior to using the package manager with well-maintained packages.
I don't know Arch or Manjaro, but I suspect there's something similar to apt's pinning mechanism in Debian.
@chiraag-nataraj commented on GitHub (Jan 25, 2019):
I stand corrected: https://wiki.manjaro.org/index.php?title=System_Maintenance
@chiraag-nataraj commented on GitHub (Jan 25, 2019):
You could use the AUR...that might work?
@alexandre1985 commented on GitHub (Jan 25, 2019):
@chiraag-nataraj I think I will leave things as they are.
Thank you
@alexandre1985 commented on GitHub (Jan 27, 2019):
I also have a
firefoxalias so that is why when I ranfirefoxon the terminal it went to /usr/lib/firefox/firefox. Just found out that.It was a long time that I have configured that alias, so that's why I didn't remember.
Now everything is 100% well. Sorry 😅