Jump to content
  • 0
panevino

Firejail: too many processes

Question

Hello,

I have a strange behavior with firejail.

Whenever I start an application with firejail, 3 processes are created instead of only 2.

Ex: $ firejail firefox &

      $ ps -ef |grep firefox |grep -v grep

root      5731  4526  0 11:47 ?        00:00:00 firejail firefox
root      5732  5731  0 11:47 ?        00:00:00 firejail firefox
user      5736  5732  0 11:47 ?        00:00:52 /usr/lib/firefox/firefox   

I didn't find any similar report on the internet and don't know were to start looking into this.

I don't have this behavior with my Debian distro.

 

Any idea?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi Doomguy,

 

Thanks for your help.

 

I'm very sorry, but in doing what you asked, I found out that in fact the behavior is exactly the same with ubuntu and debian! There are always 3 processes. I never noticed that before, and I don't know why I had in mind I saw a different result with debian.

 

I suppose that this is part of the isolation firejail is supposed to provide?

 

Just for interest :-) here is the output you requested. They are exactly the same for ubuntu and debian

 

$ firejail firefox
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/disable-mgmt.inc
Reading profile /etc/firejail/disable-secret.inc
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 12170, child pid 12171
Blacklist violations are logged to syslog

Child process initialized
1508426536368   addons.webextension.https-everywhere@eff.org    WARN    Please specify whether you want browser_style or not in your browser_action options.

Thanks again and sorry for the disturb...

Share this post


Link to post
Share on other sites
  • 0

I know you ran it with the ampersand "&" which is only proper

 

I want to see low level messages; run it at the prompt in terminology without the ampersand and let's look at firejail's behavior. (Do not enter other commands in the meantime from that terminal).

 

But you are more familiar with firejail; run the same command in your Debian, without the ampersand too. We can then compare notes. You can paste those messages here too, to aid us in troubleshooting.

 

One thing I can think of is, that your double-click launched a second one but this was launched from a command line.

Share this post


Link to post
Share on other sites
  • 0

There is no need to apologize. You are welcome, and at least you were able to see things for yourself this way. I am sure there will be someone out there that will appreciate that you posted your findings here, instead of just ignoring the thread.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

For reference all the firefox packages in Bodhi are stock from the Ubuntu repos - feel free to report this issue upstream to the Ubuntu folks as the desktop Bodhi uses shouldn't have any effect on this.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×