Re: Building on Solaris 11 Express

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/5/29 Richard Laager <rlaager@xxxxxxxxxx>:
> On Sun, 2011-05-29 at 12:34 +0200, Matthias Bolte wrote:
>> > So I tried building libvirt on Solaris 11 Express. The following
>> > outlines the trouble (and successes) I've had so far.
>>
>> I assume your building from up-to-date git here?
>
> I was using 0.9.1. I should switch to git.
>
>> '@//.libvirt/libvirt-sock' should actually look like this
>> '@/home/<username>/.libvirt/libvirt-sock' as you're running libvirtd
>> as non-root it tries to open a UNIX socket in the home directory of
>> the user starting it. This path is build via this pattern:
>>
>> Â @<home-directory>/.libvirt/libvirt-sock
>
> I was actually running it as root.
>
> Richard
>

That's even stranger. libvirtd uses geteuid() == 0 to detect if it's
running as root and acts upon that. It only tries to open a UNIX
socket in the user's home (what it does in your case) when it detects
non-root execution. Something is wrong here, but I've no clue what.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]