3.7. cgconfig Service Fails to Start
If the
cgconfig
service fails to start, look for AVC messages in the /var/log/audit/audit.log
SELinux audit log file. The error messages could indicate incorrect SELinux labels in the following files and directories:
/etc/cgconfig.conf
/etc/cgrules.conf
/cgroup
Use the
restorecon -v filename
command to restore the correct SELinux labels for each of the files:
#This restores the correct SELinux labels in therestorecon -v /etc/cgconfig.conf
#restorecon -v /etc/cgrules.conf
#restorecon -rv /cgroup
/etc/cgrules.conf
file.
Next, start the
cgconfig
service using the following command:
# service cgconfig start