Bug 427062

Summary: audit-1.6.4-1.fc9 won't start: wants /var/log/audit/audit.log to be 640
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
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: 2007-12-31 14:29:53 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 Tom London 2007-12-30 19:31:38 UTC
Description of problem:
Booting today with audit-1.6.4-1.fc9, auditd failed to start up:

Dec 30 11:05:34 localhost auditd: /var/log/audit/audit.log permissions should be
0640
Dec 30 11:05:34 localhost auditd: The audit daemon is exiting.
Dec 30 11:05:34 localhost kernel: audit(1199041534.187:4):
audit_backlog_limit=320 old=64 by auid=4294967295
subj=system_u:system_r:auditctl_t:s0 res=1
Dec 30 11:05:34 localhost kernel: audit(1199041534.187:5):
audit_backlog_limit=320 old=64 by auid=4294967295 res=1

/var/log/audit/audit.log's mode was 600.

Changing the mode to 640 makes it work, but is this test right?  Should the mode
be changed in the post install script?

Version-Release number of selected component (if applicable):
audit-1.6.4-1.fc9

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Steve Grubb 2007-12-31 14:29:53 UTC
Should be fixed in audit-1.6.4-3. I forgot to change the config parser to allow
both 0600 and 0640 for the logs. Thanks for reporting the bug.