Frederic Crozat
7461df530d
=> disable-nss-myhostname-warning-bnc-783841.diff - disable nss-myhostname warning (bnc#783841) => disable-nss-myhostname-warning-bnc-783841.diff OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=346
22 lines
720 B
Diff
22 lines
720 B
Diff
From 33db05b6bd6151c482f5efe01f2a6118efc82fde Mon Sep 17 00:00:00 2001
|
|
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
Date: Tue, 12 Feb 2013 17:24:35 +0100
|
|
Subject: [PATCH] disable nss-myhostname warning (bnc#783841)
|
|
|
|
---
|
|
src/hostname/hostnamed.c | 1 +
|
|
1 Datei geändert, 1 Zeile hinzugefügt(+)
|
|
|
|
Index: systemd-195/src/hostname/hostnamed.c
|
|
===================================================================
|
|
--- systemd-195.orig/src/hostname/hostnamed.c
|
|
+++ systemd-195/src/hostname/hostnamed.c
|
|
@@ -124,6 +124,7 @@ static int read_data(void) {
|
|
static bool check_nss(void) {
|
|
|
|
void *dl;
|
|
+ return true;
|
|
|
|
if ((dl = dlopen("libnss_myhostname.so.2", RTLD_LAZY))) {
|
|
dlclose(dl);
|