Hello community,

here is the log from the commit of package sysconfig for openSUSE:Factory 
checked in at 2011-10-25 17:12:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sysconfig (Old)
 and      /work/SRC/openSUSE:Factory/.sysconfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysconfig", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sysconfig/sysconfig.changes      2011-10-05 
11:10:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sysconfig.new/sysconfig.changes 2011-10-25 
17:12:24.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Oct 21 11:35:06 UTC 2011 - [email protected]
+
+- Changed NM_ONLINE_TIMEOUT default back to 0 to avoid
+  unneeded waiting for NM interfaces at boot (bnc#722304)
+
+------------------------------------------------------------------

New:
----
  sysconfig-nm-online-timeout-0-default.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sysconfig.spec ++++++
--- /var/tmp/diff_new_pack.9dH8bR/_old  2011-10-25 17:12:30.000000000 +0200
+++ /var/tmp/diff_new_pack.9dH8bR/_new  2011-10-25 17:12:30.000000000 +0200
@@ -32,6 +32,7 @@
 Requires:       iproute2 dbus-1 procps
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         %name-%version.tar.bz2
+Patch1:         sysconfig-nm-online-timeout-0-default.patch
 
 %description
 This package provides the SuSE system configuration scheme and
@@ -51,6 +52,7 @@
 
 %prep
 %setup -n sysconfig-%{version}
+%patch1 -p1
 
 %build
 autoreconf --force --install
@@ -119,13 +121,6 @@
        if [ ! -f etc/sysconfig/network/scripts/move_shm_sysconfig.sh ] ; then
                touch etc/sysconfig/network/__move_shm_sysconfig__
        fi
-       # set a mark when updating from NM_ONLINE_TIMEOUT=0
-       eval NM_ONLINE_TIMEOUT='' \
-               `grep -s '^[[:space:]]*NM_ONLINE_TIMEOUT=' \
-               var/adm/fillup-templates/sysconfig.config-network`
-       if [ "x$NM_ONLINE_TIMEOUT" = "x0" ] ; then
-               touch etc/sysconfig/network/__nm_online_timeout__
-       fi
 fi
 
 %post 
@@ -142,17 +137,6 @@
 #
 %{fillup_and_insserv -fY network}
 %{fillup_and_insserv -fY network-remotefs}
-# remove first, we need the new default value
-sysconfig_remove_and_set network/dhcp DHCLIENT_TIMEOUT
-# remove first when NM_ONLINE_TIMEOUT was 0 in old template
-if [ -f etc/sysconfig/network/__nm_online_timeout__ ] ; then
-       rm -f etc/sysconfig/network/__nm_online_timeout__
-       eval NM_ONLINE_TIMEOUT='' \
-               `grep -s '^[[:space:]]*NM_ONLINE_TIMEOUT=' \
-               etc/sysconfig/network/config`
-       [ "x$NM_ONLINE_TIMEOUT" = "x0" ] && \
-       sysconfig_remove_and_set network/config NM_ONLINE_TIMEOUT
-fi
 %{fillup_only -dns dhcp network network}
 %{fillup_only -dns config network network}
 /sbin/ldconfig

++++++ sysconfig-nm-online-timeout-0-default.patch ++++++
>From 578a4f46906883e376ec36261bdaee4e823421da Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <[email protected]>
Date: Mon, 10 Oct 2011 13:13:49 +0200
Subject: [PATCH] Changed NM_ONLINE_TIMEOUT default to 0

Changed NM_ONLINE_TIMEOUT default back to 0 to avoid
unneeded waiting for NM interfaces at boot (bnc#722304)

Signed-off-by: Marius Tomaschewski <[email protected]>
---
 config/sysconfig.config-network |    4 ++--
 sysconfig.spec.in               |   18 ------------------
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/config/sysconfig.config-network b/config/sysconfig.config-network
index 1f8d05a..38e3eb1 100644
--- a/config/sysconfig.config-network
+++ b/config/sysconfig.config-network
@@ -226,7 +226,7 @@ IFPLUGD_OPTIONS="-f -I -b"
 NETWORKMANAGER=no
 
 ## Type:       int
-## Default:    30
+## Default:    0
 #
 # When using NetworkManager you may define a timeout to wait for NetworkManager
 # to connect in /etc/init.d/network(-remotefs) script.  Other network services
@@ -234,7 +234,7 @@ NETWORKMANAGER=no
 # 
 # This variable has no effect if NETWORKMANAGER=no.
 #
-NM_ONLINE_TIMEOUT="30"
+NM_ONLINE_TIMEOUT="0"
 
 ## Type:        string
 ## Default:     "dns-resolver dns-bind ntp-runtime nis"
diff --git a/sysconfig.spec.in b/sysconfig.spec.in
index f559763..b64d677 100644
--- a/sysconfig.spec.in
+++ b/sysconfig.spec.in
@@ -119,13 +119,6 @@ if [ ${1:-0} -gt 1 ]; then
        if [ ! -f etc/sysconfig/network/scripts/move_shm_sysconfig.sh ] ; then
                touch etc/sysconfig/network/__move_shm_sysconfig__
        fi
-       # set a mark when updating from NM_ONLINE_TIMEOUT=0
-       eval NM_ONLINE_TIMEOUT='' \
-               `grep -s '^[[:space:]]*NM_ONLINE_TIMEOUT=' \
-               var/adm/fillup-templates/sysconfig.config-network`
-       if [ "x$NM_ONLINE_TIMEOUT" = "x0" ] ; then
-               touch etc/sysconfig/network/__nm_online_timeout__
-       fi
 fi
 
 %post 
@@ -142,17 +135,6 @@ fi
 #
 %{fillup_and_insserv -fY network}
 %{fillup_and_insserv -fY network-remotefs}
-# remove first, we need the new default value
-sysconfig_remove_and_set network/dhcp DHCLIENT_TIMEOUT
-# remove first when NM_ONLINE_TIMEOUT was 0 in old template
-if [ -f etc/sysconfig/network/__nm_online_timeout__ ] ; then
-       rm -f etc/sysconfig/network/__nm_online_timeout__
-       eval NM_ONLINE_TIMEOUT='' \
-               `grep -s '^[[:space:]]*NM_ONLINE_TIMEOUT=' \
-               etc/sysconfig/network/config`
-       [ "x$NM_ONLINE_TIMEOUT" = "x0" ] && \
-       sysconfig_remove_and_set network/config NM_ONLINE_TIMEOUT
-fi
 %{fillup_only -dns dhcp network network}
 %{fillup_only -dns config network network}
 /sbin/ldconfig
-- 
1.7.3.4

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to