Re: RFC: viridentitytest Failure on CentOS 6.5?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]