Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] KVM - virtual machine manager

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
d33p
Posts: 29
Joined: 2015-12-01 01:58

[SOLVED] KVM - virtual machine manager

#1 Post by d33p »

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
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: KVM - virtual machine manager

#2 Post by gradinaruvasile »

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
d33p
Posts: 29
Joined: 2015-12-01 01:58

Re: KVM - virtual machine manager

#3 Post by d33p »

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
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

Re: KVM - virtual machine manager

#4 Post by gradinaruvasile »

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
d33p
Posts: 29
Joined: 2015-12-01 01:58

Re: KVM - virtual machine manager

#5 Post by d33p »

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

#6 Post by d33p »

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

Post Reply