All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: "warron.french" <warron.french@gmail.com>
Cc: linux-audit@redhat.com
Subject: Re: audit.rules not fully loading into memory according to auditctl -l
Date: Wed, 12 Apr 2017 17:01:46 -0400	[thread overview]
Message-ID: <19138140.T3VnJrJFPz@x2> (raw)
In-Reply-To: <CAJdJdQm3pPQZpfQNM+SQNu_6NKgz9TWXWunue89W8yHJhN_XgQ@mail.gmail.com>

On Wednesday, April 12, 2017 3:00:59 PM EDT warron.french wrote:
> Yes, certainly.
> 
> I had a 1.7GB messages file in /var/log; so I moved it manually out of the
> way.  Then I rebooted.
> 
> After doing that, I didn't see anything at all about auditd in the new
> /var/log/messages.

It will probably be auditctl rather than auditd. Auditctl is noisy on any 
problems, try loading the rules by hand:

auditctl -R /etc/audit/audit.rules

-Steve

> I have finally gotten it down to 13 audit rules, all still Action Rules
> only for some reason, that are not loading into memory from
> /etc/audit/audit.rules.
> Those action rules are using -F path= attributes.
> 
> What is really interesting is that I have other action rules using -F path=
> that are getting into memory!
> 
> These are the files that are not:
> /usr/libexec/kde4/kdesud
> /usr/libexec/openssh/ssh-keysign
> /usr/libexec/polkit-1/polkit-agent-helper-1
> /usr/libexec/pt_chown
> /usr/libexec/utempter/utempter
> /usr/lib/vmware-tools/bin32/vmware-user-suid-wrapper
> /usr/lib/vmware-tools/bin64/vmware-user-suid-wrapper
> /usr/sbin/lockdev
> /usr/sbin/postdrop
> /usr/sbin/postqueue
> /usr/sbin/suexec
> /usr/sbin/userhelper
> /usr/sbin/usernetctl
> 
> I did the following to evaluate---
> for FIL in `cat audit_action_rules_File | grep -v "^#" | awk '{ print $4 }'
> 
> | cut -d= -f 2`; do
> 
>    echo "Checking for ${FIL}."
>    if [ -f ${FIL} ]; then
>       echo "${FIL} is present."
>    else
>       echo "The file ${FIL} is not present."
>    fi
> done

  parent reply	other threads:[~2017-04-12 21:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-12 16:51 audit.rules not fully loading into memory according to auditctl -l warron.french
2017-04-12 17:22 ` Steve Grubb
     [not found]   ` <CAJdJdQnFrpkcaGLPhzzGX=VtibmHynAM4LBD2vQ+eidMYK2M8A@mail.gmail.com>
     [not found]     ` <2058029.S3Qy87qqTn@x2>
2017-04-12 19:00       ` warron.french
2017-04-12 19:32         ` warron.french
2017-04-12 21:01         ` Steve Grubb [this message]
2017-04-12 21:55           ` warron.french

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=19138140.T3VnJrJFPz@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=warron.french@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.