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

Christophe Fergeau cfergeau at redhat.com
Tue Oct 23 10:09:42 UTC 2012


On Mon, Oct 22, 2012 at 02:59:14PM -0600, Eric Blake wrote:
> 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.

Pushed.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121023/ab7a139b/attachment-0001.sig>


More information about the libvir-list mailing list