From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: "write_logs = no" not working Date: Mon, 6 Mar 2017 08:34:59 -0500 Message-ID: <20170306083459.1e7f81e9@ivy-bridge> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Ian Pilcher Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Sun, 5 Mar 2017 20:38:51 -0600 Ian Pilcher 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