Blame SOURCES/glibc-rh700507.patch

4999bf
Index: glibc-2.12-2-gc4ccff1/nscd/nscd.c
4999bf
===================================================================
4999bf
--- glibc-2.12-2-gc4ccff1.orig/nscd/nscd.c
4999bf
+++ glibc-2.12-2-gc4ccff1/nscd/nscd.c
4999bf
@@ -260,10 +260,6 @@ main (int argc, char **argv)
4999bf
     /* In foreground mode we are not paranoid.  */
4999bf
     paranoia = 0;
4999bf
 
4999bf
-  /* Start the SELinux AVC.  */
4999bf
-  if (selinux_enabled)
4999bf
-    nscd_avc_init ();
4999bf
-
4999bf
   signal (SIGINT, termination_handler);
4999bf
   signal (SIGQUIT, termination_handler);
4999bf
   signal (SIGTERM, termination_handler);
4999bf
@@ -278,6 +274,10 @@ main (int argc, char **argv)
4999bf
   /* Init databases.  */
4999bf
   nscd_init ();
4999bf
 
4999bf
+  /* Start the SELinux AVC.  */
4999bf
+  if (selinux_enabled)
4999bf
+    nscd_avc_init ();
4999bf
+
4999bf
   /* Handle incoming requests */
4999bf
   start_threads ();
4999bf