Jump to content

Photo

Firejail: too many processes

firejail

Best Answer panevino, 19 October 2017 - 04:09 PM

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...

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 panevino

panevino

    Member

  • Members
  • 6 posts

Posted 19 October 2017 - 02:01 PM

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?


Running BodhiLinux 4.3.1-64




A big thank you to everyone who contributes to Bodhi Linux


#2 DOOMguy

DOOMguy

    Member

  • Members
  • 259 posts

Posted 19 October 2017 - 02:57 PM

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.


Unsolicited advice for learning linux, that won't cost you anything


#3 panevino

panevino

    Member

  • Members
  • 6 posts

Posted 19 October 2017 - 04:09 PM   Best Answer

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...


Running BodhiLinux 4.3.1-64


#4 DOOMguy

DOOMguy

    Member

  • Members
  • 259 posts

Posted 19 October 2017 - 08:33 PM

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.


Unsolicited advice for learning linux, that won't cost you anything


#5 Jeff

Jeff

    Lead Developer

  • Developer
  • 12582 posts
  • LocationBloomington, IL

Posted 19 October 2017 - 09:48 PM

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.



#6 panevino

panevino

    Member

  • Members
  • 6 posts

Posted 20 October 2017 - 07:20 AM

Understood.

 

Thank you both.


Running BodhiLinux 4.3.1-64





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users