View Issue Details

IDProjectCategoryView StatusLast Update
0016862CentOS-7selinux-policypublic2019-12-26 08:52
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016862: SELinux is preventing /usr/sbin/libvirtd from using the 'transition' accesses on a process.
DescriptionDescription of problem:
SELinux is preventing /usr/sbin/libvirtd from using the 'transition' accesses on a process.

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

如果你相信 libvirtd应该允许_BASE_PATH transition 访问标记的进程 $TARGET默认为_TYPE。
Then 应该将这个情况作为 bug 报告。
# ausearch -c 'libvirtd' --raw | audit2allow -M my-libvirtd
# semodule -i my-libvirtd.pp

Additional Information:
Source Context system_u:system_r:unconfined_service_t:s0
Target Context system_u:system_r:svirt_t:s0:c129,c680
Target Objects /usr/libexec/qemu-kvm [ process ]
Source libvirtd
Source Path /usr/sbin/libvirtd
Port <Unknown>
Host (removed)
Source RPM Packages libvirt-daemon-4.5.0-23.el7_7.3.x86_64
Target RPM Packages qemu-kvm-1.5.3-167.el7_7.1.x86_64
Policy RPM selinux-policy-3.13.1-252.el7_7.6.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-1062.9.1.el7.x86_64 #1 SMP
                              Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64
Alert Count 1
First Seen 2019-12-26 16:51:54 CST
Last Seen 2019-12-26 16:51:54 CST
Local ID a6fa7be4-5e57-417a-8105-2622acdcf377

Raw Audit Messages
type=AVC msg=audit(1577350314.805:458): avc: denied { transition } for pid=10405 comm="libvirtd" path="/usr/libexec/qemu-kvm" dev="dm-0" ino=134987489 scontext=system_u:system_r:unconfined_service_t:s0 tcontext=system_u:system_r:svirt_t:s0:c129,c680 tclass=process permissive=0

type=SYSCALL msg=audit(1577350314.805:458): arch=x86_64 syscall=execve success=no exit=EACCES a0=7fe78c005f80 a1=7fe78c0194c0 a2=7fe78c0043e0 a3=8 items=0 ppid=1 pid=10405 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=libvirtd exe=/usr/sbin/libvirtd subj=system_u:system_r:unconfined_service_t:s0 key=(null)

Hash: libvirtd,unconfined_service_t,svirt_t,process,transition

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-1062.9.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-12-26 08:52 dilen New Issue