Bug 988567 - SELinux is preventing /usr/sbin/prelink from 'getattr' accesses on the file /usr/libexec/nm-dispatcher.action.
SELinux is preventing /usr/sbin/prelink from 'getattr' accesses on the file /...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
rawhide
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
abrt_hash:a59ed4d09632d331345e86d07bb...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-25 16:48 EDT by Ruslan Mezentsev
Modified: 2013-07-26 13:30 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-26 13:30:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ruslan Mezentsev 2013-07-25 16:48:12 EDT
Description of problem:
SELinux is preventing /usr/sbin/prelink from 'getattr' accesses on the file /usr/libexec/nm-dispatcher.action.

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

If вы считаете, что prelink следует разрешить доступ getattr к nm-dispatcher.action file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
чтобы разрешить доступ, выполните:
# 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:NetworkManager_initrc_exec_t:s0
Target Objects                /usr/libexec/nm-dispatcher.action [ file ]
Source                        prelink
Source Path                   /usr/sbin/prelink
Port                          <Неизвестно>
Host                          (removed)
Source RPM Packages           prelink-0.5.0-1.fc20.x86_64
Target RPM Packages           NetworkManager-0.9.9.0-5.git20130603.fc20.x86_64
Policy RPM                    selinux-policy-3.12.1-65.fc20.noarch selinux-
                              policy-3.12.1-66.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.0-0.rc1.git1.1.fc20.x86_64 #1
                              SMP Wed Jul 17 21:16:24 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-07-25 03:49:57 YEKT
Last Seen                     2013-07-25 03:49:57 YEKT
Local ID                      6aa35b6b-1a0d-4809-b6cf-60a0c6229743

Raw Audit Messages
type=AVC msg=audit(1374702597.640:604): avc:  denied  { getattr } for  pid=7482 comm="prelink" path="/usr/libexec/nm-dispatcher.action" dev="dm-1" ino=535618 scontext=system_u:system_r:prelink_cron_system_t:s0-s0:c0.c1023 tcontext=system_u:object_r:NetworkManager_initrc_exec_t:s0 tclass=file


type=SYSCALL msg=audit(1374702597.640:604): arch=x86_64 syscall=lstat success=no exit=EACCES a0=1a77da0 a1=7fff542e71d0 a2=7fff542e71d0 a3=1a77d90 items=0 ppid=7473 pid=7482 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=5 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,NetworkManager_initrc_exec_t,file,getattr

Additional info:
reporter:       libreport-2.1.5
hashmarkername: setroubleshoot
kernel:         3.11.0-0.rc2.git2.1.fc20.x86_64
type:           libreport
Comment 1 Daniel Walsh 2013-07-26 13:30:19 EDT
Fix the label on prelink.

restorecon /usr/sbin/prelink

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