[GH-ISSUE #2051] wire-desktop #1388

Closed
opened 2026-05-05 08:01:45 -06:00 by gitea-mirror · 19 comments
Owner

Originally created by @veloute on GitHub (Jul 21, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2051

OS: Arch Linux
Firejail Version: firejail-git

wire-desktop doesn't work with its own profile, however it does work with --noprofile and electron.profile.
currently working on figuring out the problem but I don't have much experience with troubleshooting firejail profiles.

Originally created by @veloute on GitHub (Jul 21, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2051 OS: Arch Linux Firejail Version: firejail-git wire-desktop doesn't work with its own profile, however it does work with --noprofile and electron.profile. currently working on figuring out the problem but I don't have much experience with troubleshooting firejail profiles.
gitea-mirror 2026-05-05 08:01:45 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@veloute commented on GitHub (Jul 21, 2018):

Commenting out "private-etc fonts,machine-id" seems to fix the problem.

<!-- gh-comment-id:406829712 --> @veloute commented on GitHub (Jul 21, 2018): Commenting out "private-etc fonts,machine-id" seems to fix the problem.
Author
Owner

@Fred-Barclay commented on GitHub (Jul 22, 2018):

G'day @veloute ! Can you add the changes in 5be0b98a75 to the private-etc line and see if that works?
Cheers!
Fred

<!-- gh-comment-id:406836010 --> @Fred-Barclay commented on GitHub (Jul 22, 2018): G'day @veloute ! Can you add the changes in 5be0b98a7540a1c7b5f1c251546df290fc9c2e2a to the private-etc line and see if that works? Cheers! Fred
Author
Owner

@veloute commented on GitHub (Jul 22, 2018):

Works perfectly.
Thanks!

<!-- gh-comment-id:406836825 --> @veloute commented on GitHub (Jul 22, 2018): Works perfectly. Thanks!
Author
Owner

@CodeArtisan00 commented on GitHub (Feb 26, 2019):

I'm running wire-desktop on manjaro (kde) & unable to firejail it. here is the output-

`Reading profile /etc/firejail/wire-desktop.profile
Reading profile /etc/firejail/wire-desktop.local
Reading profile /etc/firejail/globals.local
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 6262, child pid 6263
Warning: skipping pki for private /etc
Warning: skipping crypto-policies for private /etc
Private /etc installed in 15.58 ms
1 program installed in 0.70 ms
Warning: cleaning all supplementary groups
Warning: cleaning all supplementary groups
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Child process initialized in 121.59 ms

Parent is shutting down, bye...
`
What should I do?

<!-- gh-comment-id:467276610 --> @CodeArtisan00 commented on GitHub (Feb 26, 2019): I'm running wire-desktop on manjaro (kde) & unable to firejail it. here is the output- `Reading profile /etc/firejail/wire-desktop.profile Reading profile /etc/firejail/wire-desktop.local Reading profile /etc/firejail/globals.local Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-common.inc Parent pid 6262, child pid 6263 Warning: skipping pki for private /etc Warning: skipping crypto-policies for private /etc Private /etc installed in 15.58 ms 1 program installed in 0.70 ms Warning: cleaning all supplementary groups Warning: cleaning all supplementary groups Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Child process initialized in 121.59 ms Parent is shutting down, bye... ` What should I do?
Author
Owner

@veloute commented on GitHub (Feb 26, 2019):

have you tried running firejail with the --debug flag to get more helpful output?

<!-- gh-comment-id:467353230 --> @veloute commented on GitHub (Feb 26, 2019): have you tried running firejail with the --debug flag to get more helpful output?
Author
Owner

@rusty-snake commented on GitHub (Feb 26, 2019):

@Neo00001 Have you tried --noprofile? What is the content of /etc/firejail/globals.local?

<!-- gh-comment-id:467481196 --> @rusty-snake commented on GitHub (Feb 26, 2019): @Neo00001 Have you tried `--noprofile`? What is the content of `/etc/firejail/globals.local`?
Author
Owner

@CodeArtisan00 commented on GitHub (Feb 26, 2019):

@Neo00001 Have you tried --noprofile? What is the conent of /etc/firejail/globals.local?

--noprofile does work. & in globals.local- apparmor, net none

<!-- gh-comment-id:467509404 --> @CodeArtisan00 commented on GitHub (Feb 26, 2019): > @Neo00001 Have you tried `--noprofile`? What is the conent of `/etc/firejail/globals.local`? --noprofile does work. & in globals.local- apparmor, net none
Author
Owner

@SkewedZeppelin commented on GitHub (Feb 26, 2019):

@Neo00001 net none is why, remove it from your globals.local
or add ignore net none to ~/.config/firejail/wire-desktop.local

<!-- gh-comment-id:467509833 --> @SkewedZeppelin commented on GitHub (Feb 26, 2019): @Neo00001 `net none` is why, remove it from your globals.local or add `ignore net none` to ~/.config/firejail/wire-desktop.local
Author
Owner

@CodeArtisan00 commented on GitHub (Feb 26, 2019):

or add ignore net none to ~/.config/firejail/wire-desktop.local

ignore net is included in wire-desktop.local.

<!-- gh-comment-id:467511481 --> @CodeArtisan00 commented on GitHub (Feb 26, 2019): > or add `ignore net none` to ~/.config/firejail/wire-desktop.local ignore net is included in wire-desktop.local.
Author
Owner

@SkewedZeppelin commented on GitHub (Feb 26, 2019):

ignore net or ignore net none?

<!-- gh-comment-id:467511795 --> @SkewedZeppelin commented on GitHub (Feb 26, 2019): `ignore net` or `ignore net none`?
Author
Owner

@CodeArtisan00 commented on GitHub (Feb 26, 2019):

ignore net or ignore net none?

ignore net

<!-- gh-comment-id:467511944 --> @CodeArtisan00 commented on GitHub (Feb 26, 2019): > `ignore net` or `ignore net none`? ignore net
Author
Owner

@CodeArtisan00 commented on GitHub (Feb 26, 2019):

with --debug flag output is-
https://gist.github.com/Neo00001/1a07976b68396ace36fd749e840af1ba

<!-- gh-comment-id:467522361 --> @CodeArtisan00 commented on GitHub (Feb 26, 2019): with --debug flag output is- https://gist.github.com/Neo00001/1a07976b68396ace36fd749e840af1ba
Author
Owner

@rusty-snake commented on GitHub (Feb 26, 2019):

@Neo00001 what else is in wire-desktop.local?

<!-- gh-comment-id:467522860 --> @rusty-snake commented on GitHub (Feb 26, 2019): @Neo00001 what else is in wire-desktop.local?
Author
Owner

@CodeArtisan00 commented on GitHub (Feb 26, 2019):

@Neo00001 what else is in wire-desktop.local?

nothing else.

& in wire-desktop.profile - https://gist.github.com/Neo00001/5d5d207b3dc7a93edded4b379208e3b6

<!-- gh-comment-id:467524773 --> @CodeArtisan00 commented on GitHub (Feb 26, 2019): > @Neo00001 what else is in wire-desktop.local? nothing else. & in wire-desktop.profile - https://gist.github.com/Neo00001/5d5d207b3dc7a93edded4b379208e3b6
Author
Owner

@SkewedZeppelin commented on GitHub (Feb 26, 2019):

@Neo00001 it has to be ignore net none, ignore net will not work

<!-- gh-comment-id:467585369 --> @SkewedZeppelin commented on GitHub (Feb 26, 2019): @Neo00001 it has to be `ignore net none`, `ignore net` will not work
Author
Owner

@CodeArtisan00 commented on GitHub (Feb 26, 2019):

@Neo00001 it has to be ignore net none, ignore net will not work

Done.still not working. only --noprofile is working.

<!-- gh-comment-id:467603034 --> @CodeArtisan00 commented on GitHub (Feb 26, 2019): > @Neo00001 it has to be `ignore net none`, `ignore net` will not work Done.still not working. only --noprofile is working.
Author
Owner

@njfox commented on GitHub (Mar 6, 2019):

I'm having the same issue as @Neo00001, with no wire-desktop.local file. On Arch Linux with the latest firejail release. globals.local only has apparmor set.

<!-- gh-comment-id:470274764 --> @njfox commented on GitHub (Mar 6, 2019): I'm having the same issue as @Neo00001, with no `wire-desktop.local` file. On Arch Linux with the latest `firejail` release. `globals.local` only has `apparmor` set.
Author
Owner

@njfox commented on GitHub (Mar 7, 2019):

Commenting out private-bin wire-desktop allows the application to launch under firejail. Do you think this has something to do with how Wire is now packaged with a launcher script in the Arch community repo?

$ cat /usr/bin/wire-desktop 
#!/usr/bin/env sh

electron "/usr/lib/wire-desktop" "$@"

I'm wondering if there are other binaries/paths we need to add to allow Wire to launch in Arch.

<!-- gh-comment-id:470665213 --> @njfox commented on GitHub (Mar 7, 2019): Commenting out `private-bin wire-desktop` allows the application to launch under firejail. Do you think this has something to do with how Wire is now packaged with a launcher script in the Arch community repo? ``` $ cat /usr/bin/wire-desktop #!/usr/bin/env sh electron "/usr/lib/wire-desktop" "$@" ``` I'm wondering if there are other binaries/paths we need to add to allow Wire to launch in Arch.
Author
Owner

@njfox commented on GitHub (Mar 7, 2019):

2dbbb92 seems to have fixed it, thanks!

<!-- gh-comment-id:470717549 --> @njfox commented on GitHub (Mar 7, 2019): 2dbbb92 seems to have fixed it, thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1388
No description provided.