Blame SOURCES/glibc-rh700507.patch

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