Use mtagroup for tmpfiles.d

This commit is contained in:
Shawn Iverson 2018-01-06 05:30:14 -05:00
parent ae608a29d3
commit d8c283957b

View file

@ -979,7 +979,7 @@ if [ $CONFCAV -eq 1 ]; then
mkdir -p /var/run/clamd.scan
chown -R clam:clam /var/run/clamd.scan
chcon -u system_u -r object_r -t antivirus_var_run_t /var/run/clamd.scan
echo "d /var/run/clamd.scan 0750 clam clam -" > /usr/lib/tmpfiles.d/clamd.conf
echo "d /var/run/clamd.scan 0750 clam mtagroup -" > /usr/lib/tmpfiles.d/clamd.conf
# sysconfig file
if [ ! -f /etc/sysconfig/clamd ]; then
cat > /etc/sysconfig/clamd << 'EOF'