[libvirt] Weird permissions error

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

 



-----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@xxxxxxxxxx> : 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-----
begin:vcard
fn:Darryl Pierce
n:Pierce;Darryl
org:Red Hat, Inc.;Engineering
adr:;;1801 Varsity Drive;Raleigh;NC;27606;United States of America
email;internet:dpierce@xxxxxxxxxx
title:Sr. Software Engineer
tel;work:919 754-4383
tel;cell:919 274-1770
x-mozilla-html:FALSE
url:http://www.redhat.com/
version:2.1
end:vcard

--
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]