summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2013-12-20 15:34:43 -0500
committerJakub Hrozek <jhrozek@redhat.com>2014-02-19 12:28:33 +0100
commitb96988a35bfb5f6faf2e364ae966166398afeca3 (patch)
tree974885c1bdd5404b31d958bbfba3a59ea9c784ff
parent60df591b865831a71e93eb57f4c353c4555b66cf (diff)
downloadsssd-b96988a35bfb5f6faf2e364ae966166398afeca3.tar.gz
sssd-b96988a35bfb5f6faf2e364ae966166398afeca3.tar.xz
sssd-b96988a35bfb5f6faf2e364ae966166398afeca3.zip
BUILD: Build with journald support by default on Fedora
The journal provided by systemd gives us structured logging capabilities that we should be taking advantage of. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
-rw-r--r--contrib/fedora/bashrc_sssd1
-rw-r--r--contrib/sssd.spec.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/fedora/bashrc_sssd b/contrib/fedora/bashrc_sssd
index e2132ef7a..ccad5ddd1 100644
--- a/contrib/fedora/bashrc_sssd
+++ b/contrib/fedora/bashrc_sssd
@@ -44,6 +44,7 @@ alias fedconfig='../configure \
--enable-pammoddir=/$SSS_LIB/security \
--with-krb5-rcache-dir=/var/cache/krb5rcache \
--with-initscript=systemd \
+ --with-syslog=journald \
--with-test-dir=/dev/shm \
--enable-all-experimental-features \
--cache-file=/tmp/fedconfig.cache \
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 6bc2aa2a4..ec75b53a4 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -24,6 +24,7 @@
%if (0%{?use_systemd} == 1)
%global with_initscript --with-initscript=systemd --with-systemdunitdir=%{_unitdir}
+ %global with_syslog --with-syslog=journald
%else
%global with_initscript --with-initscript=sysv
%endif
@@ -421,6 +422,7 @@ autoreconf -ivf
--disable-rpath \
%{?with_ccache} \
%{with_initscript} \
+ %{?with_syslog} \
%{?with_cifs_utils_plugin_option} \
%{?experimental}