Bug 473356 - SELinux is preventing nm-system-setti (NetworkManager_t) "read" to ./PolicyKit (polkit_var_run_t).
Summary: SELinux is preventing nm-system-setti (NetworkManager_t) "read" to ./PolicyKi...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-27 23:03 UTC by morgan read
Modified: 2008-12-07 07:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-04 14:18:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
setroubleshoot output (3.03 KB, text/plain)
2008-11-27 23:03 UTC, morgan read
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.