Bug 446722

Summary: selinux prevent ybin work
Product: [Fedora] Fedora Reporter: Alexey Kuznetsov <axet>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-06 13:15:28 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 Alexey Kuznetsov 2008-05-15 19:09:18 UTC
Description of problem:
[root@mini ~]# ybin 
/sbin/ybin: line 818: /bin/mount: Permission denied

type=SELINUX_ERR msg=audit(1210878509.793:602): security_compute_sid:  invalid
context unconfined_u:unconfined_r:mount_t:s0-s0:c0.c1023 for
scontext=unconfined_u:unconfined_r:bootloader_t:s0-s0:c0.c1023
tcontext=system_u:object_r:mount_exec_t:s0 tclass=process
type=SYSCALL msg=audit(1210878509.793:602): arch=14 syscall=11 success=no
exit=-13 a0=1012b638 a1=10104058 a2=100f14b8 a3=0 items=0 ppid=12082 pid=12216
auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 ses=2
comm="ybin" exe="/bin/bash"
subj=unconfined_u:unconfined_r:bootloader_t:s0-s0:c0.c1023 key=(null)

Comment 1 Daniel Walsh 2008-05-16 20:22:48 UTC
Fixed in selinux-policy-3.3.1-52.fc9

Comment 2 Alexey Kuznetsov 2008-10-06 13:15:28 UTC
work fine for me