Bug 566328

Summary: context battle with dnssec-conf and bind-chroot
Product: [Fedora] Fedora Reporter: Matt Castelein <matt.castelein>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.6.32-92.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-04 00:16:45 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:

Description Matt Castelein 2010-02-17 22:24:24 UTC
Description of problem:  I have bind-chroot installed and dnssec-conf, the contexts on /etc/pki/dnssec-keys/ are different than those for /var/named/chroot/etc/pki/dnssec-keys/ causing restorecon to flip flop between the two contexts. 

Version-Release number of selected component (if applicable):
selinux-policy-3.6.32-84.fc12.noarch
selinux-policy-targeted-3.6.32-84.fc12.noarch
bind-chroot-9.6.1-16.P3.fc12.x86_64
dnssec-conf-1.21-8.fc12.noarch

Comment 1 Matt Castelein 2010-02-17 22:27:42 UTC
/var/named/chroot/etc/pki/dnssec-keys wants type etc_t

/etc/pki/dnssec-keys wants type cert_t

Comment 2 Daniel Walsh 2010-02-17 22:38:05 UTC
Miroslav add

/var/named/chroot/etc/pki(/.*)? gen_context(system_u:object_r:cert_t,s0)

Comment 3 Miroslav Grepl 2010-02-22 11:06:22 UTC
Fixed in selinux-policy-3.6.32-92.fc12

Comment 4 Fedora Update System 2010-02-23 20:57:41 UTC
selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12

Comment 5 Fedora Update System 2010-02-26 03:44:33 UTC
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2953

Comment 6 Fedora Update System 2010-03-04 00:13:10 UTC
selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.