Bug 491540

Summary: SELinux is preventing the system-config-s from using ...
Product: [Fedora] Fedora Reporter: Flóki Pálsson <flokip>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-16 11:01:33 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
Copy off alert - and restorecon none

Description Flóki Pálsson 2009-03-22 20:28:04 UTC
Created attachment 336219 [details]
Copy off alert - and restorecon

Description of problem:
When starting usr/bin/system-config-samba form menu then there is AVC warning showing before  password window appears.  

Version-Release number of selected component (if applicable):
selinux-policy-3.6.8-3.fc11.noarch


How reproducible:
Almost always

Steps to Reproduce:
1.
log out user - log in - start 
2.
start 
system-config-samba
from menu 
( AVC  appears )
3.
password window 
  
Actual results:
AVC warning 

Expected results:
No AVC


Additional info:
If set 2 is repeated after step 3 then there is no AVC. 

system-config-samba  crashes after step 3 
See bug 490050

Comment 1 Daniel Walsh 2009-04-13 14:17:41 UTC
Miroslav add

	userdom_dontaudit_search_admin_dir($1)

to

dbus_system_domain()
in dbus.if

Comment 2 Daniel Walsh 2009-04-13 14:18:43 UTC
Flóki Pálsson

You can ignore this for now, or add policy to allow it using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Comment 3 Miroslav Grepl 2009-04-16 11:01:33 UTC
Fixed in selinux-policy-3.6.12-3.fc11.noarch

Comment 4 Miroslav Grepl 2009-04-16 11:07:42 UTC
(In reply to comment #3)
> Fixed in selinux-policy-3.6.12-3.fc11.noarch  

I apologize, copy/paste mistake.

Fixed in selinux-policy-3.6.12-5.1.fc11

Comment 5 Daniel Walsh 2009-04-16 13:33:26 UTC
Miroslav, I meant for you too add it to F10

Comment 6 Miroslav Grepl 2009-04-16 13:37:22 UTC
Also added to F10 selinux-policy. Fixed in selinux-policy-3.5.13-57.fc10