[libvirt] [PATCH] security: Do not restore kernel and initrd labels

Jiri Denemark jdenemar at redhat.com
Fri Jan 15 10:31:20 UTC 2016


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.

Jirka




More information about the libvir-list mailing list