On 06/26/2014 10:09 AM, Ján Tomko wrote:
On 06/26/2014 03:56 PM, Scott Sullivan wrote:
> 1) Labelling "disks" ...
> internal error: File
> /home/rpmbuild/packages/libvirt/tests/securityselinuxlabeldata/plain.raw
> context 'EOPNOTSUPP' did not match epected
> 'system_u:object_r:svirt_image_t:s0:c41,c264'
> libvirt: error : internal error: File
> /home/rpmbuild/packages/libvirt/tests/securityselinuxlabeldata/plain.raw
> context 'EOPNOTSUPP' did not match epected
> 'system_u:object_r:svirt_image_t:s0:c41,c264'
> FAILED
> 2) Labelling "kernel" ...
> internal error: File
> /home/rpmbuild/packages/libvirt/tests/securityselinuxlabeldata/vmlinuz.raw
> context 'EOPNOTSUPP' did not match epected
'system_u:object_r:virt_content_t:s0'
> libvirt: error : internal error: File
> /home/rpmbuild/packages/libvirt/tests/securityselinuxlabeldata/vmlinuz.raw
> context 'EOPNOTSUPP' did not match epected
'system_u:object_r:virt_content_t:s0'
> FAILED
> 3) Labelling "chardev" ...
> internal error: File
> /home/rpmbuild/packages/libvirt/tests/securityselinuxlabeldata/plain.txt
> context 'EOPNOTSUPP' did not match epected
> 'system_u:object_r:svirt_image_t:s0:c41,c264'
> libvirt: error : internal error: File
> /home/rpmbuild/packages/libvirt/tests/securityselinuxlabeldata/plain.txt
> context 'EOPNOTSUPP' did not match epected
> 'system_u:object_r:svirt_image_t:s0:c41,c264'
> FAILED
> 4) Labelling "nfs" ...
OK
> FAIL: securityselinuxlabeltest
There was a patch skipping the test if setting xattrs is not supported, but
it's not merged yet:
https://www.redhat.com/archives/libvir-list/2014-June/msg00402.html
Jan
Jan,
Thanks for this. I've applied the patch and it has solved my issues.
Thanks again.