Aureport on Centos 7 : Strange behavior

Maupertuis Philippe philippe.maupertuis at worldline.com
Tue Jan 5 09:34:17 UTC 2016


Hi,
I came across a strange aureport behavior that would amount to a bug unless I am doing something wrong.
I am on Centos 7.2 with :
[root at odbfi021s ~]# rpm -qa|grep audit
audit-libs-2.4.1-5.el7.x86_64
audit-2.4.1-5.el7.x86_64

If I run aureport -k --summary -ts yesterday 09:00 -te yesterday 10:00 I get the answer immediately.

[root at odbfi021s ~]# aureport -k --summary -ts yesterday 09:00 -te yesterday 10:00

Key Summary Report
===========================
total  key
===========================
409  log_IAM
27  IAM64
26  audit_log
23  open64
16  etc
1deletion

Same thing with any round five minutes interval

[root at odbfi021s ~]# aureport -k --summary -ts yesterday 09:35 -te yesterday 09:40

Key Summary Report
===========================
total  key
===========================
1  IAM64
1  log_IAM

[root at odbfi021s ~]# aureport -k --summary -ts yesterday 09:40 -te yesterday 09:45

Key Summary Report
===========================
total  key
===========================
393  log_IAM
16  etc
11  audit_log
3  IAM64
2  open64
1  deletion

But If I request a ten minutes interval or a five minutes interval not starting at zero or five aureport hangs !

[root at odbfi021s ~]# aureport -k --summary -ts yesterday 09:35 -te yesterday 09:45

Key Summary Report
===========================
total  key
===========================
^C

Ausearch is ok with the same parameters :

[root at odbfi021s ~]# ausearch -ts yesterday 09:35 -te yesterday 09:45 |head
----
time->Mon Jan  4 09:39:08 2016
type=PATH msg=audit(1451896748.069:31806): item=1 name="/lib64/ld-linux-x86-64.so.2" inode=133906 dev=fd:01 mode=0100755 ouid=0 ogid=0 rdev=00:00 objtype=NORMAL
type=PATH msg=audit(1451896748.069:31806): item=0 name="/sbin/aide" inode=131924 dev=fd:01 mode=0100755 ouid=0 ogid=0 rdev=00:00 objtype=NORMAL
type=CWD msg=audit(1451896748.069:31806):  cwd="/root"
type=EXECVE msg=audit(1451896748.069:31806): argc=2 a0="aide" a1="-C"
type=SYSCALL msg=audit(1451896748.069:31806): arch=c000003e syscall=59 success=yes exit=0 a0=11f7d10 a1=11f7bf0 a2=111e8b0 a3=7ffce7b64200 items=2 ppid=21754 pid=21830 auid=3318358 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1230 comm="aide" exe="/usr/sbin/aide" key="IAM64"
----
time->Mon Jan  4 09:39:08 2016
type=PATH msg=audit(1451896748.105:31807): item=1 name="/var/log/aide/aide.log" inode=67 dev=fd:05 mode=0100600 ouid=0 ogid=0 rdev=00:00 objtype=NORMAL
[root at odbfi021s ~]#

Please let me know what I should do.

Regards
Philippe


________________________________

Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? de Worldline ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20160105/2d8868f9/attachment.htm>


More information about the Linux-audit mailing list