Bug 726870

Summary: [abrt] (null): SELinux is preventing systemd-logind from 'setattr' accesses on the chr_file js0.
Product: [Fedora] Fedora Reporter: edy <musTOPdy>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:c2ec7acda41a96a872732bf3d0498747b5757f34843bd7814ba3358cd3cf6d67
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-10 08:50:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description edy 2011-07-30 05:04:45 UTC
abrt version: 2.0.5
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.0.0-1.fc16.i686
reason:         SELinux is preventing systemd-logind from 'setattr' accesses on the chr_file js0.
time:           Sat Jul 30 12:05:14 2011

description:
:SELinux is preventing systemd-logind from 'setattr' accesses on the chr_file js0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that systemd-logind should be allowed setattr access on the js0 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:mouse_device_t:s0
:Target Objects                js0 [ 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-10.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.0.0-1.fc16.i686.PAE
:                              #1 SMP Fri Jul 22 16:07:54 UTC 2011 i686 i686
:Alert Count                   3
:First Seen                    Sat 30 Jul 2011 08:35:25 AM WIT
:Last Seen                     Sat 30 Jul 2011 10:20:42 AM WIT
:Local ID                      e7f0f8d7-ba1a-4bb3-8512-6b3b11c5f1bd
:
:Raw Audit Messages
:type=AVC msg=audit(1311996042.525:217): avc:  denied  { setattr } for  pid=836 comm="systemd-logind" name="js0" dev=devtmpfs ino=11736 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:mouse_device_t:s0 tclass=chr_file
:
:
:Hash: systemd-logind,systemd_logind_t,mouse_device_t,chr_file,setattr
:
:audit2allow
:
:#============= systemd_logind_t ==============
:allow systemd_logind_t mouse_device_t:chr_file setattr;
:
:audit2allow -R
:
:#============= systemd_logind_t ==============
:allow systemd_logind_t mouse_device_t:chr_file setattr;
:

Comment 1 Daniel Walsh 2011-08-02 18:31:25 UTC
Fixed in selinux-policy-3.10.0-14.fc16