[SOLVED] KVM - virtual machine manager

Kernels & Hardware, configuring network, installing services

[SOLVED] KVM - virtual machine manager

Postby d33p » 2017-03-08 04:03

Hello there!

I had some problem to use virtualbox on my Debian (kernel 4.9 & virtualbox 5.1.8-dfsg-6~bpo8+2)
-> http://git.net/ml/general/2017-02/msg01206.html
But it seems normal... :D

So, after talk with someone from Debian world, he put me on the way to try KVM. Thing I've done, but this is what I get when I try to launch volume:
http://www.hostingpics.net/viewer.php?i ... reen19.png
&
http://www.hostingpics.net/viewer.php?i ... reen20.png

I configure KVM to use another directory than the default directory because no more space on my system SSD, I configure it to use SSD usb disk.
On this usb SSD, I've already done a CHOWN my user, a CHMOD with 777...
A command found on the internet : sudo setfacl -R -m u:libvirt-qemu:rwx /media/jc/deb_vm

But same result.-..

Did someone has some idea?

many thanks

d33p
Last edited by d33p on 2017-03-08 16:58, edited 1 time in total.
Science sans conscience n'est que ruine de l'âme...
Science without conscience is but the ruin of the soul...
François Rabelais.
PS: Rabelais, excuse me for the translation! :P
User avatar
d33p
 
Posts: 29
Joined: 2015-12-01 01:58

Re: KVM - virtual machine manager

Postby gradinaruvasile » 2017-03-08 07:35

Determine the user needed then do a

Code: Select all
sudo -u username ls -al /path/file


To see if that user can access that file. Note that for this all directories need to permit traversal access.
User avatar
gradinaruvasile
 
Posts: 918
Joined: 2010-01-31 22:03
Location: Cluj, Romania

Re: KVM - virtual machine manager

Postby d33p » 2017-03-08 08:54

Hello,

thanks for your reply gradinaruvasile.
I will try your command when I will be near my computer.
But strange thing is that I run CHMOD 777 with -R, normally "everyone" has access with this, no?

see you

d33p
Science sans conscience n'est que ruine de l'âme...
Science without conscience is but the ruin of the soul...
François Rabelais.
PS: Rabelais, excuse me for the translation! :P
User avatar
d33p
 
Posts: 29
Joined: 2015-12-01 01:58

Re: KVM - virtual machine manager

Postby gradinaruvasile » 2017-03-08 09:50

virt-manager (actually libvirt for which virt-manager is a graphical frontend) by default wants ownership of the images. So it is not enough to be able to access it you will have to change ownership.
One way to sidestep this is to run libvirt as root and set dynamic_ownership = 0 in /etc/libvirt/qemu.conf and restart the libvirt service.
User avatar
gradinaruvasile
 
Posts: 918
Joined: 2010-01-31 22:03
Location: Cluj, Romania

Re: KVM - virtual machine manager

Postby d33p » 2017-03-08 11:43

ok, thank you.
I will try this evening

see you

d33p
Science sans conscience n'est que ruine de l'âme...
Science without conscience is but the ruin of the soul...
François Rabelais.
PS: Rabelais, excuse me for the translation! :P
User avatar
d33p
 
Posts: 29
Joined: 2015-12-01 01:58

Re: KVM - virtual machine manager

Postby d33p » 2017-03-08 16:58

hello again,

One guy from another forum on the internet suggest me to test every path right before the vdi file.
I try that and in fact, it work.
Here, rights were ok /media/jc/deb_vm/fedora25/fedora25.vdi
but not here /media/jc/
It is strange, I do not understand why...

thanks for all

d33p
Science sans conscience n'est que ruine de l'âme...
Science without conscience is but the ruin of the soul...
François Rabelais.
PS: Rabelais, excuse me for the translation! :P
User avatar
d33p
 
Posts: 29
Joined: 2015-12-01 01:58


Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable