Bug 744610 - SELinux is preventing /usr/bin/passwd from 'getattr' accesses on the chr_file /dev/hidraw0.
Summary: SELinux is preventing /usr/bin/passwd from 'getattr' accesses on the chr_file...
Keywords:
Status: CLOSED DUPLICATE of bug 744598
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f0a328a7e0de5f4102584b46a40...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-09 17:08 UTC by jiker
Modified: 2011-10-10 08:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-10 08:50:03 UTC
Type: ---


Attachments (Terms of Use)

Description jiker 2011-10-09 17:08:02 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc6.git0.3.fc16.i686
reason:         SELinux is preventing /usr/bin/passwd from 'getattr' accesses on the chr_file /dev/hidraw0.
time:           Sun Oct  9 19:07:50 2011

description:
:SELinux is preventing /usr/bin/passwd from 'getattr' accesses on the chr_file /dev/hidraw0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that passwd should be allowed getattr access on the hidraw0 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 passwd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:usb_device_t:s0
:Target Objects                /dev/hidraw0 [ chr_file ]
:Source                        passwd
:Source Path                   /usr/bin/passwd
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           passwd-0.78-3.fc15
: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.i686 #1
:                              SMP Fri Sep 16 12:22:19 UTC 2011 i686 i686
:Alert Count                   3
:First Seen                    dim. 09 oct. 2011 02:25:21 CEST
:Last Seen                     dim. 09 oct. 2011 02:25:49 CEST
:Local ID                      8c33db72-c402-461f-a420-e06cbc3c762a
:
:Raw Audit Messages
:type=AVC msg=audit(1318119949.926:278): avc:  denied  { getattr } for  pid=1633 comm="passwd" path="/dev/hidraw0" dev=devtmpfs ino=1212 scontext=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usb_device_t:s0 tclass=chr_file
:
:
:type=SYSCALL msg=audit(1318119949.926:278): arch=i386 syscall=stat64 success=no exit=EACCES a0=bfa190cc a1=bfa14a70 a2=4c9f5ff4 a3=8424dd4 items=0 ppid=1577 pid=1633 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=2 comm=passwd exe=/usr/bin/passwd subj=unconfined_u:unconfined_r:passwd_t:s0-s0:c0.c1023 key=(null)
:
:Hash: passwd,passwd_t,usb_device_t,chr_file,getattr
:
:audit2allow
:
:#============= passwd_t ==============
:allow passwd_t usb_device_t:chr_file getattr;
:
:audit2allow -R
:
:#============= passwd_t ==============
:allow passwd_t usb_device_t:chr_file getattr;
:

Comment 1 Miroslav Grepl 2011-10-10 08:50:03 UTC

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


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