You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Amazon Linux 2 fails to restart auditd service to apply changes. Expected behavior
Service restart successfully
Actual behavior
Failed to restart auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop).
Example code
$ sudo systemctl restart auditd
Failed to restart auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status auditd.service' for details.
OS / Environment
Chef Version
14.7.17
Cookbook Version
4.0.0
Additional context
CentOS 7+ and Fedora 27+ had the same issue which is resolved by running service auditd restart. This alternate method should also include Amazon Linux 2.
The text was updated successfully, but these errors were encountered:
mfortin
added a commit
to mfortin/chef-os-hardening
that referenced
this issue
Mar 19, 2021
Describe the bug
Amazon Linux 2 fails to restart auditd service to apply changes.
Expected behavior
Service restart successfully
Actual behavior
Example code
OS / Environment
Chef Version
Cookbook Version
Additional context
CentOS 7+ and Fedora 27+ had the same issue which is resolved by running
service auditd restart
. This alternate method should also include Amazon Linux 2.The text was updated successfully, but these errors were encountered: