Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steve <m6x@ornl.gov>
To: linux-audit@redhat.com
Subject: Problem loading rules
Date: Fri, 07 Jul 2006 09:07:31 -0400	[thread overview]
Message-ID: <44AE5C93.8030509@ornl.gov> (raw)

I am trying to load rules from a file that contains:

-a exit,always -F path=/etc/shadow -S open -k myrule_000000
-a exit,always -F path=/usr/sbin/chroot -S execve -k myrule_000001
-a exit,always -F path=/var/repository/important.doc -S unlink -k 
myrule_000002
-a exit,always -F path=/var/log/secure -S open -k myrule_000003
-a exit,always -F path=/usr/bin/nmap -S execve -k myrule_000004

using auditctl -R

I am getting the following error:
Cannot realloc memory!

-F path must be before -S
There was an error in line 2 of iitds_audit.rules

--

I originally had the -S options before the -F.  When I got the error, I 
switched the order, but the same error is returned.

I have tried entering the rules individually from the command line and 
they work without error.

I am using audit-1.2.4

Thanks,
Steve

             reply	other threads:[~2006-07-07 13:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07 13:07 Steve [this message]
2006-07-07 20:56 ` Problem loading rules 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=44AE5C93.8030509@ornl.gov \
    --to=m6x@ornl.gov \
    --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