Bug 684496 - SELinux is preventing /usr/bin/pads from 'read' accesses on the directory net.
Summary: SELinux is preventing /usr/bin/pads from 'read' accesses on the directory net.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:95934f848fa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-13 02:52 UTC by Jeremy Baudoin
Modified: 2011-05-27 06:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-27 06:57:13 UTC
Type: ---


Attachments (Terms of Use)

Description Jeremy Baudoin 2011-03-13 02:52:27 UTC
SELinux is preventing /usr/bin/pads from 'read' accesses on the directory net.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that pads should be allowed read access on the net directory 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 pads /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:pads_t:s0
Target Context                system_u:object_r:sysfs_t:s0
Target Objects                net [ dir ]
Source                        pads
Source Path                   /usr/bin/pads
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           pads-1.2-4.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-31.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.6-45.fc14.x86_64 #1 SMP Mon Oct 18 23:57:44
                              UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 12 Mar 2011 08:50:25 PM CST
Last Seen                     Sat 12 Mar 2011 08:50:25 PM CST
Local ID                      59d2bf57-88d6-43d4-80ea-44e80738840a

Raw Audit Messages
type=AVC msg=audit(1299984625.917:121): avc:  denied  { read } for  pid=1939 comm="pads" name="net" dev=sysfs ino=2875 scontext=system_u:system_r:pads_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir


type=SYSCALL msg=audit(1299984625.917:121): arch=x86_64 syscall=open success=no exit=EACCES a0=3f2b8226df a1=90800 a2=22d8a90 a3=a items=0 ppid=1 pid=1939 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pads exe=/usr/bin/pads subj=system_u:system_r:pads_t:s0 key=(null)

Hash: pads,pads_t,sysfs_t,dir,read

audit2allow

#============= pads_t ==============
allow pads_t sysfs_t:dir read;

audit2allow -R

#============= pads_t ==============
allow pads_t sysfs_t:dir read;

Comment 1 Daniel Walsh 2011-05-26 20:49:13 UTC
Any update on this one?


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