Bug 1444547

Summary: SELinux is preventing virtlogd from 'execute_no_trans' accesses on the file /usr/sbin/virtlogd.
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: dominick.grift, dwalsh, dzrudy, idesmi, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:923c21782ebb7c46a93c87ef1018c26613d774522fa369039452f41264102a73;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-257.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-12 13:05:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mikhail 2017-04-22 05:55:13 UTC
Description of problem:
SELinux is preventing virtlogd from 'execute_no_trans' accesses on the file /usr/sbin/virtlogd.

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

If you believe that virtlogd should be allowed execute_no_trans access on the virtlogd 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 'virtlogd' --raw | audit2allow -M my-virtlogd
# semodule -X 300 -i my-virtlogd.pp

Additional Information:
Source Context                system_u:system_r:virtlogd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:virtlogd_exec_t:s0
Target Objects                /usr/sbin/virtlogd [ file ]
Source                        virtlogd
Source Path                   virtlogd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           libvirt-daemon-3.2.0-1.fc26.x86_64
Policy RPM                    selinux-policy-3.13.1-249.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              4.11.0-0.rc4.git0.1.fc26.x86_64+debug #1 SMP Tue
                              Mar 28 15:14:41 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-04-06 09:43:05 +05
Last Seen                     2017-04-06 09:43:05 +05
Local ID                      666119ae-cb6b-41fd-beba-38133c15c084

Raw Audit Messages
type=AVC msg=audit(1491453785.106:5947): avc:  denied  { execute_no_trans } for  pid=3225 comm="virtlogd" path="/usr/sbin/virtlogd" dev="sda1" ino=3417811 scontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:virtlogd_exec_t:s0 tclass=file permissive=0


Hash: virtlogd,virtlogd_t,virtlogd_exec_t,file,execute_no_trans

Version-Release number of selected component:
selinux-policy-3.13.1-249.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.0-0.rc7.git0.1.fc26.x86_64+debug
type:           libreport

Comment 1 Mikhail 2017-06-04 09:43:33 UTC
Description of problem:
occuring during last dnf update process


Additional info:
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.3-300.fc26.x86_64+debug
type:           libreport

Comment 2 Fedora Update System 2017-06-08 11:10:01 UTC
selinux-policy-3.13.1-257.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6a43388229

Comment 3 Fedora Update System 2017-06-10 01:09:42 UTC
selinux-policy-3.13.1-257.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6a43388229

Comment 4 Fedora Update System 2017-06-12 13:05:43 UTC
selinux-policy-3.13.1-257.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.