Bug 833465

Summary: restorecon still oscillates among spam* and pyzor* context aliases
Product: Red Hat Enterprise Linux 7 Reporter: Milos Malik <mmalik>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.10.0-133.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 13:23:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milos Malik 2012-06-19 14:11:21 UTC
Description of problem:

Version-Release number of selected component (if applicable):
libselinux-2.1.10-4.el7.x86_64
libselinux-devel-2.1.10-4.el7.x86_64
libselinux-python-2.1.10-4.el7.x86_64
libselinux-ruby-2.1.10-4.el7.x86_64
libselinux-utils-2.1.10-4.el7.x86_64
libsemanage-2.1.7-1.el7.x86_64
libsemanage-python-2.1.7-1.el7.x86_64
libsepol-2.1.5-3.el7.x86_64
libsepol-devel-2.1.5-3.el7.x86_64
policycoreutils-2.1.11-18.el7.x86_64
policycoreutils-newrole-2.1.11-18.el7.x86_64
policycoreutils-python-2.1.11-18.el7.x86_64
selinux-policy-3.10.0-128.el7.noarch
selinux-policy-devel-3.10.0-128.el7.noarch
selinux-policy-doc-3.10.0-128.el7.noarch
selinux-policy-minimum-3.10.0-128.el7.noarch
selinux-policy-mls-3.10.0-128.el7.noarch
selinux-policy-targeted-3.10.0-128.el7.noarch

How reproducible:
always

Steps to Reproduce:
# restorecon -Rv /etc
restorecon reset /etc/pyzor context unconfined_u:object_r:spamd_etc_t:s0->unconfined_u:object_r:pyzor_etc_t:s0
# restorecon -Rv /etc
restorecon reset /etc/pyzor context unconfined_u:object_r:spamd_etc_t:s0->unconfined_u:object_r:pyzor_etc_t:s0
# restorecon -Rv /usr/bin/
restorecon reset /usr/bin/pyzord context system_u:object_r:spamd_exec_t:s0->system_u:object_r:pyzord_exec_t:s0
restorecon reset /usr/bin/pyzor context system_u:object_r:spamc_exec_t:s0->system_u:object_r:pyzor_exec_t:s0
# restorecon -Rv /usr/bin/
restorecon reset /usr/bin/pyzord context system_u:object_r:spamd_exec_t:s0->system_u:object_r:pyzord_exec_t:s0
restorecon reset /usr/bin/pyzor context system_u:object_r:spamc_exec_t:s0->system_u:object_r:pyzor_exec_t:s0
# 

Expected results:
* each of the files mentioned above is labelled correctly

Comment 1 Daniel Walsh 2012-06-19 17:48:26 UTC
I just merged everything into spamassassin.pp and removed pyzord and razor from F18, We need to back port this into F17 and pulled into rhel7.

Comment 2 Miroslav Grepl 2012-06-19 20:55:37 UTC
It was definetly fixed but it got back by a merge issue. Will backport to F17.

Comment 3 Miroslav Grepl 2012-06-28 14:20:46 UTC
Fixed in selinux-policy-targeted-3.10.0-133.el7

Comment 5 Ludek Smid 2014-06-13 13:23:41 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.