Skip to contentSkip to conversation

"write_logs = no" not working

DISCUSSION Ian Pilcher 2 participants 3 messages Mar 6, 2017

lore
Share & tools
lore
#0 lore raw

I have a Banana Pi-based firewall system, which runs off a micro-SD card and sends all of its logs (including audit events) to a syslog server.

I have set "write_logs = no" in /etc/audit/auditd.conf, but the local log file is still being written. (Commenting out the log_file line causes auditd to abort.)

What do I need to do to disable writing the local file?

(This is audit 2.6.5 on CentOS 7.)

Signature · 4 lines
========================================================================
Ian Pilcher                                         [email protected]
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================
#1 lore raw
Quoted 11 lines · On Sun, 5 Mar 2017 20:38:51 -0600 Ian Pilcher <[email protected]> wrote:

I have a Banana Pi-based firewall system, which runs off a micro-SD card and sends all of its logs (including audit events) to a syslog server.

I have set "write_logs = no" in /etc/audit/auditd.conf, but the local log file is still being written. (Commenting out the log_file line causes auditd to abort.)

What do I need to do to disable writing the local file?

(This is audit 2.6.5 on CentOS 7.)

There was a z-stream audit package shipped last week that fixes this. I suspect it hasn't worked its way through Centos just yet. You can pick up the srpm in koji if you're in a hurry.

-Steve

#2 lore raw
Quoted 3 lines · Steve Grubb

There was a z-stream audit package shipped last week that fixes this. I suspect it hasn't worked its way through Centos just yet. You can pick up the srpm in koji if you're in a hurry.

Building now (very slowly on a non-accelerated QEMU armv7 VM). It looks like the update has made it to CentOS x86_64, but not ARM.

Signature · 4 lines
========================================================================
Ian Pilcher                                         [email protected]
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================