Bug 882576 - SELinux is preventing /usr/sbin/skdump from 'read' accesses on the blk_file sdg.
Summary: SELinux is preventing /usr/sbin/skdump from 'read' accesses on the blk_file sdg.
Keywords:
Status: CLOSED DUPLICATE of bug 799713
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b5d10218f8ecf716240dc4a597b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-02 01:07 UTC by bm_boris
Modified: 2012-12-03 10:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-03 10:09:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-02 01:07 UTC, bm_boris
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-02 01:07 UTC, bm_boris
no flags Details

Description bm_boris 2012-12-02 01:07:24 UTC
Description of problem:
I was accessing a file from one of my storage devices (old Philips GoGear Media player SAXX model I think) and I extracted a zipped file and it gave me these errors I think. 

Additional info:
libreport version: 2.0.18
kernel:         3.6.7-4.fc17.x86_64

description:
:SELinux is preventing /usr/sbin/skdump from 'read' accesses on the blk_file sdg.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that skdump should be allowed read access on the sdg blk_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 skdump /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:fixed_disk_device_t:s0
:Target Objects                sdg [ blk_file ]
:Source                        skdump
:Source Path                   /usr/sbin/skdump
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           libatasmart-0.18-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.7-4.fc17.x86_64 #1 SMP Tue Nov
:                              20 19:40:01 UTC 2012 x86_64 x86_64
:Alert Count                   6
:First Seen                    2012-12-01 18:53:34 CST
:Last Seen                     2012-12-01 18:53:34 CST
:Local ID                      27e10958-c05e-4198-bbb8-a171044a822f
:
:Raw Audit Messages
:type=AVC msg=audit(1354409614.682:745): avc:  denied  { read } for  pid=7969 comm="skdump" name="sdg" dev="devtmpfs" ino=1758265 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file
:
:
:type=SYSCALL msg=audit(1354409614.682:745): arch=x86_64 syscall=open success=no exit=EACCES a0=24986c0 a1=80900 a2=0 a3=9 items=0 ppid=7962 pid=7969 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=skdump exe=/usr/sbin/skdump subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)
:
:Hash: skdump,abrt_t,fixed_disk_device_t,blk_file,read
:
:audit2allow
:
:#============= abrt_t ==============
:allow abrt_t fixed_disk_device_t:blk_file read;
:
:audit2allow -R
:
:#============= abrt_t ==============
:allow abrt_t fixed_disk_device_t:blk_file read;
:


Potential duplicate bug: 799713

Comment 1 bm_boris 2012-12-02 01:07:31 UTC
Created attachment 655801 [details]
File: type

Comment 2 bm_boris 2012-12-02 01:07:37 UTC
Created attachment 655802 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-12-03 10:09:21 UTC

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


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