Summary: SELinux is preventing /bin/bash from executing /etc/kde/shutdown/gpg-agent-shutdown.sh. Detailed Description: SELinux has denied the startkde from executing /etc/kde/shutdown/gpg-agent-shutdown.sh. If startkde is supposed to be able to execute /etc/kde/shutdown/gpg-agent-shutdown.sh, this could be a labeling problem. Most confined domains are allowed to execute files labeled bin_t. So you could change the labeling on this file to bin_t and retry the application. If this startkde is not supposed to execute /etc/kde/shutdown/gpg-agent-shutdown.sh, this could signal an intrusion attempt. Allowing Access: If you want to allow startkde to execute /etc/kde/shutdown/gpg-agent-shutdown.sh: chcon -t bin_t '/etc/kde/shutdown/gpg-agent-shutdown.sh' If this fix works, please update the file context on disk, with the following command: semanage fcontext -a -t bin_t '/etc/kde/shutdown/gpg-agent-shutdown.sh' Please specify the full path to the executable, Please file a bug report to make sure this becomes the default labeling. Additional Information: Source Context xguest_u:xguest_r:xguest_t:s0 Target Context system_u:object_r:etc_t:s0 Target Objects /etc/kde/shutdown/gpg-agent-shutdown.sh [ file ] Source startkde Source Path /bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.1.7-1.fc13 Target RPM Packages kde-settings-4.4-16.fc13 Policy RPM selinux-policy-3.7.19-47.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name execute Host Name (removed) Platform Linux (removed) 2.6.33.6-147.2.4.fc13.x86_64 #1 SMP Fri Jul 23 17:14:44 UTC 2010 x86_64 x86_64 Alert Count 1 First Seen Wed 18 Aug 2010 05:39:15 PM CEST Last Seen Wed 18 Aug 2010 05:39:15 PM CEST Local ID 3c2e4233-687a-44d0-87e5-67817d368878 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1282145955.475:4372): avc: denied { execute } for pid=1810 comm="startkde" name="gpg-agent-shutdown.sh" dev=dm-0 ino=3232376 scontext=xguest_u:xguest_r:xguest_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1282145955.475:4372): arch=c000003e syscall=21 success=no exit=-13 a0=2725730 a1=1 a2=0 a3=8 items=0 ppid=1760 pid=1810 auid=502 uid=502 gid=503 euid=502 suid=502 fsuid=502 egid=503 sgid=503 fsgid=503 tty=(none) ses=74 comm="startkde" exe="/bin/bash" subj=xguest_u:xguest_r:xguest_t:s0 key=(null) Hash String generated from execute,startkde,xguest_t,etc_t,file,execute audit2allow suggests: #============= xguest_t ============== allow xguest_t etc_t:file execute;
Miroslav add /etc/kde/env(/.*)? gen_context(system_u:object_r:bin_t,s0) /etc/kde/shutdown(/.*)? gen_context(system_u:object_r:bin_t,s0)
Fixed in Fixed in selinux-policy-3.7.19-49.fc13.
selinux-policy-3.7.19-49.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-49.fc13
selinux-policy-3.7.19-49.fc13 has been pushed to the Fedora 13 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/selinux-policy-3.7.19-49.fc13
selinux-policy-3.7.19-49.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.