Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Firejail: Firefox profile broken
@ 2020-03-20  2:40 howtologinquickwiththirtyninecharacters
  2020-03-20 13:04 ` daniel-eys
  2020-07-29 17:00 ` [ISSUE] [CLOSED] " Duncaen
  0 siblings, 2 replies; 3+ messages in thread
From: howtologinquickwiththirtyninecharacters @ 2020-03-20  2:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2570 bytes --]

New issue by howtologinquickwiththirtyninecharacters on void-packages repository

https://github.com/void-linux/void-packages/issues/20226

Description:
### System

* xuname:  
  *Void 5.4.26_1 x86_64 GenuineIntel uptodate rrFFFF*
* package:  
  *firejail-0.9.62_1*

### Expected behavior

Upon executing `firejail firefox` Firefox starts and remains listed in the output of `firejail --top`

### Actual behavior

Firefox starts, appears for a brief moment in the output of `firejail --top`, then closes without ever opening a window. See footnote for the output of the command.

### Steps to reproduce the behavior

1. Install Firejail and Firefox (*firefox-74.0_1* at the time of writing this)
2. (important) Make sure no other Firefox process is running
3. Run `firejail --top` on a terminal
4. (optional) Run `firejail watch echo 1` on a different terminal and confirm that it appears in the `firejail --top` output to make sure Firejail works as expected for other software
4. Run `firejail firefox` on a different terminal, confirm that Firefox does not start and examine the output of the command

### Footnotes

Installing AppArmor to silence the Firejail warnings doesn't fix this issue.

This was working some time ago but I can't remember the exact Firefox and Firejail versions. I think it may have been around the time of Firefox 70.

Output of the command:

~~~
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/firefox-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 4188, child pid 4189
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Post-exec seccomp protector enabled
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Warning: Cannot confine the application using AppArmor.
Maybe firejail-default AppArmor profile is not loaded into the kernel.
As root, run "aa-enforce firejail-default" to load it.
Child process initialized in 118.78 ms

Parent is shutting down, bye...
~~~

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Firejail: Firefox profile broken
  2020-03-20  2:40 [ISSUE] Firejail: Firefox profile broken howtologinquickwiththirtyninecharacters
@ 2020-03-20 13:04 ` daniel-eys
  2020-07-29 17:00 ` [ISSUE] [CLOSED] " Duncaen
  1 sibling, 0 replies; 3+ messages in thread
From: daniel-eys @ 2020-03-20 13:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

New comment by daniel-eys on void-packages repository

https://github.com/void-linux/void-packages/issues/20226#issuecomment-601689580

Comment:
Upstream fix: https://github.com/netblue30/firejail/pull/3172/commits/f62c62c436748b0e45886bef9425748000a11135 (but no release yet).



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ISSUE] [CLOSED] Firejail: Firefox profile broken
  2020-03-20  2:40 [ISSUE] Firejail: Firefox profile broken howtologinquickwiththirtyninecharacters
  2020-03-20 13:04 ` daniel-eys
@ 2020-07-29 17:00 ` Duncaen
  1 sibling, 0 replies; 3+ messages in thread
From: Duncaen @ 2020-07-29 17:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2659 bytes --]

Closed issue by howtologinquickwiththirtyninecharacters on void-packages repository

https://github.com/void-linux/void-packages/issues/20226

Description:
### System

* xuname:  
  *Void 5.4.26_1 x86_64 GenuineIntel uptodate rrFFFF*
* package:  
  *firejail-0.9.62_1*

### Expected behavior

Upon executing `firejail firefox` Firefox starts and remains listed in the output of `firejail --top`

### Actual behavior

Firefox starts, appears for a brief moment in the output of `firejail --top`, then closes without ever opening a window. See footnote for the output of the command.

### Steps to reproduce the behavior

1. Install Firejail and Firefox (*firefox-74.0_1* at the time of writing this)
2. (important) Make sure no other Firefox process is running
3. Run `firejail --top` on a terminal
4. (optional) Run `firejail watch echo 1` on a different terminal and confirm that it appears in the `firejail --top` output to make sure Firejail works as expected for other software
4. Run `firejail firefox` on a different terminal, confirm that Firefox does not start and examine the output of the command

### Footnotes

Installing AppArmor to silence the Firejail warnings doesn't fix this issue. Other X software such as HexChat and Chromium can run inside Firejail with no issues.

This was working some time ago but I can't remember the exact Firefox and Firejail versions. I think it may have been around the time of Firefox 70.

Output of the command:

~~~
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/whitelist-usr-share-common.inc
Reading profile /etc/firejail/firefox-common.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 4188, child pid 4189
Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set.
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Post-exec seccomp protector enabled
Seccomp list in: !chroot, check list: @default-keep, prelist: unknown,
Warning: Cannot confine the application using AppArmor.
Maybe firejail-default AppArmor profile is not loaded into the kernel.
As root, run "aa-enforce firejail-default" to load it.
Child process initialized in 118.78 ms

Parent is shutting down, bye...
~~~

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-29 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20  2:40 [ISSUE] Firejail: Firefox profile broken howtologinquickwiththirtyninecharacters
2020-03-20 13:04 ` daniel-eys
2020-07-29 17:00 ` [ISSUE] [CLOSED] " Duncaen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).