Re: [Libvir] new ruby error handling

2008-04-14 Thread Richard W.M. Jones
On Sun, Apr 13, 2008 at 08:13:51PM -0700, Vadim Zaliva wrote: I guess my main complaint is that in some cases message is not a coherent English phrase, something I can show to users. So I would prefer to have Error during call to XXX instead of just XXX. [Not a direct answer about the Ruby

[libvir] [PATCH] Bad permissions on /var/run/libvirt/

2008-04-14 Thread Anton Protopopov
Hi, Non-root can't use /var/run/libvirt/libvirt-sock even in the case unix_sock_group and unix_sock_rw_perms are set properly. The reason: # ls -l /var/run /var/run/libvirt | grep libvirt | grep -v pid drwx-- 2 root root 4096 Apr 14 19:14 libvirt srwxrwx--- 1 root libvirt 0 Apr 14

Re: [Libvir] crash on domain shutdown (via ruby)

2008-04-14 Thread Vadim Zaliva
On Apr 11, 2008, at 16:55, David Lutterkort wrote: Try commenting the call to virResetError in _libvirt.c in the ruby bindings out entirely, and see if you still get a crash. Yes, that helped. Do you plan to fix in in mercurial soon? Vadim -- La perfection est atteinte non quand il ne

Re: [Libvir] crash on domain shutdown (via ruby)

2008-04-14 Thread David Lutterkort
On Mon, 2008-04-14 at 11:04 -0700, Vadim Zaliva wrote: On Apr 11, 2008, at 16:55, David Lutterkort wrote: Try commenting the call to virResetError in _libvirt.c in the ruby bindings out entirely, and see if you still get a crash. Yes, that helped. Do you plan to fix in in mercurial