Summary: | sys-apps/policycoreutils-3.3: selocal -L doesn't work in enforcing mode | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | herypt |
Component: | SELinux | Assignee: | SE Linux Bugs <selinux> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
herypt
2022-06-20 09:51:27 UTC
Your system looks to be mislabeled. /root is supposed to be labeled 'user_home_dir_t' and its contents 'user_home_t'. Try issuing 'restorecon -RFv /root' and see if that resolves the issue. Running that command with SELINUXTYPE=targeted (which I'm using) keeps /root labeled as default_t, but if I change it to strict, it does label it correctly. |