contrib/rpm: compile audit support but disable by default
authorThomas Haller <thaller@redhat.com>
Wed, 5 Aug 2015 15:04:47 +0000 (17:04 +0200)
committerThomas Haller <thaller@redhat.com>
Wed, 5 Aug 2015 15:05:01 +0000 (17:05 +0200)
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

index 2d9618d..4e4df54 100644 (file)
@@ -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