public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Gerry Reno <greno@verizon.net>
To: kvm@vger.kernel.org
Subject: Re: After upgrading from  F7 kvm-65-15  to  F10 kvm-74-10
Date: Sun, 29 Mar 2009 19:56:41 -0400	[thread overview]
Message-ID: <49D00AB9.8040008@verizon.net> (raw)
In-Reply-To: <ufrvs4hr368g1s7lfobmnh98usvddhhl5e@4ax.com>

Ross McKay wrote:
> Gerry Reno wrote:
>
>   
>> [...]  After digging around awhile we finally figured 
>> out that we had to once again 'chcon -t virt_image_t  path_to_image' as 
>> we had done back when we first setup the VM's.  But what is the proper 
>> procedure so that we don't lose the selinux attributes on these image 
>> files?  [...]
>>     
>
> You need to tell selinux about paths that you have custom selinux
> contexts on if you want those contexts to persist. Something like
> (assuming /path/to/image is a folder):
>
> semanage fcontext -a -t virt_image_t "/path/to/image(/.*)?"
>
> That will add them to the selinux database, and a restorecon will
> preserve your changes (and reassert them if something else changes the
> contexts of the files, or if you move a file from another place into
> /path/to/image)
>   
Ok, thanks.  I'll run that command on all the image file directory trees.

Now if we can just get some guidance on all this console connection 
craziness maybe we can get back to normal running.


Regards,
Gerry


      reply	other threads:[~2009-03-29 23:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-29 16:15 After upgrading from F7 kvm-65-15 to F10 kvm-74-10 Gerry Reno
2009-03-29 21:47 ` Gerry Reno
2009-03-30  1:18   ` Gerry Reno
2009-03-30  3:08     ` Gerry Reno
2009-03-29 22:00 ` Ross McKay
2009-03-29 23:56   ` Gerry Reno [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49D00AB9.8040008@verizon.net \
    --to=greno@verizon.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox