public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: auditctl exit code
Date: Mon, 14 May 2012 20:03:27 -0400	[thread overview]
Message-ID: <201205142003.27834.sgrubb@redhat.com> (raw)
In-Reply-To: <201205111034.52259.sgrubb@redhat.com>

On Friday, May 11, 2012 10:34:52 AM Steve Grubb wrote:
> On Friday, May 11, 2012 08:20:06 AM Stephen Quinney wrote:
> > I am using Linux Audit version 2.1.3 and I'm wondering if the
> > following behaviour of auditctl is intentional.
> 
> No. I think its a bug in the code.

This should fix it:
https://fedorahosted.org/audit/changeset/694

-Steve


> > When I do a complete
> > list of the current rules (with auditctl -l) I get an exit code of
> > zero, as expected. When I do a list which is restricted to a
> > particular key (auditctl -l -k foo) I get 255. It doesn't matter which
> > of my keys I use and there are no error messages sent to stderr to
> > indicate a problem. The auditctl manpage doesn't say what various exit
> > values mean so I'm not sure what type of error is occurring.

  reply	other threads:[~2012-05-15  0:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11 12:20 auditctl exit code Stephen Quinney
2012-05-11 14:34 ` Steve Grubb
2012-05-15  0:03   ` Steve Grubb [this message]
2012-05-15  8:31     ` Stephen Quinney

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=201205142003.27834.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --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