summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-08-05 17:04:47 +0200
committerThomas Haller <thaller@redhat.com>2015-08-05 17:05:01 +0200
commitc0138fa7e7a9fbd67e985e548e24270bf9a4434c (patch)
tree8ae0e2beb41cabd0be31e5ce73986a6858925a17
parent97ec44f5935532e677c843514b7417bea7eb5f95 (diff)
downloadNetworkManager-c0138fa7e7a9fbd67e985e548e24270bf9a4434c.tar.gz
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".
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec2
1 files changed, 1 insertions, 1 deletions
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