Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.0-4.fc16.x86_64 reason: SELinux is preventing /lib/systemd/systemd-logind from 'search' accesses on the directory r&. time: Mon 26 Mar 2012 12:37:44 PM IST description: :SELinux is preventing /lib/systemd/systemd-logind from 'search' accesses on the directory r&. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that systemd-logind should be allowed search access on the r& directory 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 systemd-logind /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:systemd_logind_t:s0 :Target Context system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 :Target Objects r& [ dir ] :Source systemd-logind :Source Path /lib/systemd/systemd-logind :Port <Unknown> :Host (removed) :Source RPM Packages systemd-37-15.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.0-4.fc16.x86_64 #1 SMP Tue Mar 20 : 18:05:40 UTC 2012 x86_64 x86_64 :Alert Count 11 :First Seen Sat 24 Mar 2012 12:34:17 AM IST :Last Seen Sun 25 Mar 2012 01:53:18 PM IST :Local ID ce09e3a5-777d-4b2e-8dd4-b23a53b36ec3 : :Raw Audit Messages :type=AVC msg=audit(1332663798.908:159): avc: denied { search } for pid=1009 comm="systemd-logind" name="7226" dev="proc" ino=107910 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tclass=dir : : :type=AVC msg=audit(1332663798.908:159): avc: denied { read } for pid=1009 comm="systemd-logind" name="sessionid" dev="proc" ino=107088 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tclass=file : : :type=AVC msg=audit(1332663798.908:159): avc: denied { open } for pid=1009 comm="systemd-logind" name="sessionid" dev="proc" ino=107088 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:devicekit_power_t:s0-s0:c0.c1023 tclass=file : : :type=SYSCALL msg=audit(1332663798.908:159): arch=x86_64 syscall=open success=yes exit=EAGAIN a0=14b91c0 a1=80000 a2=1b6 a3=238 items=0 ppid=1 pid=1009 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-logind exe=/lib/systemd/systemd-logind subj=system_u:system_r:systemd_logind_t:s0 key=(null) : :Hash: systemd-logind,systemd_logind_t,devicekit_power_t,dir,search : :audit2allow : :#============= systemd_logind_t ============== :allow systemd_logind_t devicekit_power_t:dir search; :allow systemd_logind_t devicekit_power_t:file { read open }; : :audit2allow -R : :#============= systemd_logind_t ============== :allow systemd_logind_t devicekit_power_t:dir search; :allow systemd_logind_t devicekit_power_t:file { read open }; :
Could you update your selinux-policy. Should be fixed in the latest release. $ yum update selinux-policy-targeted