-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dangerzone requires SELinux to be turned to "permissive" on Fedora 38 #517
Comments
I think I understand what's going on here. In #335, we wanted to fix an SELinux issue (#157), so we used the However, Dangerzone employs a two-step approach to sanitization, and creates one container for converting the document to pixels, and then another one for converting the pixels to PDF. So, the relabeled temp dir at some point has to be used by another container. This requires a I guess we should use instead a |
From playing around a little bit with SELinux, this does not appear to be the case. With the However, in my case (freshly installed Fedora 38) I was unable to find any SELinux policy violations. And and it's in enforcing mode by default. This leads me to think that the SELinux failure is somehow a consequence of the out of space issue. So I'd advocate for solving that one first and then seeing if this one still exists. |
This exact behavior is what I'd expect to trigger an SELinux error. Out of curiosity, can you remove the @pizzadude Have you perhaps further configured SELinux in your installation, or are you running a stock OS?
That would be very surprising, but we'll get to the bottom of it and find out. |
I haven't further configured SELinux, but I have some other podman containers on my system and I moved ~/.local/share/containers to another drive and symlinked it back, because my internal SSD is too small. |
Could this be a duplicate of #127 ? |
Dangerzone requires SELinux to be turned to "permissive" temporarily on Fedora 38, else the conversion process fails.
Attached is a log file of the error messages.
dangerzone-log.txt
Disabling SELinux doesn't completely solve the issue in the latest version though, the conversion process fails for a different reason in the new version, where it claims I have run out of space mid-way through conversion.
SELinux troubleshooter shows this:
The text was updated successfully, but these errors were encountered: