From 91e7c02b03165f8ad9241f4a506b04764b133ccb Mon Sep 17 00:00:00 2001 From: tmraz Date: May 12 2006 12:21:07 +0000 Subject: - added crond to the services restarted after firstboot (#187334) - when checking nscd status redirect output to /dev/null (#188555) --- diff --git a/authconfig.spec.in b/authconfig.spec.in index 478e073..d662655 100644 --- a/authconfig.spec.in +++ b/authconfig.spec.in @@ -94,7 +94,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/* %changelog +* Fri May 12 2006 Tomas Mraz - 5.2.4-1 - added crond to the services restarted after firstboot (#187334) +- when checking nscd status redirect output to /dev/null (#188555) * Tue Mar 21 2006 Tomas Mraz - 5.2.3-1 - make smb.conf and krb5.conf loading more robust (#185766) diff --git a/authinfo.py b/authinfo.py index 8c16c67..1e0d3b2 100644 --- a/authinfo.py +++ b/authinfo.py @@ -986,8 +986,8 @@ class AuthInfo: # Read whether or not caching is enabled. def readCache(self): - self.enableCache = os.spawnlp(os.P_WAIT, "/sbin/chkconfig", - "chkconfig", "nscd") == 0 + rv = os.system("/sbin/chkconfig nscd >/dev/null 2>&1") + self.enableCache = os.WIFEXITED(rv) and os.WEXITSTATUS(rv) == 0 return True # Read hints from the PAM control file. diff --git a/configure.in b/configure.in index c4437d9..00df770 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -AC_INIT(authconfig,5.2.3) +AC_INIT(authconfig,5.2.4) AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip]) AC_PREFIX_DEFAULT(/usr) AC_PROG_CC