Bug 715289 - SELinux is preventing /usr/libexec/hald-probe-storage from 'open' accesses on the file /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libuuid.so.1.
Summary: SELinux is preventing /usr/libexec/hald-probe-storage from 'open' accesses on...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:062e6f4e3a7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-22 13:20 UTC by GJahchan
Modified: 2011-06-22 13:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-22 13:55:49 UTC
Type: ---


Attachments (Terms of Use)

Description GJahchan 2011-06-22 13:20:09 UTC
SELinux is preventing /usr/libexec/hald-probe-storage from 'open' accesses on the file /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libuuid.so.1.

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

If you believe that hald-probe-storage should be allowed open access on the libuuid.so.1 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 hald-probe-stor /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:hald_t:s0
Target Context                user_u:object_r:user_home_t:s0
Target Objects                /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libuuid.
                              so.1 [ file ]
Source                        hald-probe-stor
Source Path                   /usr/libexec/hald-probe-storage
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           hal-0.5.14-3.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-101.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.34.8-68.fc13.x86_64
                              #1 SMP Thu Feb 17 15:03:58 UTC 2011 x86_64 x86_64
Alert Count                   3
First Seen                    Wed 22 Jun 2011 04:03:17 PM EEST
Last Seen                     Wed 22 Jun 2011 04:04:15 PM EEST
Local ID                      1a3acadf-dc5b-42a7-872d-f7c58f8a1282

Raw Audit Messages
type=AVC msg=audit(1308747855.48:52509): avc:  denied  { open } for  pid=30085 comm="hald-probe-stor" name="libuuid.so.1.2" dev=dm-1 ino=1584812 scontext=system_u:system_r:hald_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=file


type=SYSCALL msg=audit(1308747855.48:52509): arch=x86_64 syscall=open success=no exit=EACCES a0=7ffddc2aed24 a1=0 a2=0 a3=6ffffeff items=1 ppid=1637 pid=30085 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=hald-probe-stor exe=/usr/libexec/hald-probe-storage subj=system_u:system_r:hald_t:s0 key=(null)

type=CWD msg=audit(1308747855.48:52509): cwd=/usr/libexec

type=PATH msg=audit(1308747855.48:52509): item=0 name=/opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libuuid.so.1 inode=1584812 dev=fd:01 mode=0100700 ouid=509 ogid=0 rdev=00:00 obj=user_u:object_r:user_home_t:s0

Hash: hald-probe-stor,hald_t,user_home_t,file,open

audit2allowunable to open /etc/selinux/targeted/policy/policy.24:  Permission denied


audit2allow -Runable to open /etc/selinux/targeted/policy/policy.24:  Permission denied

Comment 1 Daniel Walsh 2011-06-22 13:55:49 UTC
restorecon -R -v /opt


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