Bug 744454 - SELinux is preventing systemd-logind from 'open' accesses on the chr_file kmsg.
Summary: SELinux is preventing systemd-logind from 'open' accesses on the chr_file kmsg.
Keywords:
Status: CLOSED DUPLICATE of bug 744453
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:60c4bc74af1ec6d5a4b6ca2f0a6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-08 18:58 UTC by Yann Droneaud
Modified: 2011-10-10 11:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-10 11:36:10 UTC
Type: ---


Attachments (Terms of Use)

Description Yann Droneaud 2011-10-08 18:58:45 UTC
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;
:

Comment 1 Yann Droneaud 2011-10-08 19:01:44 UTC
Error appears just after booting Fedora 16 Beta Live LXDE.

See also bug 744453

Comment 2 Miroslav Grepl 2011-10-10 11:36:10 UTC

*** This bug has been marked as a duplicate of bug 744453 ***


Note You need to log in before you can comment on or make changes to this bug.