# ./ipa_log_config.py --target syslog
Setting SSSD debug level to 2
Condrestarting SSSD
Enabling audisp syslog plugin
Reloading auditd
Failed to reload auditd.service: Job type reload is not applicable for unit auditd.service.
See system logs and 'systemctl status auditd.service' for details.
Failed to execute external command: Failed to reload auditd
Workaround: remove self._restart from auditd portion of the code.
+++ ipa_log_config-new.py 2019-04-11 07:05:16.489209718 -0400
@@ -123,7 +123,7 @@
self._AUDITD_SYSLOG_CONF]) != 0:
raise ExternalCommandError(
'Failed to run sed on file: ' + self._AUDITD_SYSLOG_CONF)
- self._restart()
+ # self._restart()
def revert(self):
print 'Disabling audisp syslog plugin'
@@ -131,7 +131,7 @@
self._AUDITD_SYSLOG_CONF]) != 0:
raise ExternalCommandError(
'Failed to run sed on file: ' + self._AUDITD_SYSLOG_CONF)
- self._restart()
+ # self._restart()
class RequirementError(Exception):
CentOS 7.6.1810
Workaround: remove self._restart from auditd portion of the code.