Bug 571574
Summary: | virt-install fails: "ERROR monitor socket did not show up.: Connection refused" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | berrange, crobinso, jforbes, virt-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: | 2010-03-08 21:48:54 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: |
Description
Richard W.M. Jones
2010-03-08 21:22:58 UTC
The other bug is 571576. In /var/log/libvirt/qemu/F12x64.log, I see the same thing each time (for both bugs): LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -S -M fedora-13 -enable-kvm -m 768 -smp 1,sockets=1,cores=1,threads=1 -name F12x64 -uuid ebfaadbe-e908-ba92-fdb8-3fa2db557a42 -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/F12x64.monitor,server,nowait -mon chardev=monitor,mode=readline -no-reboot -boot c -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.WDcnEp -initrd /var/lib/libvirt/boot/virtinst-initrd.img.TXxWIV -append method=http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/releases/12/Fedora/x86_64/os/ -drive file=/dev/vg_thinkpad/F12x64,if=none,id=drive-ide0-0-0,boot=on -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id =ide0-0-0 -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:f4:f1:0a,bus=pci.0, addr=0x4 -net tap,fd=42,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 127.0.0.1:0 -k en-gb -vga cirrus -device virti o-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 char device redirected to /dev/pts/1 qemu: could not load kernel '/var/lib/libvirt/boot/virtinst-vmlinuz.WDcnEp': Permission denied This is NOT an selinux problem. I tried with selinux=Permissive. However it does seem to be a simple permissions problem. virt-install downloads the files here: # ls -alZ /var/lib/libvirt/boot/ drwx--x--x. root root system_u:object_r:virt_content_t:s0 . drwxr-xr-x. root root system_u:object_r:virt_var_lib_t:s0 .. -rw-------. root root unconfined_u:object_r:virt_content_t:s0 virtinst-vmlinuz.YWZ0KF and qemu (running as the 'qemu' user) cannot access that file because the permissions are 0600. Is there some reason why this file should be 0600? There is no secret -- the kernel is a file downloaded off a public internet site :-) *** Bug 571576 has been marked as a duplicate of this bug. *** Looks very similar to bug 516034. Is this a regression? OK I see this is a dupe of bug 566425. *** This bug has been marked as a duplicate of bug 566425 *** |