-
Notifications
You must be signed in to change notification settings - Fork 138
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
libsepol.sepol_string_to_security_class: unrecognized class user_namespace #600
Comments
Apparently you did not understand me. The problem is not that chromium_t doesn't have 'self:user_namespace create;' F_MAKE is : export REFMAKE=/usr/share/selinux/$(sestatus |grep Load|grep --color -Ei "[ ]{2,}.*" -o|grep -Eio "[a-z0-9].*")/include/Makefile
#REFMAKE is /usr/share/selinux/refpolicy-freedom1b2830-1677953396/include/Makefile
F_MAKE(){
make -f $REFMAKE $1.pp && semodule -i $1.pp
} EEE.te
cmd:
and so on for all domains that require |
UDP: I found the solution in your latest commits. |
There isn't too much documentation because it is a new check in Linux 6.1. In short, it controls if a domain can create a user namespace. See https://paul-moore.com/blog/d/2022/12/linux_v61.html |
Thank you. I read it. We close the topic. |
This prevents the application from starting without shutting down selinux, because the module assembler does not know about the user_namespace
This is the same with
discord
.I think this is related to
chrome-sandbox
, wherechroot
is used and the environment is configured in itchrome-sandbox suid,chroot
-rw
s
r-xr-x. 1 root root system_u:object_r:discord_opt_t 15184 фев 13 22:24 chrome-sandbox-rwxr-xr-x. 1 root root system_u:object_r:discord_exec_t 138954560 фев 13 22:24 Discord
distr:Arch linux
Linux archlinux 6.2.1-arch1-1 # 1 SMP PREEMPT_DYNAMIC Sun, 26 Feb 2023 03:39:23 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: