[libvirt] [PATCH] Generate a valid imagelabel even for type 'none'
Ján Tomko
jtomko at redhat.com
Wed Feb 5 19:07:26 UTC 2014
On 02/05/2014 07:54 PM, Eric Blake wrote:
> On 02/05/2014 11:47 AM, Ján Tomko wrote:
>> Commit 2ce63c1 added imagelabel generation when relabeling is turned
>> off. But we weren't filling out the sensitivity for type 'none' labels,
>> resulting in an invalid label:
>>
>> $ virsh managedsave domain
>> error: unable to set security context 'system_u:object_r:svirt_image_t'
>> on fd 28: Invalid argument
>> ---
>> src/security/security_selinux.c | 9 ++++++++-
>> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> ACK.
>
Thanks, pushed.
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140205/33eb076f/attachment-0001.sig>
More information about the libvir-list
mailing list