Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   virtmanager and selinux -- solved (http://www.linux-archive.org/centos/513413-virtmanager-selinux-solved.html)

Dag Wieers 04-12-2011 11:54 PM

virtmanager and selinux -- solved
 
On Tue, 12 Apr 2011, Negative wrote:

> On Tue, Apr 12, 2011 at 7:17 PM, Negative <negativebinomial@gmail.com>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@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, info@dagit.net, http://dagit.net/

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


All times are GMT. The time now is 05:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.