Hide Forgot
With: selinux-policy-targeted-3.10.0-18.fc16.noarch systemd-33-2.fc16.x86_64 I get: [ 26.411505] type=1400 audit(1314094042.821:4): avc: denied { read } for pid=1041 comm="systemd-logind" name="systemd-logind.conf" dev=dm-1 ino=156886 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:init_exec_t:s0 tclass=file [ 26.411626] type=1400 audit(1314094042.821:5): avc: denied { open } for pid=1041 comm="systemd-logind" name="systemd-logind.conf" dev=dm-1 ino=156886 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:init_exec_t:s0 tclass=file [ 26.411808] type=1400 audit(1314094042.821:6): avc: denied { getattr } for pid=1041 comm="systemd-logind" path="/etc/systemd/systemd-logind.conf" dev=dm-1 ino=156886 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:init_exec_t:s0 tclass=file It seems to be genuine missing support for new behaviour. I wonder why se troubleshoot didn't catch this - did it happen too early in the boot process?
Created attachment 519440 [details] dmesg
Dan, we have /etc/systemd /lib/systemd We might want to change it to /etc/systemd/system /lib/systemd
selinux-policy-3.10.0-20.fc16 Has /etc/systemd/system /lib/systemd/system
selinux-policy-3.10.0-21.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-21.fc16
Package selinux-policy-3.10.0-21.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-21.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-21.fc16 then log in and leave karma (feedback).
_not_ fixed by 3.10.0-21: [ 26.451472] type=1400 audit(1314377901.250:12): avc: denied { read } for pid=999 comm="systemd-logind" name="systemd-logind.conf" dev=dm-1 ino=156886 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:init_exec_t:s0 tclass=file [ 26.451597] type=1400 audit(1314377901.250:13): avc: denied { open } for pid=999 comm="systemd-logind" name="systemd-logind.conf" dev=dm-1 ino=156886 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:init_exec_t:s0 tclass=file [ 26.452104] type=1400 audit(1314377901.251:14): avc: denied { getattr } for pid=999 comm="systemd-logind" path="/etc/systemd/systemd-logind.conf" dev=dm-1 ino=156886 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:init_exec_t:s0 tclass=file selinux-policy-targeted-3.10.0-21.fc16.noarch systemd-33-2.fc16.x86_64 (on a installed system - no livecd issues involved)
matchpathcon /etc/systemd/systemd-logind.conf /etc/systemd/systemd-logind.conf system_u:object_r:etc_t:s0 restorecon -R -v /etc/systemd
Right: [root@imac ~]# matchpathcon -V /etc/systemd/systemd-logind.conf /etc/systemd/systemd-logind.conf has context system_u:object_r:init_exec_t:s0, should be system_u:object_r:etc_t:s0 [root@imac ~]# restorecon -R -v /etc/systemd restorecon reset /etc/systemd context system_u:object_r:lib_t:s0->system_u:object_r:etc_t:s0 restorecon reset /etc/systemd/systemd-logind.conf context system_u:object_r:init_exec_t:s0->system_u:object_r:etc_t:s0 restorecon reset /etc/systemd/user context system_u:object_r:lib_t:s0->system_u:object_r:etc_t:s0 restorecon reset /etc/systemd/user.conf context system_u:object_r:init_exec_t:s0->system_u:object_r:etc_t:s0 restorecon reset /etc/systemd/system.conf context system_u:object_r:init_exec_t:s0->system_u:object_r:etc_t:s0 I relabeled the whole system yesterday, so some package updates introduced this inconsistency. I will reboot and verify the avc has gone.
There was a bug in the labeling of /etc/systemd before -21, This has been fixed but the package was not smart enough to fix the labelling problem.
Ok, confirmed ... assuming "real" updates directly from f15 without intermediate steps is handled correctly.
selinux-policy-3.10.0-21.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.