summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2023-07-27 14:07:46 -0400
committerJoe MacDonald <joe@deserted.net>2023-07-31 15:05:21 -0400
commit7bb93ef630fdf21cbc7fc9dc87e7aa917af649bb (patch)
tree05e010503f0dc8fba9aece956b53d1d8b9ddc628 /recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch
parenta7732beacdf212a33cc3c3527a0727a7427efa9a (diff)
downloadmeta-selinux-7bb93ef630fdf21cbc7fc9dc87e7aa917af649bb.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> (cherry picked from commit 8b79480663bc9de2343e0146ed8d3d0e59ab48be) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0005-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch')
0 files changed, 0 insertions, 0 deletions