From 409881632dc74684a3a82332858899c3b4a6cb25e08f7e5e4cc25c16d350474f Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Fri, 15 Feb 2013 14:53:23 +0000 Subject: [PATCH] Accepting request 155543 from home:lnussel:branches:Base:System - disable nss-myhostname warning (bnc#783841) => 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/request/show/155543 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=346 --- ...ble-nss-myhostname-warning-bnc-783841.diff | 21 +++++++++++++++++++ systemd-mini.changes | 6 ++++++ systemd-mini.spec | 4 ++++ systemd.changes | 6 ++++++ systemd.spec | 3 +++ 5 files changed, 40 insertions(+) create mode 100644 disable-nss-myhostname-warning-bnc-783841.diff diff --git a/disable-nss-myhostname-warning-bnc-783841.diff b/disable-nss-myhostname-warning-bnc-783841.diff new file mode 100644 index 00000000..2d085696 --- /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 bb106d87..26c4bc94 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 3370583a..62088835 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 bb106d87..26c4bc94 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 34bf7b73..a2d4638a 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