Bug 487247

Summary: De-noisify auditd on shutdown
Product: [Fedora] Fedora Reporter: Michael Monreal <michael.monreal>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: sgrubb
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-02 20:59:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Monreal 2009-02-24 23:54:16 UTC
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?

Comment 1 Steve Grubb 2009-02-25 00:03:32 UTC
That comes from the kernel and cannot be hidden by init scripts.

Comment 2 Steve Grubb 2009-03-02 20:59:52 UTC
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.