| Summary: | SELinux is preventing systemd-logind from 'open' accesses on the chr_file kmsg. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Yann Droneaud <yann> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:60c4bc74af1ec6d5a4b6ca2f0a6b561de3f77a3faf39af1915d6d9f64dc5bdf5 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-10 11:36:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Error appears just after booting Fedora 16 Beta Live LXDE. See also bug 744453 *** This bug has been marked as a duplicate of bug 744453 *** |
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 'open' accesses on the chr_file kmsg. time: Sat Oct 8 14:58:26 2011 description: :SELinux is preventing systemd-logind from 'open' accesses on the chr_file kmsg. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that systemd-logind should be allowed open 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 d3b29e66-74ec-44c4-85ee-c9d84662ed8b : :Raw Audit Messages :type=AVC msg=audit(1318097125.87:36): avc: denied { open } 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,open : :audit2allow : :#============= systemd_logind_t ============== :allow systemd_logind_t kmsg_device_t:chr_file open; : :audit2allow -R : :#============= systemd_logind_t ============== :allow systemd_logind_t kmsg_device_t:chr_file open; :