From mboxrd@z Thu Jan 1 00:00:00 1970 From: LC Bruzenak Subject: Re: need rules help Date: Fri, 07 Aug 2009 21:23:03 -0500 Message-ID: <1249698183.3048.111.camel@homeserver> References: <1249526745.12117.986.camel@homeserver> <1249571430.12117.1002.camel@homeserver> <1249593456.3048.70.camel@homeserver> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n782NJGa022457 for ; Fri, 7 Aug 2009 22:23:19 -0400 Received: from mail.magitekltd.com (rrcs-24-242-137-197.sw.biz.rr.com [24.242.137.197]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n782N4dd002858 for ; Fri, 7 Aug 2009 22:23:04 -0400 Received: from [24.242.137.194] (helo=[192.168.30.40]) by mail.magitekltd.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MZbZl-0000YX-JY for linux-audit@redhat.com; Fri, 07 Aug 2009 21:22:29 -0500 In-Reply-To: <1249593456.3048.70.camel@homeserver> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Linux Audit List-Id: linux-audit@redhat.com On Thu, 2009-08-06 at 16:17 -0500, LC Bruzenak wrote: ... > > * My rules start with (use "auditctl -l"): > > LIST_RULES: entry,always arch=3221225534 (0xc000003e) > syscall=mknod,mknodat > LIST_RULES: entry,always arch=3221225534 (0xc000003e) > syscall=mount,umount2 > LIST_RULES: exit,never subj_type=jcdx_mtdb_t syscall=all > ... > > * I note the date: > Thu Aug 6 20:36:31 UTC 2009 > > * I search again later (using ausearch) and find: > > node=jcdx type=PATH msg=audit(08/06/2009 20:42:20.726:21672) : item=0 > name=/var/opt/jcdx/tracks/mltrackdb/PlatformTracks.inst/040fd238ede9dfbbc19e012c7633836f/PlatformTracks > node=jcdx type=CWD msg=audit(08/06/2009 20:42:20.726:21672) : cwd=/ > node=jcdx type=SYSCALL msg=audit(08/06/2009 20:42:20.726:21672) : > arch=i386 syscall=stat64 success=no exit=-2(No such file or directory) > a0=9a4ea40 a1=ffc93644 a2=d2aff4 a3=ffc9377c items=1 ppid=1 pid=23599 > auid=root uid=root gid=jcdx euid=root suid=root fsuid=root egid=jcdx > sgid=jcdx fsgid=jcdx tty=(none) ses=8 comm=mtdb exe=/opt/jcdx/sbin/mtdb > subj=system_u:system_r:jcdx_mtdb_t:s0-s6:c0.c511 key=(null) > node=jcdx type=AVC msg=audit(08/06/2009 20:42:20.726:21672) : avc: > denied { search } for pid=23599 comm=mtdb > name=040fd238ede9dfbbc19e012c7633836f dev=dm-0 ino=269567 > scontext=system_u:system_r:jcdx_mtdb_t:s0-s6:c0.c511 > tcontext=system_u:object_r:jcdx_stdb_var_t:s15:c0.c1023 tclass=dir > I guess this is a kernel issue? I'm using F10 2.6.29.6-93 Thx, LCB. -- LC (Lenny) Bruzenak lenny@magitekltd.com