SELinux is preventing /usr/bin/kdm from using the 'getsession' accesses on a process. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that kdm should be allowed getsession access on processes labeled xdm_t by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep kdm /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Objects Unknown [ process ] Source kdm Source Path /usr/bin/kdm Port <Unknown> Host (removed) Source RPM Packages kdm-4.6.2-2.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-13.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.38.2-14.fc15.x86_64 #1 SMP Mon Apr 11 23:50:28 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen Wed 13 Apr 2011 09:09:32 AM CEST Last Seen Wed 13 Apr 2011 09:14:32 AM CEST Local ID 8d67f47e-c082-4568-8ff6-2af5b77178fd Raw Audit Messages type=AVC msg=audit(1302678872.296:89): avc: denied { getsession } for pid=4730 comm="kdm" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=process type=SYSCALL msg=audit(1302678872.296:89): arch=x86_64 syscall=getsid success=yes exit=1678 a0=127a a1=0 a2=127a a3=7fffe3f755f0 items=0 ppid=1 pid=4730 auid=4294967295 uid=501 gid=0 euid=501 suid=501 fsuid=501 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=kdm exe=/usr/bin/kdm subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: kdm,xdm_t,xdm_t,process,getsession audit2allow #============= xdm_t ============== allow xdm_t self:process getsession; audit2allow -R #============= xdm_t ============== allow xdm_t self:process getsession;
happens during user switching
Should definitely be allowed. Fixed in selinux-policy-3.9.16-15.fc15
Miroslav we should put this in F13, F14, RHEL6 also.
selinux-policy-3.9.16-15.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-15.fc15
Package selinux-policy-3.9.16-15.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-15.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-15.fc15 then log in and leave karma (feedback).
selinux-policy-3.9.16-15.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.