Bug 473356

Summary: SELinux is preventing nm-system-setti (NetworkManager_t) "read" to ./PolicyKit (polkit_var_run_t).
Product: [Fedora] Fedora Reporter: morgan read <mstuff>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8CC: dwalsh, jkubin, mgrepl
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: 2008-12-04 14:18:57 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:
Attachments:
Description Flags
setroubleshoot output none

Description morgan read 2008-11-27 23:03:09 UTC
Created attachment 324926 [details]
setroubleshoot output

Description of problem:
This one's more for completeness sake, as I see there's no bug against this summary but it is 1 of 3 recurring- the other 2 being Bug 469529 and Bug 469528.  My count for the 3:
Bug 469529 105 (last @ Fri 28 Nov 2008 10:01:47 NZDT)
Bug 469528  72 (last @ Fri 28 Nov 2008 09:42:58 NZDT)
Bug "this"  48 (last @ Fri 28 Nov 2008 09:42:58 NZDT)

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


How reproducible:


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


Expected results:


Additional info:

Comment 1 morgan read 2008-11-27 23:06:06 UTC
Oh, yes:

[readlegal@morgansmachine ~]$ rpm -q selinux-policy
selinux-policy-3.0.8-127.fc8

Comment 2 Daniel Walsh 2008-12-01 21:59:27 UTC
Do you know what it is trying to read in that directory?

ls -lZ /var/run/PolicyKit

Comment 3 morgan read 2008-12-03 09:22:33 UTC
Hmm, this is a little weird - I've noticed over the last couple of days this doesn't occur on the other account I use on this machine, here's the output you asked for from the account that doesn't trigger the rash of selinux alerts above:

[morgan@morgansmachine ~]$ ls -lZ /var/run/PolicyKit
[morgan@morgansmachine ~]$ 

So, nil.

Comment 4 Daniel Walsh 2008-12-04 14:18:57 UTC
Just install custom policy, since we are not likely to update policy on F8 again.

You can allow this for now.

# audit2allow -M mypol -l -i /var/log/audit/audit.log
# semodule -i mypol.pp

Will fix your problem.

Problem is fixed in F9 and F10.

Comment 5 morgan read 2008-12-07 07:42:55 UTC
No problem - thanks