Red Hat Bugzilla – Bug 487247
De-noisify auditd on shutdown
Last modified: 2009-03-02 15:59:52 EST
Instead of showing
Stopping auditd: [done]
auditd shows something like
Stopping auditd: audit(xxxxxx): audit_pid=xxxx old=xxxx audit=xxxx ses=xxxx res=xxxx
on shutdown. I bet 95% of users don't even know what this means (at best it will confuse) and for those where it gives some useful information it scrolls by to fast anyway.
So what about hiding this like and just have it print [done] like all other system services?
That comes from the kernel and cannot be hidden by init scripts.
Closing the bug. There really isn't much I can do from init scripts to quieten down the message you are seeing. Normally, when the audit daemon shuts down, this event goes to syslog. It is generated by the kernel and not the audit daemon. But at shutdown, rsyslog shuts down and and all events go to the screen.
The 1.7.12 audit package has a new init script option in /etc/sysconfig/auditd, AUDITD_STOP_DISABLE. You can try setting that to yes. If that doesn't help, there really isn't much that can be done.