search for: unix_sock_group

Displaying 17 results from an estimated 17 matches for "unix_sock_group".

2012 Jun 22
1
unable to creating/list storage pools using non-root user
...ed I have defined pool called virt-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...
2013 Sep 09
2
Re: Problems with user namespaces
I applied your patch, but no success. What bothers me is that connection gets reseted. By the way, i'm using systemd, with process started in forking mode and as daemon. Could this cause any problems? This is my libvirtd.conf, if it helps anything: unix_sock_group = "libvirtd" unix_sock_rw_perms = "0770" auth_unix_ro = "none" auth_unix_rw = "none" Can you please tell me easy to setup distro with systemd that user namespaces work, so i can compare. Thanks! On Mon, Sep 9, 2013 at 3:08 AM, Gao feng <gaofeng@cn.fuji...
2014 Oct 27
0
How could the admin do to grant me with permission to run virsh as unprivileged user?
Thank you! How could the admin do to grant me with permission to run virsh as unprivileged user? Also by configurating libvirtd.conf, unix_sock_group? 2014-10-28 Allen Qiu 发件人:libvirt-users-request@redhat.com 发送时间:2014-10-28 00:00 主题:libvirt-users Digest, Vol 58, Issue 33 收件人:"libvirt-users"<libvirt-users@redhat.com> 抄送: Send libvirt-users mailing list submissions to libvirt-users@redhat.com To subscribe or unsubs...
2008 Feb 22
0
virt-manager on RH AS 5.1
...: [root@xen-7 ~]# rpm -qa | grep virt 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 ?...
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 Apr 24
1
Non-Root not able to use openReadOnly()
...t.openReadOnly(None) print con.listDomainsID() When i run the above code using root i get the proper output... but when i use non-root user it givers be a empty list [ ] If i change the 2nd line to con = libvirt.open(qemu:///system) It works. I am using RHEL 6.1 with default kvm and libvirt. unix_sock_group = "virt" in libvirtd.conf where virt is a group of non-root user group = "virt" in qemu.conf is set. Any Ideas???? -- Thanks Vipul Borikar "Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whol...
2012 Aug 07
0
Authentication via SASL and LDAP?
.../ ) for users to manage machines via a web interface. This requires access to the host using qemu+tcp, which I have configured as follows: /etc/default/libvirt-bin: start_libvirtd="yes" libvirtd_opts="-d -l" /etc/libvirt/libvirtd.conf: listen_tls = 0 listen_tcp = 1 unix_sock_group = "libvirtd" unix_sock_rw_perms = "0770" auth_unix_ro = "none" auth_unix_rw = "none" auth_tcp = "sasl" The libvirt documentation ( http://libvirt.org/auth.html ) does not specify if it is possible to use SASL with a different authentication m...
2012 Nov 06
1
Failed to bind socket to '/var/run/libvirt/libvirt-sock': Permission denied
...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...
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_wor...
2014 Mar 28
0
Facing some error when restarting the libvirtd.
...installed libvirt-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+0...
2013 Aug 16
0
RHEV hosts
Hi, I have couple of RHEV hosts (ovpxen,RHV2, RHV10 etc) and i'm trying to connect from one of the client machine (C1). All the RHEV host have libvirt modified by vdsm. It looks like the below ## beginning of configuration section by vdsm-4.10.2 listen_addr="0.0.0.0" unix_sock_group="kvm" unix_sock_rw_perms="0770" auth_unix_rw="sasl" host_uuid="036118ab-705f-4aeb-9a13-013dc8af6b41" keepalive_interval=-1 log_outputs="1:file:/var/log/libvirtd.log" log_filters="3:virobject 3:virfile 2:virnetlink 3:cgroup 3:event 3:json 1:libv...
2013 Sep 09
0
Re: Problems with user namespaces
...l.com>wrote: > I applied your patch, but no success. What bothers me is that connection > gets reseted. By the way, i'm using systemd, with process started in > forking mode and as daemon. Could this cause any problems? > > This is my libvirtd.conf, if it helps anything: > unix_sock_group = "libvirtd" > unix_sock_rw_perms = "0770" > auth_unix_ro = "none" > auth_unix_rw = "none" > > Can you please tell me easy to setup distro with systemd that user > namespaces work, so i can compare. > > Thanks! > > > On Mon, S...
2012 Apr 12
0
Live migration of instance using KVM hypervisor fails
...Permission denied SIOCSIFFLAGS: Permission denied SIOCSIFFLAGS: Permission denied /etc/qemu-ifdown: could not launch network script Libvirt version on both hosts: $ libvirtd --version libvirtd (libvirt) 0.9.2 $ virsh --version 0.9.2 Here are my libvirtd.conf details: listen_tls = 0 listen_tcp = 1 unix_sock_group = "libvirtd" unix_sock_rw_perms = "0770" auth_unix_ro = "none" auth_unix_rw = "none" auth_tcp = "none" Would be great if someone can point out the issue here. Note: I have disable apparmor for libvirtd profile and am able to list the instances run...
2014 Oct 27
2
What is the difference between running "virt-manager" and "sudo virt-manager"?
Hi all, What is the difference between starting virt-manager by "virt-manager" and by "sudo virt-manager"? It seems that there are two copy of virt-manager running in the background. When I run "virt-manager", I got a error of "Unable to open a connection to the libvirt management daemon. Libvirt URI is: qemu:///system Verify that: - The 'libvirtd'
2010 Mar 10
2
unable to get domain status from libvirt & KVM
I have a python script that monitors the VMs on physical host servers running Xen, but the script doesn't work properly on a server I just built with KVM. The script runs as a non-root user and simply gathers some details on the status and names of the domains running on the host. Both Xen and KVM servers are running the same version of libvirt (libvirt-0.6.3-20.1.el5_4) and have the
2010 Mar 11
2
unable to get domain status from libvirt & KVM
I have a python script that monitors the VMs on physical host servers running Xen, but the script doesn't work properly on a server I just built with KVM. The script runs as a non-root user (same on all servers) and simply gathers some details on the status and names of the domains running on the host. Both Xen and KVM servers are running the same version of libvirt
2013 Sep 06
3
Re: Problems with user namespaces
Hello! Okay i tried again with only staticly linked busybox: offlinehacker:~/ $ /home/offlinehacker/busybox/busybox BusyBox v1.17.1 (Debian 1:1.17.1-8) multi-call binary. Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko and others. Licensed under GPLv2. See source distribution for full notice. .... Again my id: uid=499(offlinehacker) gid=100(users)