diff --git a/disable-nss-myhostname-warning-bnc-783841.diff b/disable-nss-myhostname-warning-bnc-783841.diff new file mode 100644 index 0000000..2d08569 --- /dev/null +++ b/disable-nss-myhostname-warning-bnc-783841.diff @@ -0,0 +1,21 @@ +From 33db05b6bd6151c482f5efe01f2a6118efc82fde Mon Sep 17 00:00:00 2001 +From: Ludwig Nussel +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); diff --git a/systemd-mini.changes b/systemd-mini.changes index bb106d8..26c4bc9 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 15 13:05:19 UTC 2013 - lnussel@suse.de + +- disable nss-myhostname warning (bnc#783841) + => disable-nss-myhostname-warning-bnc-783841.diff + ------------------------------------------------------------------- Wed Feb 13 11:34:06 UTC 2013 - rmilasan@suse.com diff --git a/systemd-mini.spec b/systemd-mini.spec index 3370583..6208883 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -264,6 +264,8 @@ Patch124: systemd-fix-merge-ignore-dependencies.patch Patch125: journalctl-require-argument-for-priority # PATCH-FIX-UPSTREAM cryptsetup-accept-read-only.patch fcrozat@suse.com -- Accept read-only as well as readonly as parameters for crypttab Patch126: cryptsetup-accept-read-only.patch +# PATCH-FIX-OPENSUSE disable-nss-myhostname-warning-bnc-783841.diff lnussel@suse.de -- disable nss-myhostname warning (bnc#783841) +Patch127: disable-nss-myhostname-warning-bnc-783841.diff # udev patches # PATCH-FIX-OPENSUSE 1001-Reinstate-TIMEOUT-handling.patch @@ -495,6 +497,7 @@ cp %{SOURCE7} m4/ %patch1021 -p1 %patch1022 -p1 %patch1023 -p1 +%patch1024 -p1 #systemd %patch1 -p1 @@ -585,6 +588,7 @@ cp %{SOURCE7} m4/ %patch124 -p1 %patch125 -p1 %patch126 -p1 +%patch127 -p1 %build autoreconf -fiv diff --git a/systemd.changes b/systemd.changes index bb106d8..26c4bc9 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 15 13:05:19 UTC 2013 - lnussel@suse.de + +- disable nss-myhostname warning (bnc#783841) + => disable-nss-myhostname-warning-bnc-783841.diff + ------------------------------------------------------------------- Wed Feb 13 11:34:06 UTC 2013 - rmilasan@suse.com diff --git a/systemd.spec b/systemd.spec index 34bf7b7..a2d4638 100644 --- a/systemd.spec +++ b/systemd.spec @@ -259,6 +259,8 @@ Patch124: systemd-fix-merge-ignore-dependencies.patch Patch125: journalctl-require-argument-for-priority # PATCH-FIX-UPSTREAM cryptsetup-accept-read-only.patch fcrozat@suse.com -- Accept read-only as well as readonly as parameters for crypttab Patch126: cryptsetup-accept-read-only.patch +# PATCH-FIX-OPENSUSE disable-nss-myhostname-warning-bnc-783841.diff lnussel@suse.de -- disable nss-myhostname warning (bnc#783841) +Patch127: disable-nss-myhostname-warning-bnc-783841.diff # udev patches # PATCH-FIX-OPENSUSE 1001-Reinstate-TIMEOUT-handling.patch @@ -580,6 +582,7 @@ cp %{SOURCE7} m4/ %patch124 -p1 %patch125 -p1 %patch126 -p1 +%patch127 -p1 %build autoreconf -fiv