Bug 732719
Summary: | avcs for systemd-logind and /etc/systemd/systemd-logind.conf | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> | ||||
Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> | ||||
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | dwalsh, satellitgo | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | selinux-policy-3.10.0-21.fc16 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-09-07 03:19:57 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Mads Kiilerich
2011-08-23 11:33:28 UTC
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. |