Dargor
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by Dargor
-
-
2 hours ago, Squid said:
The plugin is included in 6.9 beta22+ and should not be installed in those versions
Found it I would never have checked unless I changed hardware. Thx a lot!
-
Hey, thx for this great plugin! I have usb ports on separate groups but they have same pci.id. With your plugin i could easily passthrough one! Now i went to 6.9 because of the core temps update. Any chance you will update to be compatible with new unraid version?
Virsh as an other User
in VM Engine (KVM)
Posted
Hello all, i hope this is the right place to post this.
So before 6.9 beta 25 i was running this script at startup :
#!/bin/bash
chown "username":users /etc/ssh/"username".pubkeys
echo ""username" ALL=(root) NOPASSWD: /usr/sbin/virsh domstate *, /usr/sbin/virsh start *, /usr/sbin/virsh shutdown *">>/etc/sudoers.d/vmc
chmod 0440 /etc/sudoers.d/vmc
mkdir /home/"username"
this allowed me to run the virsh commands as the "username" user.
After updating to 6.9 beta 25 i noticed that it no longer works, in an attempt to debug this i tried this command:
sudo -u "username" virsh domstate "vmname" and i get the following error:
error: failed to connect to the hypervisor
error: Cannot create user runtime directory '/.cache/libvirt': Permission denied
is there something i can do to be able to run this command as this user again?
Thank you in advance for your time and sorry if this is not the correct place to post