Hello community,
here is the log from the commit of package sysconfig for openSUSE:12.2 checked in at 2012-07-31 14:05:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2/sysconfig (Old)
and /work/SRC/openSUSE:12.2/.sysconfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sysconfig", Maintainer is "mt@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:12.2/sysconfig/sysconfig.changes 2012-06-25 15:54:31.000000000 +0200
+++ /work/SRC/openSUSE:12.2/.sysconfig.new/sysconfig.changes 2012-07-31 14:18:35.000000000 +0200
@@ -1,0 +2,25 @@
+Fri Jul 20 14:38:16 UTC 2012 - mt@suse.com
+
+- Applied patch blacklisting uas driver confirmed by Intel as
+ a hopeless case (bnc#770301).
+
+-------------------------------------------------------------------
+Thu Jul 19 13:58:01 UTC 2012 - mt@suse.com
+
+- /etc/init.d/network: do not check the renamed-flag when udev
+ daemon is not running as in LXC containers. It caused to wait
+ until the udev rename finished with a not started network and
+ failure result (bnc#771615).
+
+-------------------------------------------------------------------
+Mon Jun 11 10:10:10 UTC 2012 - mt@suse.com
+
+- version 0.76.3
+- Fixed ifrenew-dhcp to use built-in dhcpcd --renew (bnc#763533).
+- Moved the X-Systemd-RemainAfterExit LSB tag before Description
+ in /etc/init.d/network scripts as workaround for the case that
+ a not yet fixed systemd is in use (bnc#763533).
+- Fixed to differentiate ib/ibchild/bond types and stop ib-bond
+ interfaces correctly.
+
+-------------------------------------------------------------------
Old:
----
sysconfig-0.76.2.tar.bz2
New:
----
0001-Do-not-check-renamed-flag-when-udev-is-not-running.patch
0002-blacklist-uas-driver.patch
sysconfig-0.76.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sysconfig.spec ++++++
--- /var/tmp/diff_new_pack.qZSwdH/_old 2012-07-31 14:18:38.000000000 +0200
+++ /var/tmp/diff_new_pack.qZSwdH/_new 2012-07-31 14:18:38.000000000 +0200
@@ -17,7 +17,7 @@
Name: sysconfig
-Version: 0.76.2
+Version: 0.76.3
Release: 0
Summary: The sysconfig scheme and traditional network scripts
License: GPL-2.0+
@@ -35,6 +35,8 @@
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %name-%version.tar.bz2
+Patch1: 0001-Do-not-check-renamed-flag-when-udev-is-not-running.patch
+Patch2: 0002-blacklist-uas-driver.patch
%description
This package provides the SuSE system configuration scheme and the
@@ -54,6 +56,8 @@
%prep
%setup -n sysconfig-%{version}
+%patch1 -p1
+%patch2 -p1
%build
autoreconf --force --install
++++++ 0001-Do-not-check-renamed-flag-when-udev-is-not-running.patch ++++++
From dbdc2e2a2b0288deefc74f838f5c3fa0b466a4f6 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski
Date: Thu, 19 Jul 2012 15:43:11 +0200
Subject: [PATCH] Do not check renamed-flag when udev is not running
When udev is not running as in LXC containers, do not check for
the interface renamed-flag set by udev rules and causing to wait
until udev rename finished or report a network start failure.
The reintroduced FORCE_PERSISTENT_NAMES network/config variable
allows an explicit behavior configuration (bnc#771615).
---
config/sysconfig.config-network | 9 +++++++++
scripts/network | 13 ++++++++++++-
2 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/config/sysconfig.config-network b/config/sysconfig.config-network
index 38e3eb1..725f3c5 100644
--- a/config/sysconfig.config-network
+++ b/config/sysconfig.config-network
@@ -143,6 +143,15 @@ MANDATORY_DEVICES=""
#
WAIT_FOR_INTERFACES="30"
+## Type: list("",yes,no)
+## Default: ""
+#
+# Forces all interfaces eth* ath* wlan* and ra* to be persistent via udev
+# or disables the persistent rename flag check. Default is to check if udev
+# is running -- it may be not used, e.g. inside of LXC containers.
+#
+FORCE_PERSISTENT_NAMES=""
+
## Type: integer
## Default: 0
#
diff --git a/scripts/network b/scripts/network
index 9928da6..3f4fe2c 100755
--- a/scripts/network
+++ b/scripts/network
@@ -507,13 +507,24 @@ done
# is ready to be set up. If an it is not ready now, it will be set up via
# udev/ifup (because network is started now). We will just have to wait for it
# later in the start section if it is considered mandatory (see next section).
+#
+# When udev is not in use / started, e.g. inside of LXC container, then the
+# 'renamed' flag will be never set and we don't need to check it -- except
+# when there is an explicit configuration telling how to behave here.
+#
+if /sbin/checkproc /sbin/udevd &>/dev/null ; then
+ FORCE_PERSISTENT_NAMES=${FORCE_PERSISTENT_NAMES:-yes}
+else
+ FORCE_PERSISTENT_NAMES=${FORCE_PERSISTENT_NAMES:-no}
+fi
for a in $(type_filter `ls -A /sys/class/net/`); do
test -d /sys/class/net/$a || continue
t=`get_iface_type $a`
case "$t" in
eth|tr|ib|wlan)
STAMPFILE=$STAMPFILE_STUB`cat /sys/class/net/$a/ifindex`
- if [ "$MODE" = onboot -a "$ACTION" = start ] ; then
+ if [ "$MODE" = onboot -a "$ACTION" = start -a \
+ "${FORCE_PERSISTENT_NAMES}" = yes ] ; then
# skip interfaces (with active drivers)
# but not yet prepared by an
# ifup -o hotplug
--
1.7.7
++++++ 0002-blacklist-uas-driver.patch ++++++
From 1576ab1c722c494e0494c02bc5827d08580ff624 Mon Sep 17 00:00:00 2001
From: Oliver Neukum
Date: Fri, 20 Jul 2012 16:14:30 +0200
Subject: [PATCH] blacklist uas driver
Intel has confirmed that uas is a hopeless case (bnc#770301)
---
config/hardware/50-blacklist.conf | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/config/hardware/50-blacklist.conf b/config/hardware/50-blacklist.conf
index 4e0b033..3f27984 100644
--- a/config/hardware/50-blacklist.conf
+++ b/config/hardware/50-blacklist.conf
@@ -227,3 +227,6 @@ blacklist i82875p_edac
# Blacklist the IBM s390 module for I/O dynamic configuration support
# Bug bnc#478601
blacklist chsc_sch
+# uas has been confirmed to be hopelessly broken
+# Bug bnc#770301
+blacklist uas
--
1.7.7
++++++ sysconfig-0.76.2.tar.bz2 -> sysconfig-0.76.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.76.2/ChangeLog new/sysconfig-0.76.3/ChangeLog
--- old/sysconfig-0.76.2/ChangeLog 2012-04-10 13:27:25.000000000 +0200
+++ new/sysconfig-0.76.3/ChangeLog 2012-06-11 12:24:20.000000000 +0200
@@ -1,4 +1,35 @@
-commit 37d231fd2118c241da16ba183b25779f8ac23bb3 (HEAD, tag: version-0.76.2, origin/master, master)
+commit f30d10af618cf9471a33adfa4bfbdb1530ff2da6 (HEAD, master)
+Author: Marius Tomaschewski
+Date: Mon Jun 11 12:23:28 2012 +0200
+
+ version 0.76.3, updated changes file
+
+commit a40c8750fda429149a2f2e2daa2fbfb8928349d8
+Author: Marius Tomaschewski
+Date: Mon Jun 11 12:01:39 2012 +0200
+
+ Fixed to differentiate ib/ibchild/bond types
+
+ A bonding using infiniband interfaces (ib or ibchild) were not
+ stopped correctly, because it were handled as ib, not as bond.
+
+commit fa96b8bfd28fea295ffda162c5cb9632ddfcc1e8
+Author: Marius Tomaschewski
+Date: Thu May 24 11:01:29 2012 +0200
+
+ X-Systemd-RemainAfterExit LSB tag before Description
+
+ Moved X-Systemd-RemainAfterExit LSB tag before Description as
+ workaround for a LSB parsing bug in systemd for the case that
+ a not yet fixed systemd is stil in use (bnc#763533).
+
+commit d8c0759bb718c6ee2421a1945eb7441b546ebd20
+Author: Marius Tomaschewski
+Date: Wed May 23 16:39:56 2012 +0200
+
+ Fixed ifrenew-dhcp to use built-in dhcpcd --renew
+
+commit 37d231fd2118c241da16ba183b25779f8ac23bb3 (tag: version-0.76.2, origin/master)
Author: Marius Tomaschewski
Date: Tue Apr 10 13:24:45 2012 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.76.2/VERSION new/sysconfig-0.76.3/VERSION
--- old/sysconfig-0.76.2/VERSION 2012-04-10 13:17:30.000000000 +0200
+++ new/sysconfig-0.76.3/VERSION 2012-06-11 12:20:44.000000000 +0200
@@ -1 +1 @@
-0.76.2
+0.76.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.76.2/configure new/sysconfig-0.76.3/configure
--- old/sysconfig-0.76.2/configure 2012-04-10 13:27:15.000000000 +0200
+++ new/sysconfig-0.76.3/configure 2012-06-11 12:23:57.000000000 +0200
@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.in Revision: 1.13 .
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for sysconfig 0.76.2.
+# Generated by GNU Autoconf 2.68 for sysconfig 0.76.3.
#
# Report bugs to http://www.suse.de/feedback/.
#
@@ -571,8 +571,8 @@
# Identity of this package.
PACKAGE_NAME='sysconfig'
PACKAGE_TARNAME='sysconfig'
-PACKAGE_VERSION='0.76.2'
-PACKAGE_STRING='sysconfig 0.76.2'
+PACKAGE_VERSION='0.76.3'
+PACKAGE_STRING='sysconfig 0.76.3'
PACKAGE_BUGREPORT='http://www.suse.de/feedback/'
PACKAGE_URL=''
@@ -1301,7 +1301,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures sysconfig 0.76.2 to adapt to many kinds of systems.
+\`configure' configures sysconfig 0.76.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1371,7 +1371,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of sysconfig 0.76.2:";;
+ short | recursive ) echo "Configuration of sysconfig 0.76.3:";;
esac
cat <<\_ACEOF
@@ -1473,7 +1473,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-sysconfig configure 0.76.2
+sysconfig configure 0.76.3
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1842,7 +1842,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by sysconfig $as_me 0.76.2, which was
+It was created by sysconfig $as_me 0.76.3, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2661,7 +2661,7 @@
# Define the identity of the package.
PACKAGE='sysconfig'
- VERSION='0.76.2'
+ VERSION='0.76.3'
cat >>confdefs.h <<_ACEOF
@@ -12079,7 +12079,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by sysconfig $as_me 0.76.2, which was
+This file was extended by sysconfig $as_me 0.76.3, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -12136,7 +12136,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-sysconfig config.status 0.76.2
+sysconfig config.status 0.76.3
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.76.2/scripts/functions new/sysconfig-0.76.3/scripts/functions
--- old/sysconfig-0.76.2/scripts/functions 2012-04-10 13:13:15.000000000 +0200
+++ new/sysconfig-0.76.3/scripts/functions 2012-06-11 12:22:44.000000000 +0200
@@ -267,9 +267,13 @@
;;
24) TYPE=eth ;; # firewire ;; # IEEE 1394 IPv4 - RFC 2734
32) # InfiniBand
- case $IF in
- *.*) TYPE=ibchild ;; *) TYPE=ib ;;
- esac
+ if test -d /sys/class/net/$IF/bonding ; then
+ TYPE=bond
+ elif test -d /sys/class/net/$IF/create_child ; then
+ TYPE=ib
+ else
+ TYPE=ibchild
+ fi
;;
512) TYPE=ppp ;;
768) TYPE=ipip ;; # IPIP tunnel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.76.2/scripts/ifup-dhcp new/sysconfig-0.76.3/scripts/ifup-dhcp
--- old/sysconfig-0.76.2/scripts/ifup-dhcp 2012-04-10 13:13:15.000000000 +0200
+++ new/sysconfig-0.76.3/scripts/ifup-dhcp 2012-06-11 12:22:32.000000000 +0200
@@ -287,6 +287,8 @@
start_dhcp4_dhcpcd() {
+ renew=$1
+
#
# Using netconfig, we can request all options and
# netconfig takes care to apply them properlly...
@@ -337,10 +339,10 @@
args="$args${DHCLIENT_VENDOR_CLASS_ID:+ -i \"$DHCLIENT_VENDOR_CLASS_ID\"}"
args="$args${DHCLIENT_LEASE_TIME:+ -l \"$DHCLIENT_LEASE_TIME\"}"
args="$args${DHCLIENT_HOSTNAME_OPTION:+ -h \"$DHCLIENT_HOSTNAME_OPTION\"}"
- debug "Starting dhcp client: $DHCLIENT_BIN $DHCPCD_USER_OPTIONS $args $INTERFACE"
+ debug "Starting dhcp client: $DHCLIENT_BIN $renew $DHCPCD_USER_OPTIONS $args $INTERFACE"
# now start dhcpcd
- $DHCLIENT_BIN $DHCPCD_USER_OPTIONS $DHCLIENT_ARGS \
+ $DHCLIENT_BIN $renew $DHCPCD_USER_OPTIONS $DHCLIENT_ARGS \
${DHCLIENT_TIMEOUT:+-t "$DHCLIENT_TIMEOUT"} \
${DHCLIENT_CLIENT_ID:+-I "$DHCLIENT_CLIENT_ID"} \
${DHCLIENT_VENDOR_CLASS_ID:+-i "$DHCLIENT_VENDOR_CLASS_ID"} \
@@ -637,14 +639,17 @@
# reset dhcp4 status
DHCP4_STATUS=""
case "$DHCLIENT" in
- (dhcpcd|dhclient)
+ (dhcpcd) ;;
+ (dhclient)
+ DHCP4_STATUS=""
$DHCLIENT_BIN -x $INTERFACE
+ sleep 1
+ for i in `dhcpc4_on_iface`; do
+ kill -TERM $i &>/dev/null
+ done
+ sleep 1
;;
esac
- for i in `dhcpc4_on_iface`; do
- kill -TERM $i &>/dev/null
- done
- sleep 1
;;
(dhcp6)
# reset dhcp6 status
@@ -715,7 +720,8 @@
case "$DHCLIENT" in
(dhcpcd)
test -n "$DHCP4_STATUS" || {
- start_dhcp4_dhcpcd && {
+ test "$ACTION" = renew && renew='--renew' || renew=''
+ start_dhcp4_dhcpcd $renew && {
DHCP4_STARTED="yes"
write_cached_config_data dhcp4_client $DHCLIENT $INTERFACE
write_cached_config_data dhcp4_state started $INTERFACE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.76.2/scripts/network new/sysconfig-0.76.3/scripts/network
--- old/sysconfig-0.76.2/scripts/network 2012-04-10 13:13:15.000000000 +0200
+++ new/sysconfig-0.76.3/scripts/network 2012-06-11 12:22:38.000000000 +0200
@@ -35,10 +35,10 @@
# Should-Stop: isdn openibd SuSEfirewall2_init
# Default-Start: 3 5
# Default-Stop:
+# X-Systemd-RemainAfterExit: true
# Short-Description: Configure the localfs depending network interfaces
# Description: Configure the localfs depending network interfaces
# and set up routing
-# X-Systemd-RemainAfterExit: true
### END INIT INFO
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.76.2/scripts/network-remotefs new/sysconfig-0.76.3/scripts/network-remotefs
--- old/sysconfig-0.76.2/scripts/network-remotefs 2012-04-10 13:13:15.000000000 +0200
+++ new/sysconfig-0.76.3/scripts/network-remotefs 2012-06-11 12:22:38.000000000 +0200
@@ -31,11 +31,11 @@
# Should-Stop:
# Default-Start: 3 5
# Default-Stop:
+# X-Systemd-RemainAfterExit: true
# Short-Description: Configure the remote-fs depending network interfaces
# Description: Configure the remote-fs depending network interfaces as
# Wireless and set up routing or start the NetworkManager
# (except we're running under systemd).
-# X-Systemd-RemainAfterExit: true
### END INIT INFO
unset POSIXLY_CORRECT ; set +o posix # we're using non-posix bash features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysconfig-0.76.2/sysconfig.spec new/sysconfig-0.76.3/sysconfig.spec
--- old/sysconfig-0.76.2/sysconfig.spec 2012-04-10 13:27:19.000000000 +0200
+++ new/sysconfig-0.76.3/sysconfig.spec 2012-06-11 12:24:00.000000000 +0200
@@ -18,7 +18,7 @@
Name: sysconfig
-Version: 0.76.2
+Version: 0.76.3
Release: 0
Summary: The sysconfig scheme and traditional network scripts
License: GPL-2.0+
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org