Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: I started a VM in virt-manager. SELinux is preventing virtlogd from 'write' accesses on the fifo_file /run/systemd/inhibit/36.ref. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that virtlogd should be allowed write access on the 36.ref fifo_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:systemd_logind_inhibit_var_run_t :s0 Target Objects /run/systemd/inhibit/36.ref [ fifo_file ] Source virtlogd Source Path virtlogd Port <Neznámé> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.4.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.13.3-301.fc27.x86_64 #1 SMP Mon Sep 25 14:45:44 UTC 2017 x86_64 x86_64 Alert Count 1 First Seen 2017-09-27 22:15:02 CEST Last Seen 2017-09-27 22:15:02 CEST Local ID 1c7ad521-871d-4c8f-b85c-0fc29dbc7ed1 Raw Audit Messages type=AVC msg=audit(1506543302.161:337): avc: denied { write } for pid=7925 comm="virtlogd" path="/run/systemd/inhibit/36.ref" dev="tmpfs" ino=386445 scontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_inhibit_var_run_t:s0 tclass=fifo_file permissive=1 Hash: virtlogd,virtlogd_t,systemd_logind_inhibit_var_run_t,fifo_file,write Version-Release number of selected component: selinux-policy-3.13.1-283.4.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.2 hashmarkername: setroubleshoot kernel: 4.13.3-301.fc27.x86_64 type: libreport Potential duplicate: bug 1479719
*** This bug has been marked as a duplicate of bug 1479719 ***