[libvirt] Weird permissions error

Darryl Pierce dpierce at redhat.com
Mon Nov 10 22:05:57 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a startup script that runs a second script to do some work on the
system. This second script calls:

virsh -c qemu:///system --readonly nodeinfo

and then scrapes from that the amount of free memory.

When I run this from my init script, I get:

libvir: Remote error : unable to connect to
'/var/run/libvirt/libvirt-sock-ro': Permission denied

But if I run the second script itself directly (outside of the init
script) it works correctly.

Any ideas?

- --
Darryl L. Pierce <dpierce at redhat.com> : GPG KEYID: 6C4E7F1B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkYsEEACgkQjaT4DmxOfxuwzACgzYNQ7ku5P0YGr4jdHaDzf6Pq
MicAoJ5nB7e+TSwE2Vfd9YrCgiahKXwo
=01FA
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpierce.vcf
Type: text/x-vcard
Size: 319 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081110/a0150ad3/attachment-0001.vcf>


More information about the libvir-list mailing list