From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: SELinux for auditing Date: Fri, 16 Feb 2007 19:14:54 -0500 Message-ID: <200702161914.55018.sgrubb@redhat.com> References: <1170202290.4168.14.camel@localhost.localdomain> <200702010936.59578.sgrubb@redhat.com> <1170341940.12293.124.camel@moss-spartans.epoch.ncsc.mil> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1170341940.12293.124.camel@moss-spartans.epoch.ncsc.mil> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Stephen Smalley Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Thursday 01 February 2007 09:59:00 Stephen Smalley wrote: > > Assuming current generation of audit code... > > > > auditctl -a exit,always -F perm=3Dw -F obj_type=3Dsbin_t -k executabl= es > > Hmmm...on FC6, that yields an error from auditctl: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0key option needs a watc= h or syscall given prior to it > > Dropping the -k option avoids the error message, but overwriting a bin_= t > file doesn't generate any audit message. This turned out to be a bug in libaudit which was fixed in 1.4.1. It shou= ld=20 work as I stated above when you upgrade. If not, let me know... -Steve