[libvirt] RFC: viridentitytest Failure on CentOS 6.5?

Eric Blake eblake at redhat.com
Wed Apr 2 11:40:10 UTC 2014


On 04/02/2014 02:55 AM, Jincheng Miao wrote:

> 
> Sorry, this is not root cause of this problem: no
> libsecurityselinuxhelper.so generated.
> The macro HAVE_SELINUX_LXC_CONTEXTS_PATH can handle this no
> selinux_lxc_contexts_path problem.
> 
> Then I checked the tests/Makefile.am:
>  936 if WITH_SECDRIVER_SELINUX
>  937 if WITH_ATTR
>  938 if WITH_TESTS
>  939 noinst_LTLIBRARIES += libsecurityselinuxhelper.la
>  940 else ! WITH_TESTS
>  941 check_LTLIBRARIES += libsecurityselinuxhelper.la
>  942 endif ! WITH_TESTS
> 
> The libsecurityselinuxhelper.la is surrounded by the macro WITH_ATTR,
> so if there is no WITH_ATTR defined, libsecurityselinuxhelper.so will
> not be created.
> 
> The ad-hoc solution is install libattr-devel, and re-configure.

Thanks for analyzing this; looks like there's definitely some patches
needed to tests/Makefile.am.  It's on my todo list, although I'm not
going to be upset if someone beats me to it.

-- 
Eric Blake   eblake 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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140402/972ebbfd/attachment-0001.sig>


More information about the libvir-list mailing list