FIM Whodata (Audit) doesn't start on fresh installs without audispd-plugins — likely duplicate of #34079
| Wazuh version | Component | Install type | Install method | Platform |
|---|---|---|---|---|
| 4.14.8-1 | Syscheckd (FIM) | Agent | Packages | Fedora Linux 45 (Cloud Edition Prerelease) x86_64 |
Description
On a fresh wazuh-agent install with a whodata="yes" directory configured, wazuh-syscheckd generates /etc/audit/plugins.d/af_wazuh.conf at runtime (confirmed: rpm -qf /etc/audit/plugins.d/af_wazuh.conf → "file is not owned by any package" — it is not shipped by the RPM), pointing at /sbin/audisp-af_unix. That binary only exists once the separate audispd-plugins package is installed.
Until audispd-plugins is installed, auditd logs Skipping af_wazuh.conf plugin due to errors and runs with no plugins, and wazuh-syscheckd degrades whodata to realtime:
wazuh-syscheckd: ERROR: (6636): Cannot connect to socket 'queue/sockets/audit'.
wazuh-syscheckd: ERROR: Can't init auditd socket in 'init_auditd_socket()'
wazuh-syscheckd: WARNING: (6913): Who-data engine could not start. Switching who-data to real-time.This matches #34079 exactly (same log messages, same root cause, reported on Fedora 43), which was closed once auditd + audispd-plugins were installed and the immutable -a rule was removed from /etc/audit/rules.d/ (not just the runtime rule via auditctl, which audit restores automatically when Wazuh reloads it).
Steps to reproduce
- Install
wazuh-agenton a fresh Fedora system withoutaudispd-plugins. - Configure a directory with
whodata="yes"inossec.conf. - Restart the agent and check
ossec.logfor the messages above. - Install
audispd-plugins, remove the immutable rule from/etc/audit/rules.d/audit.rules, and reboot (auditd's unit hasRefuseManualStop=yes) — whodata starts correctly:wazuh-syscheckd: INFO: (6019): File integrity monitoring real-time Whodata engine started.
Recommendation
Close as duplicate of #34079. If the team decides the underlying gap (this prerequisite isn't surfaced anywhere in the install flow) is still worth tracking, it should be reframed as a documentation issue, not an agent defect — the mechanism itself works correctly once the known prerequisites are met.
Source: wazuh/wazuh