[libvirt] [PATCH] security: Do not restore kernel and initrd labels
Justin Clift
justin at postgresql.org
Fri Jan 15 10:44:30 UTC 2016
On 15 Jan 2016, at 10:31, Jiri Denemark <jdenemar at redhat.com> wrote:
> On Fri, Jan 15, 2016 at 10:23:03 +0000, Daniel P. Berrange wrote:
>> On Fri, Jan 15, 2016 at 11:11:18AM +0100, Jiri Denemark wrote:
>>> Kernel/initrd files are essentially read-only shareable images and thus
>>> should be handled in the same way. We already use the appropriate label
>>> for kernel/initrd files when starting a domain, but when a domain gets
>>> destroyed we would remove the labels which would make other running
>>> domains using the same files very unhappy.
>>>
>>> https://bugzilla.redhat.com/show_bug.cgi?id=921135
>>>
>>> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>>
>> ACK
>
> Thanks, I pushed the patch.
>
>> but I'm wondering if the nvram and dtb lines before & after would
>> potentially suffer the same problem
>
> Yeah, I was wondering about that too, but I wasn't quite sure whether
> they are similar or not.
Could Rich's test be tweaked some way in order to find out?
+ Justin
More information about the libvir-list
mailing list