Hide Forgot
libreport version: 2.0.5.982 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc6.git0.3.fc16.x86_64 reason: SELinux is preventing systemd-logind from 'write' accesses on the chr_file kmsg. time: Sat Oct 8 14:57:01 2011 description: :SELinux is preventing systemd-logind from 'write' accesses on the chr_file kmsg. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that systemd-logind should be allowed write access on the kmsg chr_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:object_r:kmsg_device_t:s0 :Target Objects kmsg [ chr_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-32.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) : 3.1.0-0.rc6.git0.3.fc16.x86_64 #1 SMP Fri Sep 16 : 12:26:22 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Sat 08 Oct 2011 02:05:25 PM EDT :Last Seen Sat 08 Oct 2011 02:05:25 PM EDT :Local ID a7aa28c9-a0ff-45c7-b5f0-975e4757085c : :Raw Audit Messages :type=AVC msg=audit(1318097125.87:35): avc: denied { write } for pid=842 comm="systemd-logind" name="kmsg" dev=devtmpfs ino=5291 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:kmsg_device_t:s0 tclass=chr_file : : :Hash: systemd-logind,systemd_logind_t,kmsg_device_t,chr_file,write : :audit2allow : :#============= systemd_logind_t ============== :allow systemd_logind_t kmsg_device_t:chr_file write; : :audit2allow -R : :#============= systemd_logind_t ============== :allow systemd_logind_t kmsg_device_t:chr_file write; :
Error appears just after booting Fedora 16 Beta Live LXDE. See also bug 744454
*** Bug 744454 has been marked as a duplicate of this bug. ***
Looks like also systemd-logind needs dev_write_kmsg()
Yupp.
Fixed in selinux-policy-3.10.0-40.fc16
selinux-policy-3.10.0-40.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-40.fc16
Package selinux-policy-3.10.0-40.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-40.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14363 then log in and leave karma (feedback).
selinux-policy-3.10.0-40.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.