-
Notifications
You must be signed in to change notification settings - Fork 144
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
Firefox AVC when enabling non-permissive mode (Arch) #843
Comments
look at
Does this mean that the process is launched from the kernel label? First, change the labels of the files.
Then try again and write what happens next. |
The transition between domains should have been like this:
And your situation is like this:
This is due to incorrect labels on files (if you did not change the policy) |
Thanks for your detailed reply. I did attempt to restore the context of the files, but after a couple runs I encountered not just the same issue with firefox, but also alacritty got nuked as well. I think the issue right now is that the default-looking package for Arch Linux hasn't actually been updated since 2023, and the one that is being updated as recently as 2024-12-15 isn't working (at least on my system). I've opened comments on the relevant wiki page (https://wiki.archlinux.org/title/SELinux) and the packages themselves (https://aur.archlinux.org/packages/selinux-refpolicy-arch) (https://aur.archlinux.org/packages/selinux-refpolicy-git). Are there any additional resources to self-help that you'd recommend? |
For information, the "default-looking package for Arch Linux" had some custom patches related to systemd, which were all upstreamed through the years. Nowadays, it mainly bundles official refpolicy releases with Arch Linux-specific build config (archlinuxhardened/selinux-policy-arch@015826e) and GitHub Actions test matrix (archlinuxhardened/selinux-policy-arch@764fad1). Arch Linux package FWIW, I will be back from holidays on Monday January, 6th, and plan to spend some time to update the SELinux-relevant packages in Arch User Repository. |
I'll try to reproduce the full installation in a virtual machine with xfce4 DE. |
1.package selinux-refpolicy-git cannot be used due to an error (see https://aur.archlinux.org/packages/selinux-refpolicy-git#comment-1004198) pacman -Ql firefox|grep -E "gl|cras"
|
Getting the following error with firefox that kills it, safe mode and non-safe-mode.
Binary seems to be correctly labeled:
This is very early in my SELinux journey, so it's also possible something on my system is misconfigured. Happy to read more about SELinux if I haven't provided enough information.
The text was updated successfully, but these errors were encountered: