Summary: | app-emulation/libvirt fails to start VMs with error virCommandHandshakeWait:2465 : Child quit during startup handshake: Input/output error while selinux is enforcing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kristopher Henry Kram <kristopherkram> |
Component: | SELinux | Assignee: | SE Linux Bugs <selinux> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | lists |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
libvirtd.log
emerge_info.txt gentoostart_selinux_enforcing.txt gentoostart_selinux_permissive.txt |
Description
Kristopher Henry Kram
2013-09-06 17:33:28 UTC
Created attachment 358094 [details]
libvirtd.log
Created attachment 358096 [details]
emerge_info.txt
Created attachment 358098 [details]
gentoostart_selinux_enforcing.txt
Created attachment 358100 [details]
gentoostart_selinux_permissive.txt
When you say "When i disable selinux everything works as it should." do you mean run with SELinux in permissive mode? Or really disabled? The logs you show show no AVC denials (which does not surprise me as libvirt is SELinux-aware, so it changes its behavior when SELinux is enabled and might just query the policy to decide on its actions - as a result, libvirt never really tries something, so no denials are logged). Just to make sure, if things do work in permissive mode (but not in enforcing), care to disable the dontaudits? You can do so using "semodule -DB". Don't forget to re-enable them (semodule -B) afterwards, otherwise your audit logs will be cluttered with (useless) denials. |