mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1422] mutt + gpg indefinitely hangs #969
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#969
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 @chiraag-nataraj on GitHub (Jul 31, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1422
Because of pid namespaces,
gpgis unable to find the running instance ofgpg-agent, so it creates a new one. Then, since that process is running in the sandbox, the sandbox never closes. I initially thought this was a bug with my profile, but it turns out I have this problem with the default profile as well.@chiraag-nataraj commented on GitHub (Jul 31, 2017):
Okay, this happened after firejail 0.9.48, because the version I've installed from the repository still works, but the development version I forked to get
xpraworking again ends up breaking this. It's not thexprastuff because not launchingmuttin the X11 sandbox still produces the same effect/issue.@chiraag-nataraj commented on GitHub (Jul 31, 2017):
Okay, this is an instance of #725.
@SkewedZeppelin commented on GitHub (Jul 31, 2017):
I wonder if we can add "join-or-start gpg" to both gpg.profile and gpg-agent.profile so that they can see each other. I just don't know what effects that'll have cross-user.
And for a fix for #725 I wonder if Firejail should internally perform "join-or-start program" all the time except for profiles with "private" in order to prevent issues for example clicking a link in a non firejailed program while a firejailed browser is already open.
@chiraag-nataraj commented on GitHub (Aug 1, 2017):
I don't know if that would solve this case, though, where I start another program which then happens to call
gpg(rather than me launching it separately).@chiraag-nataraj commented on GitHub (Mar 29, 2018):
Fixed by using
writable-run-userto allow access to the systemd-instantiated gpg-agent socket.