From c0138fa7e7a9fbd67e985e548e24270bf9a4434c Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 5 Aug 2015 17:04:47 +0200 Subject: [PATCH] contrib/rpm: compile audit support but disable by default The default SELinux policy on current RHEL and Fedora distributions does not allow for NetworkManager to use audit. Hence, unless the user changes the SELinux policy it will not work. Disable auditing by default, but have it compiled so that the user can enable it via "NetworkManager.conf". --- contrib/fedora/rpm/NetworkManager.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 2d9618dfdb..4e4df5475e 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -380,7 +380,7 @@ by nm-connection-editor and nm-applet in a non-graphical environment. --with-crypto=nss \ --enable-more-warnings=error \ --enable-ppp=yes \ - --with-libaudit=yes \ + --with-libaudit=yes-disabled-by-default \ %if 0%{?with_modem_manager_1} --with-modem-manager-1=yes \ %else