On Tue, Mar 06, 2018 at 07:53:03PM +0100, Olaf Hering wrote:
AC_PATH_PROG searches either for a binary [pkcheck], or it uses the
user provided absolute path in the variable PKCHECK_PATH.
Since virt-polkit.m4 wipes the variable PKCHECK_PATH from environment
the user decision is never used.


All that we need to compile in polkit suport is libdbus,
we should not be checking for this binary at all.

I'm working on a patch.

Jan

Signed-off-by: Olaf Hering <o...@aepfle.de>

--- a/m4/virt-polkit.m4
+++ b/m4/virt-polkit.m4
@@ -28,7 +28,6 @@ AC_DEFUN([LIBVIRT_CHECK_POLKIT], [
  POLKIT_REQUIRED="0.6"
  POLKIT_CFLAGS=
  POLKIT_LIBS=
-  PKCHECK_PATH=

  with_polkit0=no
  with_polkit1=no

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

Attachment: signature.asc
Description: Digital signature

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

Reply via email to