Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The script fails if audit is not installed #13

Open
mikoladz opened this issue Feb 28, 2018 · 1 comment
Open

The script fails if audit is not installed #13

mikoladz opened this issue Feb 28, 2018 · 1 comment

Comments

@mikoladz
Copy link

Trying to execute the script on FreeIPA server running on CentOS 7.4:

./ipa_log_config.py --target 192.168.1.1

Setting SSSD debug level to 2
Condrestarting SSSD
Enabling audisp syslog plugin
sed: can't read /etc/audisp/plugins.d/syslog.conf: No such file or directory
Failed to execute external command: Failed to run sed on file: /etc/audisp/plugins.d/syslog.conf

Installing audit and audispd-plugins did not help, but the problem was with starting audit, I did not investigate it further. Instead I removed the stuff related to audit from the script and it worked.

@kbetsis
Copy link

kbetsis commented Apr 10, 2019

From what i have seen the python script tries to do a "systemctl restart auditd.service" which is not allowed.
A "service auditd restart" works however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants