Bug 1334850

Summary: audit.rules is readable by all
Product: [Fedora] Fedora Reporter: Ondrej Moriš <omoris>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: medium Docs Contact:
Priority: medium    
Version: 23CC: sgrubb
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: audit-2.6-3.fc24 audit-2.6.2-1.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-03 12:22:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1281852    

Description Ondrej Moriš 2016-05-10 16:03:24 UTC
Description of problem:

In Fedora 23, auto-generated file of audit rules /etc/audit/rules.d/audit.rules is readable by all (-rw-r--r--). In comparison with RHEL-7 (-rw-r-----), this is less secure.

Version-Release number of selected component (if applicable):

audit-2.4.5-1.fc23

How reproducible:

100%

Steps to Reproduce:

1. ls -l etc/audit/rules.d/audit.rules

Actual results:

-rw-r--r--. 1 root root 167 Feb 15 10:55 /etc/audit/rules.d/audit.rules

Expected results:

-rw-r-----. 1 root root 167 Feb 15 10:55 /etc/audit/rules.d/audit.rules

Additional info:

If the change is intentional, is there some discussion about it?

Comment 1 Steve Grubb 2016-05-10 16:51:53 UTC
Added a chmod to the audit spec file. Not going to rebuild just for this. But the fix is checked into git.

Comment 2 Ondrej Moriš 2016-05-10 17:40:29 UTC
Thanks for such a quick fix Steve.

Comment 3 Fedora Update System 2016-06-22 22:11:12 UTC
audit-2.6-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4f6589e252

Comment 4 Fedora Update System 2016-06-22 22:11:24 UTC
audit-2.6-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-122f332493

Comment 5 Fedora Update System 2016-06-23 18:56:45 UTC
audit-2.6-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-122f332493

Comment 6 Fedora Update System 2016-06-23 19:25:57 UTC
audit-2.6-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4f6589e252

Comment 7 Fedora Update System 2016-06-24 18:53:02 UTC
audit-2.6-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-06-29 02:03:25 UTC
audit-2.6.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-20e8af4a21

Comment 9 Fedora Update System 2016-06-29 18:26:32 UTC
audit-2.6.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-20e8af4a21

Comment 10 Fedora Update System 2016-07-01 16:20:36 UTC
audit-2.6.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bf659f2cf3

Comment 11 Fedora Update System 2016-07-01 16:20:58 UTC
audit-2.6.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-afa82d90dd

Comment 12 Fedora Update System 2016-07-02 20:29:13 UTC
audit-2.6.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-afa82d90dd

Comment 13 Fedora Update System 2016-07-02 20:54:07 UTC
audit-2.6.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bf659f2cf3

Comment 14 Fedora Update System 2016-07-03 12:22:32 UTC
audit-2.6.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.