LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File disable-nss-myhostname-warning-bnc-783841.patch of Package systemd (Project Base:System)

From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Tue, 12 Feb 2013 17:24:35 +0100
Subject: disable nss-myhostname warning (bnc#783841)

---
 src/hostname/hostnamed.c | 1 +
 1 file changed, 1 insertion(+)

--- systemd-206.orig/src/hostname/hostnamed.c
+++ systemd-206/src/hostname/hostnamed.c
@@ -134,6 +134,7 @@ static int read_data(void) {
 
 static bool check_nss(void) {
         void *dl;
+        return true;
 
         dl = dlopen("libnss_myhostname.so.2", RTLD_LAZY);
         if (dl) {