Bug 593420

Summary: SELinux is preventing /usr/sbin/hald "open" access on /usr/share/hwdata/pci.ids.
Product: [Fedora] Fedora Reporter: Brian Whitehead <bwhitehd>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:4e6f19058d76a60c92d075196e18c426d833b7a5896e22a4e4c4db5ebe1f7986
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-18 19:19:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian Whitehead 2010-05-18 18:34:37 UTC
Summary:

SELinux is preventing /usr/sbin/hald "open" access on /usr/share/hwdata/pci.ids.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by hald. It is not expected that this access is
required by hald and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:hald_t:s0
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                /usr/share/hwdata/pci.ids [ file ]
Source                        hald
Source Path                   /usr/sbin/hald
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           hal-0.5.13-9.fc12
Target RPM Packages           hwdata-0.225-3.fc12
Policy RPM                    selinux-policy-3.6.32-113.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38
                              UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Tue 18 May 2010 01:18:03 PM CDT
Last Seen                     Tue 18 May 2010 01:18:03 PM CDT
Local ID                      639a7489-ab82-4f2f-9181-f9583327d637
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1274206683.221:12): avc:  denied  { open } for  pid=1443 comm="hald" name="pci.ids" dev=dm-0 ino=23698 scontext=system_u:system_r:hald_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1274206683.221:12): arch=c000003e syscall=2 success=yes exit=15 a0=441c40 a1=0 a2=7fff870ec770 a3=0 items=0 ppid=1442 pid=1443 auid=4294967295 uid=68 gid=483 euid=68 suid=68 fsuid=68 egid=483 sgid=483 fsgid=483 tty=(none) ses=4294967295 comm="hald" exe="/usr/sbin/hald" subj=system_u:system_r:hald_t:s0 key=(null)



Hash String generated from  catchall,hald,hald_t,user_home_t,file,open
audit2allow suggests:

#============= hald_t ==============
allow hald_t user_home_t:file open;

Comment 1 Daniel Walsh 2010-05-18 19:19:06 UTC

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

Comment 2 Daniel Walsh 2010-05-18 19:25:35 UTC
*** Bug 593430 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2010-05-18 19:25:51 UTC
*** Bug 593428 has been marked as a duplicate of this bug. ***

Comment 4 Daniel Walsh 2010-05-18 19:26:04 UTC
*** Bug 593427 has been marked as a duplicate of this bug. ***

Comment 5 Daniel Walsh 2010-05-18 19:26:52 UTC
*** Bug 593444 has been marked as a duplicate of this bug. ***

Comment 6 Daniel Walsh 2010-05-18 19:27:01 UTC
*** Bug 593443 has been marked as a duplicate of this bug. ***

Comment 7 Daniel Walsh 2010-05-18 19:27:10 UTC
*** Bug 593441 has been marked as a duplicate of this bug. ***

Comment 8 Daniel Walsh 2010-05-18 19:29:53 UTC
*** Bug 593448 has been marked as a duplicate of this bug. ***

Comment 9 Daniel Walsh 2010-05-18 19:30:28 UTC
*** Bug 593449 has been marked as a duplicate of this bug. ***

Comment 10 Daniel Walsh 2010-05-18 19:30:43 UTC
*** Bug 593447 has been marked as a duplicate of this bug. ***