[libvirt] [PATCH 1/2] selinux: fix wrong tapfd relablling

Eric Blake eblake at redhat.com
Wed Oct 17 03:57:31 UTC 2012


On 10/16/2012 09:32 PM, Guannan Ren wrote:

In the subject: s/relablling/relabeling/

> It should relabel tapfd of virtual network of type VIR_DOMAIN_NET_TYPE_DIRECT
> rather than VIR_DOMAIN_NET_TYPE_NETWORK and VIR_DOMAIN_NET_TYPE_BRIDGE
> (commit ae368ebfcc4923d0b32e83d4ca96a6f599625785 introduced this bug)
> ---
>  src/qemu/qemu_command.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Tested, and fixed the breakage I saw earlier today when running with
SELinux enabled.

ACK.

However, I might add a word of caution in the commit message alerting
anyone trying to do a backport of this patch to be extremely cautious of
where the patch gets applied, as the context of the two hunks is
identical other than indentation.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121016/5a16e492/attachment-0001.sig>


More information about the libvir-list mailing list