Skip to content
Permalink
Browse files

Merge pull request #40 from cjeanner/correct-setype-containers-logs

Ensure SELinux type is correct for a couple of directories
  • Loading branch information...
jpichon committed Sep 3, 2019
2 parents 50e6b42 + 1b8a97c commit 7142248e2a30a985f7486d6de16738232d525425
Showing with 2 additions and 0 deletions.
  1. +2 −0 local_settings.sh.in
@@ -85,6 +85,8 @@ set_file_contexts()
fcontext -N -$1 -t httpd_log_t $LOCALSTATEDIR/log/ceilometer/app.log
fcontext -N -$1 -t httpd_log_t $LOCALSTATEDIR/log/panko/app.log
fcontext -N -$1 -t httpd_log_t $LOCALSTATEDIR/log/zaqar/zaqar.log
fcontext -N -$1 -t container_file_t \"$LOCALSTATEDIR/log/containers/(.*)?\"
fcontext -N -$1 -t var_log_t \"$LOCALSTATEDIR/log/containers(/haproxy)?\"
fcontext -N -$1 -t neutron_exec_t $BINDIR/neutron-rootwrap-daemon
fcontext -N -$1 -t neutron_exec_t $BINDIR/neutron-vpn-agent
fcontext -N -$1 -t swift_var_cache_t \"$LOCALSTATEDIR/cache/swift(/.*)\"

0 comments on commit 7142248

Please sign in to comment.
You can’t perform that action at this time.