Failed to restart auditd.service: Operation refused, unit auditd.service may be requested by dependency only (it is configured to refuse manual start/stop).
if you have received above error
#service auditd stop
Stopping logging: [ OK ]
#systemctl start auditd
//it will start
#service auditd status
● auditd.service - Security Auditing Service
Loaded: loaded (/usr/lib/systemd/system/auditd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-10-14 10:11:12 BST; 4min 43s ago
Docs: man:auditd(8)
https://github.com/linux-audit/audit-documentation
Process: 31670 ExecStartPost=/sbin/augenrules --load (code=exited, status=1/FAILURE)
Process: 31663 ExecStart=/sbin/auditd (code=exited, status=0/SUCCESS)
Main PID: 31665 (auditd)
Tasks: 2
CGroup: /system.slice/auditd.service
└─31665 /sbin/auditd
0 Comments