public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Eric Paris <eparis@redhat.com>
To: Laurent Bigonville <bigon@debian.org>
Cc: linux-audit@redhat.com
Subject: Re: aulast only displaying reboot pseudo-users
Date: Mon, 16 Jun 2014 17:28:02 -0400	[thread overview]
Message-ID: <1402954082.11087.9.camel@localhost> (raw)
In-Reply-To: <1402953852.11087.7.camel@localhost>

On Mon, 2014-06-16 at 17:24 -0400, Eric Paris wrote:
> On Mon, 2014-06-16 at 17:20 -0400, Eric Paris wrote:
> 
> > I'd call this a pretty clear userspace bug where it just completely
> > drops records, even if it can't parse them...
> 
> Definitely a userspace bug...
> 
> [root@localhost eparis]# ausearch -m login 
> <no matches>
> [root@localhost eparis]# cat /var/log/audit/audit.log | grep "type=LOGIN" | wc -l
> 14
> [root@localhost eparis]# uname -a
> Linux localhost.localdomain 3.14.4-200.fc20.x86_64 #1 SMP Tue May 13 13:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> [root@localhost eparis]# rpm -q audit
> audit-2.3.7-1.fc20.x86_64
> 
> type=LOGIN msg=audit(1402952461.125:37289): pid=30708 uid=0 old-auid=4294967295 new-auid=0 old-ses=4294967295 new-ses=137 res=1
> 
> I get it that the parse doesn't know how to handle new-auid and new-ses,
> but just dropping the record really seems like a bad idea to me...
> 

Ok, I'm finished chain e-mailing:

# cat /var/log/audit/audit.log | sed 's/new-auid/auid/' | sed 's/new-ses/ses/' | ausearch -m login

shows the records....

  reply	other threads:[~2014-06-16 21:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04 22:04 aulast only displaying reboot pseudo-users Laurent Bigonville
2014-06-04 22:23 ` Steve Grubb
2014-06-04 22:42   ` Laurent Bigonville
2014-06-04 23:04     ` Steve Grubb
2014-06-05 17:34       ` Laurent Bigonville
2014-06-14 11:53         ` Laurent Bigonville
2014-06-16 21:20           ` Eric Paris
2014-06-16 21:24             ` Eric Paris
2014-06-16 21:28               ` Eric Paris [this message]
2014-06-17 13:29             ` Steve Grubb
2014-06-17 14:09               ` Laurent Bigonville
2014-06-17 14:31                 ` Eric Paris
2014-06-17 14:55                   ` Richard Guy Briggs
2014-06-17 15:04                     ` Steve Grubb
2014-06-17 14:56                   ` Steve Grubb
2014-06-17 15:15                     ` Richard Guy Briggs
2014-06-17 15:26                     ` Eric Paris
2014-06-17 16:30                       ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1402954082.11087.9.camel@localhost \
    --to=eparis@redhat.com \
    --cc=bigon@debian.org \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox