mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2316] The arguments --tracelog and --trace stay hanging if I use them with discord #1545
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1545
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kadogo on GitHub (Dec 25, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2316
Hello,
Distribution: Debian Stretch
Firejail version: compiled from GIT with --enable-apparmor
I just compiled firejail from the git but I had the same issue with backports on stretch
It look like --trace and --tracelog stay hanging in some case
If you need more informations let me know.
Cheers.
@ghost commented on GitHub (Mar 23, 2019):
It's the same problem for me when I launch ElectronMail. I'm running:
and
--tracelogcauses it to hang. I noticed this in your discord output:Does that mean you have a symbolic link? I also have a symbolic link to a place where the app needs to write to (and thus get a "Replaced whitelist path" message), so I wonder if that's related.
It's quite annoying, because if I try to debug firejail by running:
It crashes with:
so I cannot use strace to reach the moment of the hang.
@Fred-Barclay commented on GitHub (Mar 23, 2019):
Chrome doesn't work with
--tracelogeither. Since Electron from Discord and Electron-mail is similar IIRC to chromium, this is probably just a limitation of the programmes.@ghost commented on GitHub (Mar 23, 2019):
Indeed Electron-Mail runs an embedded version of Chromium.
I also wonder if the problem that caused me to add traces is related to Chromium. My Electron-Mail config folder is whitelisted but the settings never stick. I add accounts and they're lost when the session ends, never updated in
$HOME/.config/electron-mail/.@Fred-Barclay commented on GitHub (Mar 24, 2019):
@libBletchley I'd be pretty sure the issue is with
--net=none. Try running without that.Also I'll get a profile in for electron-mail. 😄
@ghost commented on GitHub (Mar 24, 2019):
The app executes just fine without a network - it just gets a "cannot connect to server" popup. Are you saying that
--net=noneis not compatible with--tracelogorstrace?Or if you're talking about the settings not sticking, indeed I can see how an app might refuse to store a config that fails to connect. But I've verified that. I used a working network with firejail and was able to login. But the account info still did not persist. I'm just using
--net=nonenow because there's no need to connect while troubleshooting the problem of config changes not sticking.@Fred-Barclay commented on GitHub (Mar 24, 2019):
@libBletchley
--net-noneblocks internet access and also dbus access on newer distros IIRC. Probably electron-mail uses dbus to save your settings, so since it can't access dbus your changes aren't saved.@ghost commented on GitHub (Mar 24, 2019):
Ah, thanks for the explanation. In any case, I'm running with
--netomitted on firejail version 0.9.44.8 and it's the same problem. I opened a separate issue (#2617) since the issue herein is about--tracelog.I get the impression that ElectronMail has some association with Electron, and
electron.profilehasnodbus.@rusty-snake commented on GitHub (Jul 31, 2019):
How to future work here?
@rusty-snake commented on GitHub (Aug 22, 2019):
I'm closing here due to inactivity and deleted user.