Bug 1444547 - SELinux is preventing virtlogd from 'execute_no_trans' accesses on the file /usr/sbin/virtlogd.
Summary: SELinux is preventing virtlogd from 'execute_no_trans' accesses on the file /...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:923c21782ebb7c46a93c87ef101...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-22 05:55 UTC by Mikhail
Modified: 2018-07-05 10:11 UTC (History)
9 users (show)

Fixed In Version: selinux-policy-3.13.1-257.fc26
Clone Of:
Environment:
Last Closed: 2017-06-12 13:05:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1598392 0 high CLOSED virtlogd entered failed state with "Permission denied" error after reload 2021-02-22 00:41:40 UTC

Internal Links: 1598392

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.


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