mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-09-01 02:40:01 +01:00
Use auditd so logs from AppArmor and other audit events are processed by that instead of printed to the Systemd journal. This will reduce the log spam from BPF usually present in host logs and still preserve the audit logs for debugging. The default configs seems to be sane for our purpose, rotating up to 5 files of 8MiB each. The difference is that /var/log/audit will be now on tmpfs but given how AppArmor is used on typical HA setup, we don't need to preserve the logs over reboots.