Bug 429889

Summary: SELinux prevented dbus-daemon(/bin/dbus-daemon) from using the terminal /dev/tty2.
Product: [Fedora] Fedora Reporter: Zack Cerza <zcerza>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-26 22:33:42 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 Zack Cerza 2008-01-23 16:49:15 UTC
Description of problem:
Don't know if this would be considered a bug in dbus or what, but I want to log
it somewhere.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.2.5-15.fc9
dbus-1.1.4-1.fc9

Additional info:
host=tak type=AVC msg=audit(1201052518.765:1352): avc: denied { read write } for
pid=5767 comm="dbus-daemon" path="/dev/tty2" dev=tmpfs ino=2050
scontext=unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0:c0.c1023
tcontext=unconfined_u:object_r:unconfined_tty_device_t:s0 tclass=chr_file 

host=tak type=AVC msg=audit(1201052518.765:1352): avc: denied { write } for
pid=5767 comm="dbus-daemon" path="/home/zack/startx.log" dev=sda3 ino=2227350
scontext=unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0:c0.c1023
tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file 

host=tak type=SYSCALL msg=audit(1201052518.765:1352): arch=40000003 syscall=11
success=yes exit=0 a0=804c7b4 a1=bf8d3a18 a2=bf8d5060 a3=400 items=0 ppid=5766
pid=5767 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500
fsgid=500 tty=(none) comm="dbus-daemon" exe="/bin/dbus-daemon"
subj=unconfined_u:unconfined_r:unconfined_dbusd_t:s0-s0:c0.c1023 key=(null)

Comment 1 Daniel Walsh 2008-02-26 22:33:42 UTC
Fixed in selinux-policy-3.3.1-4.fc9