Bug 1040515 (prelink_relabel) - SELinux is preventing /usr/sbin/prelink from 'getattr' accesses on the file /usr/sbin/umount.udisks.
Summary: SELinux is preventing /usr/sbin/prelink from 'getattr' accesses on the file /...
Keywords:
Status: CLOSED NOTABUG
Alias: prelink_relabel
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cdda3f8f3cb67f0cd74eb10096b...
: 1040553 1040555 1040556 1040557 1040558 1040559 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 14:47 UTC by James Cape
Modified: 2013-12-19 07:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-11 21:20:38 UTC
Type: ---


Attachments (Terms of Use)

Description James Cape 2013-12-11 14:47:14 UTC
Description of problem:
Got 97 similar errors in quick succession.
SELinux is preventing /usr/sbin/prelink from 'getattr' accesses on the file /usr/sbin/umount.udisks.

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

If you believe that prelink should be allowed getattr access on the umount.udisks 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 prelink /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:prelink_cron_system_t:s0-s0:c0.c
                              1023
Target Context                system_u:object_r:mount_exec_t:s0
Target Objects                /usr/sbin/umount.udisks [ file ]
Source                        prelink
Source Path                   /usr/sbin/prelink
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           prelink-0.5.0-1.fc20.x86_64
Target RPM Packages           udisks-1.0.4-12.fc20.x86_64
Policy RPM                    selinux-policy-3.12.1-106.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.10-300.fc20.x86_64 #1 SMP Fri
                              Nov 29 19:16:48 UTC 2013 x86_64 x86_64
Alert Count                   2
First Seen                    2013-12-11 09:45:04 EST
Last Seen                     2013-12-11 09:45:04 EST
Local ID                      de92ab72-effd-45fb-9525-e4fd54646303

Raw Audit Messages
type=AVC msg=audit(1386773104.196:1894): avc:  denied  { getattr } for  pid=26155 comm="prelink" path="/usr/sbin/umount.udisks" dev="dm-1" ino=2229826 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mount_exec_t:s0 tclass=file


type=SYSCALL msg=audit(1386773104.196:1894): arch=x86_64 syscall=lstat success=no exit=EACCES a0=1aef8a0 a1=7fffbf1a85f0 a2=7fffbf1a85f0 a3=1aef890 items=0 ppid=26146 pid=26155 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=49 tty=(none) comm=prelink exe=/usr/sbin/prelink subj=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 key=(null)

Hash: prelink,prelink_cron_system_t,mount_exec_t,file,getattr

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.10-300.fc20.x86_64
type:           libreport

Comment 1 Daniel Walsh 2013-12-11 21:20:38 UTC
For some reason prelink is mislabeled.  restorecon /usr/bin/prelink

Comment 2 Daniel Walsh 2013-12-11 21:21:32 UTC
*** Bug 1040553 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2013-12-11 21:21:38 UTC
*** Bug 1040555 has been marked as a duplicate of this bug. ***

Comment 4 Daniel Walsh 2013-12-11 21:21:44 UTC
*** Bug 1040556 has been marked as a duplicate of this bug. ***

Comment 5 Daniel Walsh 2013-12-11 21:21:51 UTC
*** Bug 1040557 has been marked as a duplicate of this bug. ***

Comment 6 Daniel Walsh 2013-12-11 21:21:56 UTC
*** Bug 1040558 has been marked as a duplicate of this bug. ***

Comment 7 Daniel Walsh 2013-12-11 21:22:02 UTC
*** Bug 1040559 has been marked as a duplicate of this bug. ***


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