[libvirt] [PATCH] Solaris least privilege support

John Levon john.levon at sun.com
Fri Jan 16 12:59:59 UTC 2009


On Fri, Jan 16, 2009 at 08:35:16AM +0100, Daniel Veillard wrote:

>   The comment and the code don't seems to match, and it seems to me

Oops, will fix the comment.

> that this code would fail except in the first time the daemon is
> launched because mkdir /var/run/libvirt will return -1 and errno EEXIST
> in all following cases. I'm worried about this,

What do you mean? /var/run is a tmpfs on Solaris so must mkdir after
every reboot.

regards
john




More information about the libvir-list mailing list