public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: David Flatley <dflatley@us.ibm.com>
Cc: linux-audit@redhat.com
Subject: Re: Audit rotate
Date: Thu, 08 Jan 2015 12:23:35 -0500	[thread overview]
Message-ID: <1763445.H1fdlcGX4z@x2> (raw)
In-Reply-To: <OF97CB784C.11F50763-ON85257DC7.005EABE4-85257DC7.005EFFBD@us.ibm.com>

On Thursday, January 08, 2015 12:17:40 PM David Flatley wrote:
>      I have "/sbin/service auditd rotate" in my scripts I use on my Red Hat
> systems. But apparently on Suse it does not rotate the logs. When I run the
> rotate command it comes back with what it can
> do and rotate is not in there. Oh and it is auditd 1.8.0.30-1.

What I'm trying to say is that if the init script does not support it, then 
all you need to do is send sigusr1 to auditd instead. Something like:

kill -USR1 `pidof auditd`

-Steve



> From:	Steve Grubb <sgrubb@redhat.com>
> To:	David Flatley/Burlington/IBM@IBMUS,
> Cc:	linux-audit@redhat.com
> Date:	01/08/2015 11:46 AM
> Subject:	Re: Audit rotate
> 
> On Thursday, January 08, 2015 11:39:17 AM David Flatley wrote:
> >     Trying to setup Auditing on a Suse Server 11 SP3 with audit version
> > 
> > 1.8.0.3. Apparently "audit rotate" is not available on this version of
> > auditd? I know from past posts by Steve Grubb that logrotate does not
> > work well rotating /var/log/audit/audit.log. So any thoughts on doing
> 
> audit
> 
> > logrotations?
> 
> "service auditd rotate" is simply a convenience for sending SIGUSR1 to
> auditd.
> That is all you need to do to force rotation of the logs.
> 
> -Steve

  reply	other threads:[~2015-01-08 17:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 18:54 Is audit=1 still required for RHEL 7? Erinn Looney-Triggs
2015-01-06 19:13 ` Steve Grubb
2015-01-06 19:16   ` Erinn Looney-Triggs
2015-01-08 10:12     ` Burak Gürer
2015-01-08 13:03       ` Steve Grubb
2015-01-08 13:33         ` Burak Gürer
2015-01-08 14:13           ` Steve Grubb
2015-01-12 10:12             ` auid=4294967295 issue Burak Gürer
2015-01-12 14:54               ` Steve Grubb
2015-01-08 16:39         ` Audit rotate David Flatley
2015-01-08 16:46           ` Steve Grubb
2015-01-08 17:17             ` David Flatley
2015-01-08 17:23               ` Steve Grubb [this message]
2015-01-08 17:47                 ` David Flatley

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=1763445.H1fdlcGX4z@x2 \
    --to=sgrubb@redhat.com \
    --cc=dflatley@us.ibm.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