Bug 1539213 - 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 EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:68e865d3815bc8a42a2f642ebc6...
: 1541755 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-26 23:36 UTC by robert fairbrother
Modified: 2018-07-03 13:40 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-03 13:40:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description robert fairbrother 2018-01-26 23:36:13 UTC
Description of problem:
firefox is freezing up the system and BOINC-client isint working so good
 https://ask.fedoraproject.org/en/question/116217/firefox-freezes-when-performng-a-tls-handshake/
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:
# ausearch -c 'rngd' --raw | audit2allow -M my-rngd
# semodule -X 300 -i my-rngd.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-8.fc25.i686
Policy RPM                    selinux-policy-3.13.1-224.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.6-300.fc25.i686+PAE #1 SMP Tue
                              Nov 1 12:54:54 UTC 2016 i686 i686
Alert Count                   1
First Seen                    2017-12-24 22:45:26 EST
Last Seen                     2017-12-24 22:45:26 EST
Local ID                      5faf1aee-db73-44c1-b319-7a8250aa58ef

Raw Audit Messages
type=AVC msg=audit(1514173526.155:100): avc:  denied  { execmod } for  pid=1058 comm="rngd" path="/usr/sbin/rngd" dev="dm-1" ino=926109 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-224.fc25.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.14.14-300.fc27.i686+PAE
type:           libreport

Potential duplicate: bug 1362529

Comment 1 Damian Kostyra 2018-02-04 13:28:08 UTC
*** Bug 1541755 has been marked as a duplicate of this bug. ***

Comment 2 robert fairbrother 2018-06-30 14:59:51 UTC
Description of problem:
i just foundit kickin in a list of SELinux alerts

Version-Release number of selected component:
selinux-policy-3.13.1-224.fc25.noarch

Additional info:
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.17.2-100.fc27.i686+PAE
type:           libreport

Comment 3 Lukas Vrabec 2018-07-03 13:40:16 UTC
Robert, 

Please update system, Fedora 25 is end of life.


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