Bug 771991

Summary: AVC errors in Matahari host, network and sysconfig agents
Product: [Fedora] Fedora Reporter: Zane Bitter <zbitter>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.10.0-72.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-22 22:53:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Audit log extract none

Description Zane Bitter 2012-01-05 15:37:13 UTC
Created attachment 550945 [details]
Audit log extract

Description of problem:
Some Matahari agents cannot access the file /etc/machine-id (which all Matahari agents need to read). Additionally, the network and sysconfig agents are failing to access something in /proc.

Version-Release number of selected component (if applicable):
3.10.0-69.fc16

How reproducible:
100%

Steps to Reproduce:
1. Install Matahari
2. Start the services matahari-broker, matahari-host, matahari-network, matahari-sysconfig (and matahari-service)
3. ausearch --start recent -m avc
  
Actual results:
Multiple AVC entries in the audit log. See attached.

Expected results:
No (related) AVC entries in the audit log.

Additional info:

Comment 1 Daniel Walsh 2012-01-05 15:55:31 UTC
We should allow all matahari domains to check the network state and read etc_runtime_t files.

a8d9f1ebccef4a1e7c79a0e0aeb1fbe3603aa2c7

Comment 2 Miroslav Grepl 2012-01-11 10:30:27 UTC
Fixed in selinux-policy-3.10.0-72.fc16

Comment 3 Fedora Update System 2012-01-17 15:18:55 UTC
selinux-policy-3.10.0-72.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-72.fc16

Comment 4 Fedora Update System 2012-01-17 20:29:21 UTC
Package selinux-policy-3.10.0-72.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-72.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0639/selinux-policy-3.10.0-72.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-01-22 22:53:34 UTC
selinux-policy-3.10.0-72.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.