Displaying 7 results from an estimated 7 matches for "unix_sock_ro_perms".
2011 Apr 26
1
Listing machines as non-root user
...software on top of xen 4
(debian squeeze). The problem is that unix user "eucalyptus" cannot see vm
machines when it executes "virsh list". My libvirt version is 0.8.8-3 from
debian sid repository. The same
problem occurs with older versions.
What is more I have tried to change unix_sock_ro_perms to "2777". After
libvirt restart it started to work. Even when I reverted this change it was
still working. Unfortunately after server restart virsh still does not work
(I am not sure but I cannot restart my production servers right now).
Everything is fine when I run virsh as root. I ha...
2012 Jun 22
1
unable to creating/list storage pools using non-root user
...-images (/virt-images) which the non-root
(in this case the username is Juno) user has the read/write permissions
Also tried adding the permissions to unix socket in
/etc/libvirt/libvirtd.conf as below:
cat /etc/libvirt/libvirtd.conf | grep -v ^$ | grep -v ^#
unix_sock_group = "virt"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0770"
unix_sock_dir = "/var/run/libvirt"
But the unix socket are created in /var/run/libvirt and not in users home
directory, So how do we make a non-root user virsh commands check the
socket created in /var/run/libvirt. It always checks...
2008 Feb 22
0
virt-manager on RH AS 5.1
...libvirt-0.2.3-9.el5
libvirt-python-0.2.3-9.el5
virt-manager-0.4.0-3.el5
python-virtinst-0.103.0-3.el5_1.1
# egrep -v ''(^#|^$)'' /etc/libvirt/libvirtd.conf
listen_tls = 1
listen_tcp = 1
tls_port = "16514"
tcp_port = "16509"
unix_sock_group = "libvirtd"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0770"
auth_unix_ro = "none"
auth_unix_rw = "none"
# ps -ef | grep libvirt
root 31142 1 0 17:29 ? 00:00:00 libvirt_qemud --system
--daemon
nobody 31167 31142 0 17:29 ? 00:00:00 dnsmasq
--keep-in-foregro...
2012 Mar 19
3
manage VM without root access?
hi,
with libvirt, is it possible to manage VMs (using virsh, for e.g)
without root access?
if that is possible, how can i do that?
many thanks,
Jun
2012 Nov 06
1
Failed to bind socket to '/var/run/libvirt/libvirt-sock': Permission denied
...I have removed some requested comments in libvirtd.conf. The key settings are shown as below: listen_tcp = 1 tcp_port = "16509" listen_addr = "0.0.0.0" unix_sock_group = "root" unix_sock_rw_perms = "0770" unix_sock_ro_perms = "0777" unix_sock_dir = "/var/run/libvirt" Is there any thing wrong? Need I start libvirtd by root?
Thanks a lot!
Best Regards!Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <...
2012 Nov 16
0
authentication failed, but why?
I set the me into the group libvirt and write the config for libvirtd:
==================================================
listen_tls = 0
listen_tcp = 0
auth_tcp = "none"
mdns_adv = 0
unix_sock_group = "libvirt"
unix_sock_ro_perms = "0770"
unix_sock_rw_perms = "0770"
unix_sock_dir = "/var/run/libvirt"
log_filters = "1:libvirt 1:util 1:qemu"
log_output = "1:file:/var/log/libvirt/libvirtd.log"
max_clients = 500
min_workers = 10
max_workers = 50
max_requests = 50
max_client_re...
2014 Mar 28
0
Facing some error when restarting the libvirtd.
...rt-1.2.1 from the source with xen-4.3.1 and i am facing
the following error when restarting the libvirt.
Installation steps:
./autogen.sh --system --with-xen=yes --with-libxl=yes
make
make install
and in the libvirtd.conf i enabled the following things
auth_unix_ro
auth_unix_rw
unix_sock_group
unix_sock_ro_perms
unix_sock_rw_perms
unix_sock_dir
and libvirt logs
when running the following commands i got error message in libvirtd.log
tools/libvirtd -f /etc/libvirt/libvirtd.conf -d
Error message:
2014-03-28 12:44:59.480+0000: 20024: info : libvirt version: 1.2.2
2014-03-28 12:44:59.480+0000: 20024: error :...