Bug 1203146 - SELinux is preventing rngd from 'execmod' accesses on the file /usr/sbin/rngd.
Summary: SELinux is preventing rngd from 'execmod' accesses on the file /usr/sbin/rngd.
Keywords:
Status: CLOSED DUPLICATE of bug 1181308
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:68e865d3815bc8a42a2f642ebc6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-18 09:16 UTC by Mikhail
Modified: 2015-04-03 15:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-03 15:51:28 UTC
Type: ---


Attachments (Terms of Use)

Description Mikhail 2015-03-18 09:16:03 UTC
Description of problem:
SELinux is preventing rngd from 'execmod' accesses on the file /usr/sbin/rngd.

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

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

Additional Information:
Source Context                system_u:system_r:rngd_t:s0
Target Context                system_u:object_r:rngd_exec_t:s0
Target Objects                /usr/sbin/rngd [ file ]
Source                        rngd
Source Path                   rngd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           rng-tools-5-4.fc22.i686
Policy RPM                    selinux-policy-3.13.1-116.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.0.0-0.rc3.git0.1.fc22.i686+PAE
                              #1 SMP Mon Mar 9 13:53:28 UTC 2015 i686 i686
Alert Count                   2
First Seen                    2015-03-18 13:35:08 YEKT
Last Seen                     2015-03-18 13:59:19 YEKT
Local ID                      4954e7f1-79a3-4f72-aca1-8a662fd3a6f7

Raw Audit Messages
type=AVC msg=audit(1426669159.799:86): avc:  denied  { execmod } for  pid=597 comm="rngd" path="/usr/sbin/rngd" dev="sda1" ino=664619 scontext=system_u:system_r:rngd_t:s0 tcontext=system_u:object_r:rngd_exec_t:s0 tclass=file permissive=0


Hash: rngd,rngd_t,rngd_exec_t,file,execmod

Version-Release number of selected component:
selinux-policy-3.13.1-116.fc22.noarch

Additional info:
reporter:       libreport-2.4.0
hashmarkername: setroubleshoot
kernel:         4.0.0-0.rc3.git0.1.fc22.i686+PAE
type:           libreport

Potential duplicate: bug 1181308

Comment 1 Miroslav Grepl 2015-04-03 15:51:28 UTC

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


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