-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels