mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1803] memory-deny-write-execute causing hangs and crashes on Arch and derivatives #1224
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#1224
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 @carloabelli on GitHub (Mar 7, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1803
Linux Distribution: Arch Linux
Launching
evincehangs:This does not happen with
--noprofile:This is also a recent issue and used to work in a previous version of firejail.
@Vincent43 commented on GitHub (Mar 7, 2018):
Can you try disabling options in evince profile until you find which one causes breakage?
@carloabelli commented on GitHub (Mar 7, 2018):
Seems that the
memory-deny-write-executeoption is causing the breakage.@Vincent43 commented on GitHub (Mar 7, 2018):
Fixed with
7272c524f7. Thx for reporting!@SkewedZeppelin commented on GitHub (Mar 10, 2018):
I'm going to reopen this.
mdwe seems to be causing many graphical programs to hang.
@Fred-Barclay has mention that
dda8b2dbafis causing crashes, but I've checked out to45e044c275and am still seeing this hanging issue. I also tested with and without Wayland, that doesn't change anything. I can reproduce on both Arch and Fedora.Aside from evince (now fixed), many programs are affected as the following: eog, gnome-calculator, and file-roller, baobab, and any other graphical ones with mdwe.
There also seems to be a second issue on Fedora with private-lib causing gedit to hang (related to spell check plugin).
I'd rather not disable mdwe, as it is a powerful feature, but I'm also not sure which package updates or commit is causing this.
#1804 is also a dupe of this, and they confirm https://github.com/netblue30/firejail/issues/1804#issuecomment-372038784 that it is happening on other programs as well. Assuming that they are also actually running 0.9.52 and not 0.9.53, then this is probably caused by a recent package update. Hopefully it is something that can be worked around in firejail.
@Vincent43 commented on GitHub (Mar 10, 2018):
Honestly I would favor for disabling mdwe for most graphical apps. It's not feasible in linux desktop unless someone is building his own packages in Gentoo.
I wonder if firejail could print relevant violation to journal so it would be more obvious what's causing crash.
@Fred-Barclay commented on GitHub (Mar 10, 2018):
@SkewedZeppelin Just to satisfy my curiosity 😆 can you do
firejail --ignore=private-dev eogand see if it works or not?It breaks with private-dev, but works fine without, for me on Fedora 27 Cinnamon (so no Wayland here), even though mdwe is enabled in the profile.
@SkewedZeppelin commented on GitHub (Mar 10, 2018):
@Vincent43 I would really rather not disable mdwe.
@Fred-Barclay on Arch with GNOME Wayland:
On Fedora 27 with GNOME Wayland, I'm am no longer able to reproduce either issue.
@Fred-Barclay commented on GitHub (Mar 10, 2018):
Okay, private-dev issue is fixed in
b21763636a🎉As I recall Wayland and mdwe don't get along well. Maybe we should add a condition in the code to only use mdwe on X11?
@SkewedZeppelin commented on GitHub (Mar 10, 2018):
@Fred-Barclay It happens under Xorg as well. I don't recall it ever being an issue, no3d and wayland are sometimes (see gnome-2048).
@chiraag-nataraj commented on GitHub (Sep 28, 2018):
I don't think there's any point in leaving this bug open. We'll address mdwe issues as they come up.
@setpill commented on GitHub (Jul 8, 2019):
mumble, galculator, pavucontrol also affected, see #2840
@setpill commented on GitHub (Jul 11, 2019):
If the problem is specific to Arch (and mdwe works fine on other distros), it would be preferable to figure out how to make it work on Arch rather than disable it everywhere because it doesn't.
@rusty-snake commented on GitHub (Aug 24, 2019):
Since @glitsj16 has streamlined the comments (#2769, Thanks) it's eays to reenable mdwe if you are not on Arch.
BTW: A better solutions is to implement
?ARCH:(or simelar).@ghost commented on GitHub (Aug 24, 2019):
@rusty-snake Great job. Would indeed be handy to have
?ARCH:,?DEBIAN:and?FEDORA:(to name just 3) so we can deliver the best profile for users, instead of having to cripple something because it doesn't work on one/some.@rusty-snake commented on GitHub (Aug 24, 2019):
/etc/os-release should be present on the most systems. (https://www.freedesktop.org/software/systemd/man/os-release.html) Something like
?OS(NAME=Fedora):or?OS(NAME="Debian GNU/Linux",VERSION="9 (stretch)"):should be possible, but thats a new issue.@Vincent43 commented on GitHub (Aug 25, 2019):
We still don't know the cause of those failures, it's possible that newer libs that Arch ships are the culprit and that means it's just matter of time when it will happen on older distros. I would leave mwde disabled.