auditctl prints "No rules" when auditd service is starting
This document (7022714) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 12
Mar 07 11:10:30 linux-t2o9 systemd: Starting Security Auditing Service...The same "auditctl [ ] No rules" is shown when checking auditd service status information with: "systemctl status auditd.service", even though "auditctl -l" lists available rules.
Mar 07 11:10:30 linux-t2o9 auditd: Started dispatcher: /sbin/audispd pid: 2714
Mar 07 11:10:30 linux-t2o9 kernel: audit: type=1305 audit(1520449830.345:2): audit_pid=2712 old=0 auid=4294967295 ses=4294967295 res=1
Mar 07 11:10:30 linux-t2o9 audispd: priority_boost_parser called with: 4
Mar 07 11:10:30 linux-t2o9 audispd: max_restarts_parser called with: 10
Mar 07 11:10:30 linux-t2o9 audispd: No plugins found, exiting
Mar 07 11:10:30 linux-t2o9 auditd: Init complete, auditd 2.3.6 listening for events (startup state enable)
Mar 07 11:10:30 linux-t2o9 auditctl: No rules
Mar 07 11:10:30 linux-t2o9 auditctl: AUDIT_STATUS: enabled=1 flag=1 pid=2712 rate_limit=0 backlog_limit=320 lost=0 backlog=1
Mar 07 11:10:30 linux-t2o9 systemd: Started Security Auditing Service.
The default audit.rules file (/etc/audit/audit.rules) contains the following lines:
# First rule - delete all -DThe auditctl source code shows that auditctl lists rules after deleting them, so the message reports that '-D' was successful.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7022714
- Creation Date: 07-Mar-2018
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: email@example.com