<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">4javier</b> <span dir="ltr"><<a href="mailto:4javiereg4@gmail.com">4javiereg4@gmail.com</a>></span><br>Date: 2011/6/2<br>
Subject: Re: Possible regression<br>To: Steve Grubb <<a href="mailto:sgrubb@redhat.com">sgrubb@redhat.com</a>><br><br><br>root@Archbox /home/javier $ touch /tmp/test<br>root@Archbox /home/javier $ cat /tmp/test<br>root@Archbox /home/javier $ auditctl -w /tmp/test -p wa<br>
root@Archbox /home/javier $ echo ppp >> /tmp/test<br>root@Archbox /home/javier $ cat /tmp/test<br>
ppp<br>root@Archbox /home/javier $ ausearch -i -f /tmp/test<br><no matches><br>root@Archbox /home/javier $ auditctl -l<br>LIST_RULES: exit,always watch=/tmp/test perm=wa<br>root@Archbox /home/javier $ echo ppp > /tmp/test<br>

root@Archbox /home/javier $ ausearch -i -f /tmp/test<br><no matches><br>root@Archbox /home/javier $ ausearch -f /tmp/test<br><no matches><br><br>As you can see from auditcrl -l output, rule seems to be correctly set, but ausearch doesn't show anything.<br>

<div class="gmail_quote"><div class="im">2011/6/2 Steve Grubb <span dir="ltr"><<a href="mailto:sgrubb@redhat.com" target="_blank">sgrubb@redhat.com</a>></span><br></div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>On Thursday, June 02, 2011 09:45:38 AM you wrote:<br>
> you're right...sorry for my fault...<br>
> I didn't use the -a switch. I read the man, but I cannot understand how<br>
> this settings is able to fix the problem with O_CREAT.<br>
> Could you explain that to me, please?<br>
<br>
</div>As far as I know, the problem was fixed in 2006 and there has been no regression. The -<br>
w command is translated into -a always,exit -F path= under the hood. Its been this way<br>
since watches were deprecated around 2005/2006.<br>
<br>
How were you testing? You might have found a bug and I just don't know how to<br>
reproduce it.<br>
<font color="#888888"><br>
-Steve<br>
</font></blockquote></div></div></div><br>
</div><br>