Closed Bug 1488078 Opened 6 years ago Closed 6 years ago

Running FireJail Breaks Firefox 60.1.0esr

Categories

(Firefox :: Untriaged, defect)

60 Branch
Desktop
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bo0od, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20100101

Steps to reproduce:

 Steps to produce it:

Testing environment: Debian stable

Install: FireJail

apt install firejail

then download firefox: 

https://www.mozilla.org/en-US/firefox/organizations/all/

then run firejail for firefox:

firejail ./firefox   (inside firefox path)


Actual results:

Freezes up, please check this image: 

https://trac.torproject.org/projects/tor/attachment/ticket/27407/tbbbreak.png

and as well this is related reported original inside Tor Trac Tickets: 

https://trac.torproject.org/projects/tor/ticket/27407#no2 




Expected results:

works just as any normal firefox when browsing
Severity: normal → major
Component: Untriaged → Security: Review Requests
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Component: Security: Review Requests → DOM: Security
Product: Firefox → Core
As a "security review request" or a "DOM: security" bug this is INVALID. If you'd like someone to look at your problem please leave it in "Untriaged" until someone figures out where it belongs properly.
Component: DOM: Security → Untriaged
Product: Core → Firefox
I tried to reproduce this issue, but this error is shown in the console: 

Child process initialized
Error: Access was denied while trying to open files in your profile directory.

Can you please help me to succeed starting the ESR so I can reproduce the issue?
Flags: needinfo?(tnt_bom_bom)
(In reply to David Olah from comment #2)
> I tried to reproduce this issue, but this error is shown in the console: 
> 
> Child process initialized
> Error: Access was denied while trying to open files in your profile
> directory.
> 
> Can you please help me to succeed starting the ESR so I can reproduce the
> issue?

the testing directory is /Downloads? 

and this is know issue of firefox as i can see: 

https://askubuntu.com/questions/350968/firefox-wont-launch-error-access-was-denied-while-trying-to-open-files-in-yo

so try this might help: 

sudo chown -R usernamehere.usernamehere .mozilla/

dont tell me u r using ubuntu?
I only managed to run Firefox with firejail --noprofile on Ubuntu 16.04:

- tried with ESR60.2 and Nightly 64.0a1 (2018-09-06)
- the issue is not reproducing on neither of the cases, no crashes reported

In the case of trying to run firejail default, i get Error: Access was denied while trying to open files in your profile directory and Firefox won't start.


In my view, the above hint towards a miss-configuration of the profile path. Not sure if it is a Firefox or a firejail issue at this point.

By chance, do you know what the error above means and how could I fix it?
(In reply to David Olah from comment #4)
> I only managed to run Firefox with firejail --noprofile on Ubuntu 16.04:
> - tried with ESR60.2 and Nightly 64.0a1 (2018-09-06)
> - the issue is not reproducing on neither of the cases, no crashes reported 
> In the case of trying to run firejail default, i get Error: Access was
> denied while trying to open files in your profile directory and Firefox
> won't start.
> In my view, the above hint towards a miss-configuration of the profile path.
> Not sure if it is a Firefox or a firejail issue at this point.
> By chance, do you know what the error above means and how could I fix it?

you have problem: 

- i didnt said to test this on the disaster OS called Ubuntu which made by the horrible company canonical (which is the other face of microsoft). i said to test this on Debian. 

i checked this problem as well with FireJail issues and i found this: (they said it has been fix , but i see nothing on reality):

https://github.com/netblue30/firejail/issues/2110
Flags: needinfo?(tnt_bom_bom)
according to the upstream: firejail 0.9.54 fixed that issue. 

Thanks for all of the collaborations.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.