[libvirt] [PATCHv2] Fix disabling of apparmor/selinux security drivers

Eric Blake eblake at redhat.com
Mon Oct 22 20:59:14 UTC 2012


On 10/22/2012 03:49 AM, Christophe Fergeau wrote:
> When using --without-$name --without-secdriver-$name with $name being
> selinux or apparmor, configure will fail saying that AppArmor/SELinux
> development package must be installed.
> This is caused by a small bug in --with-secdriver-$name handling in
> configure.ac which treats --without-secdriver-$name when $name as if the
> user had requested to enable $name when $name couldn't be detected on
> the system.
> 
> This commit also makes sure the detection checks for disabled
> secdrivers do not needlessly get run, especially as this could
> cause an error as well in --with-$name --without-secdriver-$name
> situations.
> ---
>  configure.ac | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

ACK.

-- 
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/20121022/17505211/attachment-0001.sig>


More information about the libvir-list mailing list