[one-users] virsh permission problem over CentOS 6.2
Javier Fontan
jfontan at opennebula.org
Thu Feb 23 08:28:27 PST 2012
Thanks for the info!
Do you mind if we add this to the documentation?
On Tue, Feb 21, 2012 at 10:51 AM, jan horacek <jahor.jhr.cz at gmail.com> wrote:
> Hello,
>
>> [oneadmin at nubacesga-01-2 libvirt]$ virsh list
>> error: Failed to reconnect to the hypervisor
>> error: no valid connection
>> error: Failed to connect socket to
>> '@/srv/cloud/one/.libvirt/libvirt-sock': Connection refused
>
> there are more ways to solve it, the one is to disable PolicyKit but
> my preffered way is to have policy kit policy rule
> https://github.com/jhrcz/opennebula-tm-gfs2clvm/blob/master/etc-polkit-1-localauthority-50-local.d/50-org.libvirt.unix.manage-opennebula.pkla
>
> this makes it possible to run almost all operation under oneadmin user
> and have it cleanly integrated by default system configuration.
>
> Regards,
> J.Horacek (aka jahor / jhrcz)
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula
More information about the Users
mailing list