Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Can't Sandbox Icecat with Firejail: [Solved]

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
bentHnau
Posts: 148
Joined: 2014-01-07 01:43
Been thanked: 1 time

Can't Sandbox Icecat with Firejail: [Solved]

#1 Post by bentHnau »

I have the lastest stable Icecat x64 binary (version 52.6.0). When I try to run it in Firejail (firejail icecat), I get an error

Code: Select all

Reading profile /etc/firejail/icecat.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 29622, child pid 29623
Blacklist violations are logged to syslog
Child process initialized
Could not find the GNU runtime.

Parent is shutting down, bye...
How to fix this?
Last edited by bentHnau on 2018-10-10 16:13, edited 1 time in total.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Can't Sandbox Icecat with Firejail

#2 Post by stevepusser »

No doubt how you installed it is at the root of your issue, since that version is not in the Stretch repositories, or even upstream Debian, nor any other distro, unless you really meant 0.9.56. https://repology.org/metapackage/firejail/versions
MX Linux packager and developer

bentHnau
Posts: 148
Joined: 2014-01-07 01:43
Been thanked: 1 time

Re: Can't Sandbox Icecat with Firejail

#3 Post by bentHnau »

stevepusser wrote:No doubt how you installed it is at the root of your issue
The number is the Icecat version, not the firejail version.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Can't Sandbox Icecat with Firejail

#4 Post by bw123 »

Have you looked at the permissions or used ldd command on the icecat binary? I'm going to assume you tried running it without firejail and it works? Is it a secret where it came from? Who said it was a stable version? Since you don't mention following any directions for installing it, or running it, I'm guessing there aren't any?

https://packages.debian.org/search?keywords=icecat
resigned by AI ChatGPT

bentHnau
Posts: 148
Joined: 2014-01-07 01:43
Been thanked: 1 time

Re: Can't Sandbox Icecat with Firejail

#5 Post by bentHnau »

bw123 wrote:Have you looked at the permissions or used ldd command on the icecat binary? I'm going to assume you tried running it without firejail and it works? Is it a secret where it came from? Who said it was a stable version? Since you don't mention following any directions for installing it, or running it, I'm guessing there aren't any?

https://packages.debian.org/search?keywords=icecat
I got it from the mirror http://ftpmirror.gnu.org/gnuzilla/. Yes, it runs without firejail. I don't know what I'm supposed to do with the permissions or ldd information. I called it "stable" to distinguish it from the alpha version. It's 8 months old and in other apt-based distros' stable repos, so I assume it's fairly stable. It's not installed; I'm just trying to run the executable.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Can't Sandbox Icecat with Firejail

#6 Post by stevepusser »

Whoops, my bad about versions!

I just did some backports of Firejail 0.9.56 if you want to see if that newer version fixes the issue. https://build.opensuse.org/package/show ... r/firejail

Though it looks like the build ssytem is draggin on getting the 64-bit versions published to the repo for some reason.

Edit: 64-bit versions are up.
MX Linux packager and developer

bentHnau
Posts: 148
Joined: 2014-01-07 01:43
Been thanked: 1 time

Re: Can't Sandbox Icecat with Firejail

#7 Post by bentHnau »

I figured out that the "can't find GNU runtime" error is not caused by firejail, it was caused by trying to start firejail with a symlink to icecat.

So the actual problem is the error that results from running firejail directly with the binary (using

Code: Select all

firejail ./icecat
):

Code: Select all

/bin/bash: ./icecat: No such file or directory
The icecat binary is definitely in the current folder. I can run it with ./icecat

bentHnau
Posts: 148
Joined: 2014-01-07 01:43
Been thanked: 1 time

Re: Can't Sandbox Icecat with Firejail

#8 Post by bentHnau »

I solved this by moving the entire icecat folder into my home directory and running firejail with the option --private-home=x, where x is the path to the icecat folder. --private-home only works with subdirectories of the home folder.

Post Reply