Virtual Box

Aldo Foot lunixer at gmail.com
Fri Mar 20 22:58:31 UTC 2009


On Fri, Mar 20, 2009 at 3:53 PM, Andras Simon <szajmi at gmail.com> wrote:
> On 3/20/09, Aldo Foot <lunixer at gmail.com> wrote:
>> On Fri, Mar 20, 2009 at 3:41 PM, Andras Simon <szajmi at gmail.com> wrote:
>>> On 3/20/09, Paul W. Frields <stickster at gmail.com> wrote:
>>>
>>>> To install from a CD or DVD ISO image that you have on your hard disk,
>>>> make sure you set its SELinux context properly:
>>>>
>>>>   su -c 'chcon -t virt_image_t /path/to/some-os-image.iso'
>>>
>>> Is this really needed? Last time I installed an OS in a VM (both KVM
>>> and VMWare) I didn't need any SELinux magic. But that was almost two
>>> years ago, maybe things have changed since.
>>>
>>> Andras
>> __
>>
>> I believe it's need if you put the ISOs and system images in a place
>> other than /var/lib/libvirt --I think that's the correct path.
>
> Well, I certainly put it elsewhere. Actually, it wouldn't occur to me
> to put _anything_ under /var.
>
> Andras

----
Exactly. And that's why SELinux needs to know where you put those images.

~af




More information about the users mailing list