summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-git/0024-policy-module-rpc-allow-nfsd-to-exec-shell-commands.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-07-07 16:29:13 +0800
committerJoe MacDonald <joe@deserted.net>2020-07-14 18:56:06 -0400
commit8b79480663bc9de2343e0146ed8d3d0e59ab48be (patch)
tree85d3c47967f2630144a5671320174a46fa8ac580 /recipes-security/refpolicy/refpolicy-git/0024-policy-module-rpc-allow-nfsd-to-exec-shell-commands.patch
parent9e986d7d794f044464e1af914ddbcd57d8f1c2e9 (diff)
downloadmeta-selinux-8b79480663bc9de2343e0146ed8d3d0e59ab48be.tar.gz
audit: set correct security context for /var/log/audit
By default /var/log is a symbolic link of /var/volatile/log. But restorecon does not follow symbolic links then we will encounter the following error when set /var/log/audit directory: $ /sbin/restorecon -F /var/log/audit /sbin/restorecon: SELinux: Could not get canonical path for /var/log/audit restorecon: Permission denied. Use readlink to find the real path before set security context. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0024-policy-module-rpc-allow-nfsd-to-exec-shell-commands.patch')
0 files changed, 0 insertions, 0 deletions