Bug 239210
Summary: | SELinux error when trying to create virtual machine | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Justin Mahoney <justin> | ||||
Component: | virt-manager | Assignee: | Daniel Berrangé <berrange> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Martin Jenner <mjenner> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | andrew.pannell, xen-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-01-11 04:08:51 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: | |||||||
Attachments: |
|
Description
Justin Mahoney
2007-05-06 05:22:38 UTC
Created attachment 154220 [details]
screenshot of error message from virt-manager
I reinstalled with default kerrnel, and set SELinux to 'Permissive.' Still got the same error, so it looks like it's not SELinux related. I assumed it was SELinux related because of all the SELinux alerts I was getting. I have also had this problem installing F7. I have also tried both ethernet options in the virt-manager. Host:Fedora (2.6.20-2925.11.fc7xen) Guest URL : http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/ Install Location: /var/lib/xen/images/ Virtual Network : Default (Though I have had the same problem using Shared Physical Device : eth0) VM Max = VM Startup = 256MB VPU = 1 I have been able to get past this there are a couple of threads that talk about this particular problem please refer to them for further details. I eventually installed sysfsutils (http://lists.xensource.com/archives/html/xen-users/2005-11/msg00127.html) This did not seem to work however it might be required anyway. what did work was doing steps 2 and 4 of this post (http://lists.xensource.com/archives/html/xen-users/2005-10/msg00152.html) 2. /etc/xen/scripts/network start 4 /etc/xen/scripts/vif-bridge up domain=RHL vif=vif1.0 bridge=xen-br0 Further to the above. The previous efforts allowed the completion of the image creation but when it came to installing the client OS the system failed as it could not initialise the ipv6 ethernet stack. It didn't matter which ipv6 option you chose or even if you turned it off in the install options. After trawling through the logs on the host OS the new errors reported were xen-hotplug.log mkdir: cannot create directory `/var/run/xen-hotplug': Permission denied Given that I had problems reported by the selinux trouble shooter in creating this log file I assumed that there is a problem with the selinux permissions for virtulization and so set selinux to to disable and then ran 'fixfiles relabel'. After starting the entire process again I was able to complete the intallation. To me this is defiantly an issue with selinux not allowing the correct establishment of the networking scripts. change QA contact If you are still encountering problems with this could you provide /root/.virt-manager/virt-manager.log From just after an attempt to create a VM, along with the output of 'ifconfig -a', 'brctl show' and /var/log/xen/xend.log Closing since no further reports of problems provided by submitter. Please re-open if it still occurrs |