Bug 458330

Summary: File context pattern for stunnel_exec_t is wrong
Product: [Fedora] Fedora Reporter: Aleksander Adamowski <bugs-redhat>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8   
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: 2008-11-17 22:05:26 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 Aleksander Adamowski 2008-08-07 16:33:14 UTC
Description of problem:

# fgrep -r stunnel_exec_t /etc/selinux/targeted/contexts/
/etc/selinux/targeted/contexts/files/file_contexts:/usr/sbin/stunnel    --      system_u:object_r:stunnel_exec_t:s0
# ls -lZ /usr/sbin/stunnel
lrwxrwxrwx  root root system_u:object_r:bin_t          /usr/sbin/stunnel -> /usr/bin/stunnel
# ls -lZ /usr/bin/stunnel
-rwxr-xr-x  root root system_u:object_r:bin_t /usr/bin/stunnel

Because of this the real stunnel binary doesn't receive its rightful file context and proper operation of the whole stunnel domain is prevented.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.0.8-111.fc8

Comment 1 Daniel Walsh 2008-09-08 20:59:17 UTC
Fixed in selinux-policy-3.0.8-112.fc8

Comment 2 Daniel Walsh 2008-11-17 22:05:26 UTC
Closing all bugs that have been in modified for over a month.  Please reopen if the bug is not actually fixed.