chiark / gitweb /
main: disable NSS disabling logic for now, since this is incompatible with rpm
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Jul 2010 23:29:21 +0000 (01:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jul 2010 23:29:21 +0000 (01:29 +0200)
src/main.c
src/missing.h

index 964bb9cc325f8bac2cb1fd4d9e0ba58c33e9a8b7..e67d2225bd41d029580948e9046ec8d49115b1a7 100644 (file)
@@ -940,11 +940,11 @@ int main(int argc, char *argv[]) {
 
                 /* Disable nscd, to avoid deadlocks when systemd uses
                  * NSS and the nscd socket is maintained by us. */
-                if (nss_disable_nscd) {
-                        log_debug("Disabling nscd");
-                        nss_disable_nscd();
-                } else
-                        log_debug("Hmm, can't disable nscd.");
+                /* if (nss_disable_nscd) { */
+                /*         log_debug("Disabling nscd"); */
+                /*         nss_disable_nscd(); */
+                /* } else */
+                /*         log_debug("Hmm, can't disable nscd."); */
 
                 if (!serialization) {
                         if (arg_show_status)
index 003c821f8490b018be22b0dc65c6adae72397970..5914b01a8eeb377e272c4ef75659288bd6193083 100644 (file)
@@ -61,6 +61,6 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
  * protect this with a weak ref just in case glibc takes this away
  * from us. */
 
-static void nss_disable_nscd(void) _weakref_(__nss_disable_nscd);
+/* static void nss_disable_nscd(void) _weakref_(__nss_disable_nscd); */
 
 #endif