Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.2-1.fc16.x86_64 reason: SELinux is preventing systemd-logind from 'open' accesses on the file sessionid. time: Fri 03 Feb 2012 10:34:49 AM EST description: :SELinux is preventing systemd-logind from 'open' accesses on the file sessionid. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that systemd-logind should be allowed open access on the sessionid file 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:system_cronjob_t:s0-s0:c0.c1023 :Target Objects sessionid [ file ] :Source systemd-logind :Source Path systemd-logind :Port <Unknown> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM selinux-policy-3.10.0-74.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) : 3.2.2-1.fc16.x86_64 #1 SMP Thu Jan 26 03:21:58 UTC : 2012 x86_64 x86_64 :Alert Count 1 :First Seen Fri 03 Feb 2012 10:34:04 AM EST :Last Seen Fri 03 Feb 2012 10:34:04 AM EST :Local ID e12197f4-2314-4f9d-b4d2-384154289d9e : :Raw Audit Messages :type=AVC msg=audit(1328283244.558:237): avc: denied { open } for pid=1098 comm="systemd-logind" name="sessionid" dev=proc ino=371793 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tclass=file : : :Hash: systemd-logind,systemd_logind_t,system_cronjob_t,file,open : :audit2allow : :#============= systemd_logind_t ============== :allow systemd_logind_t system_cronjob_t:file open; : :audit2allow -R : :#============= systemd_logind_t ============== :allow systemd_logind_t system_cronjob_t:file open; :
I don't know if this should be allowed or not...
I would guess that systemd_logind is running through the list of all processes reading their sessionid, so I think we should allow it.
selinux-policy-3.10.0-78.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-78.fc16
Package selinux-policy-3.10.0-78.fc16: * should fix your issue, * was pushed to the Fedora 16 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.10.0-78.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-78.fc16 then log in and leave karma (feedback).
Package selinux-policy-3.10.0-80.fc16: * should fix your issue, * was pushed to the Fedora 16 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.10.0-80.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-80.fc16 then log in and leave karma (feedback).
selinux-policy-3.10.0-80.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.