Re: virtmanager and selinux -- solved

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



On Tue, 12 Apr 2011, Negative wrote:

> On Tue, Apr 12, 2011 at 7:17 PM, Negative <negativebinomial@xxxxxxxxx>wrote:
>
>> I built a new VM under KVM today and I've been getting  a slew of message
>> that selinux is blocking virtmanager from reading the new image. This
>> doesn't seem to be doing any harm, but I wanted to check whether I should
>> simply run chcon on the image (if I can).
>>
>> Virtmanager show up as usr_t, as do my other vm images, but the new one is
>> svirt_image_t.
>>
>> The selinux error says it denied a read access to virtmanager but that it
>> is not expected that the access is required.
>>
>> I tried running restorecon as root, as suggested by the selinux error, but
>> I'm getting a permission-denied error there. (It tries to set the context to
>> usr_t)
>
> My bad. I had to shut down the vm and quit virtmanager before I could run
> chcon. It's ok now.

Thanks for answering your own question. It's actually better than not 
asking the question ;-)

-- 
-- dag wieers, dag@xxxxxxxxxx, http://dag.wieers.com/
-- dagit linux solutions, info@xxxxxxxxx, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux