Hide Forgot
Created attachment 514001 [details] Script used to launch virt-install Description of problem: Can't install vm via virt-install when using system-wide instance and location param Version-Release number of selected component (if applicable): python-virtinst-0.500.6-2.fc15.noarch How reproducible: Always Steps to Reproduce: 1. sh virt_install_bug.sh Actual results: Starting install... Retrieving file .treeinfo... | 1.7 kB 00:00 ... Retrieving file vmlinuz... | 7.4 MB 00:00 ... Retrieving file initrd.img... | 188 MB 00:01 ... ERROR internal error Process exited while reading console log output: char device redirected to /dev/pts/4 qemu: could not load kernel '/home/rmarko/.virtinst/boot/virtinst-vmlinuz.V6uZ2w': Permission denied Expected results: Correct installation Additional info: - Kernel properly downloaded and chowned - Selinux disabled
Created attachment 514002 [details] virt-install log
can you show the output of: ls -l $HOME getfacl $HOME Have you made any manual changes to /etc/libvirt/qemu.conf?
Reproducible on clean installation of F15, will provide requested info soon.
Thanks, I'll just re-set the NEEDINFO flag until all the info is provided.
$ getfacl $HOME getfacl: Removing leading '/' from absolute path names # file: home/rmarko # owner: rmarko # group: rmarko user::rwx group::--- other::---
Created attachment 514571 [details] ls -l $HOME
Hmm, how about ls -ld $HOME ls -ld $HOME/.virtinst
$ ls -ld $HOME drwx------. 55 rmarko rmarko 4096 Jul 22 10:35 /home/rmarko $ ls -ld $HOME/.virtinst drwxr-x--x 3 rmarko rmarko 4096 Jul 20 12:50 /home/rmarko/.virtinst
Okay, I understand the problem now. Unlike virt-manager, virt-install doesn't prompt the user about changing permissions on their home dir to allow access for URL installs. F16 solves this problem by uploading the downloaded kernel/initrd to /var/lib/libvirt/boot, avoiding any need to change home permissions. To work around this for now, you can chmod 711 $HOME && chmod 711 $HOME/.virtinst && chmod 711 $HOME/.virtinst/boot
This is fixed in f16/upstream, since virt-install now uploads the kernel/initrd to the preferred libvirt location until /var/lib/libvirt. However this requires a recent version of libvirt that won't be rebased to F15, so getting this fixed in Fedora 15 is unlikely. The workaround in comment #9 should still work. So this is WONTFIX for f15, sorry.