Hello community, here is the log from the commit of package sysconfig.1487 for openSUSE:12.3:Update checked in at 2013-04-02 15:52:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3:Update/sysconfig.1487 (Old) and /work/SRC/openSUSE:12.3:Update/.sysconfig.1487.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sysconfig.1487", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-02-26 18:15:11.936010755 +0100 +++ /work/SRC/openSUSE:12.3:Update/.sysconfig.1487.new/sysconfig.changes 2013-04-02 15:52:03.000000000 +0200 @@ -0,0 +1,4974 @@ +------------------------------------------------------------------- +Wed Mar 20 09:44:26 UTC 2013 - [email protected] + +- Fixed to wait for dhcp/ipv6 under systemd again. + Fixed regression caused by bnc#785240, bnc#780644 fixes to not + discard the dhcp/ipv6 dupplicate address detection in progress + error codes under systemd completely, but wait until dhcp/ipv6 + dad finished or the WAIT_FOR_INTERFACES timeout is reached and + then discard in the status returned to systemd (bnc#808718). + It caused failures of other services trying to bind tentative + IPv6 addresses, e.g. in mixed dhcp4 / static IPv6 setups. + Thanks to Rolf Eike Beer for the report/tests/debug outputs. + [0001-Fixed-to-wait-for-dhcp-ipv6-under-systemd-again.patch] + +------------------------------------------------------------------- +Mon Mar 4 14:40:02 UTC 2013 - [email protected] + +- Fixed to create migration marker directory before using it, + it does not exists e.g. while CD based update (bnc#806989). + +------------------------------------------------------------------- +Thu Feb 22 08:20:23 UTC 2013 - [email protected] + +- version 0.80.5 +- Fixed to use a guarded migration hook from openSUSE < 12.3, that + disabes the (always enabled before) NetworkManager.service on + NETWORKMANAGER=no and mask the network.service (provided by the + /etc/init.d/network script) on NETWORKMANAGER=yes until NM has + been installed and enabled as network.service (bnc#803058). + +------------------------------------------------------------------- +Thu Jan 31 10:46:51 UTC 2013 - [email protected] + +- version 0.80.4 +- Fixed to use a suffix in ETHTOOL_OPTIONS variable to allow to + apply every setting (e.g. 'gro off lro off') separately, as the + ethtool utility stops at first failure and the NIC driver may + reject settings when the link is not up or they're unsupported. + Further, added ETHTOOL_UP_RETRY and ETHTOOL_UP_WAIT variables + to optionally wait after the link has been set up and retry to + set the ETHTOOL_OPTIONS*. Updated ifcfg(5) man page (bnc#787744) + [0002-Allow-ETHTOOL_OPTIONS-SUFFIX-variables-bnc-787744.patch, + 0003-Documented-ETHTOOL_OPTIONS-SUFFIX-variables-bnc-787744.patch] +- Applied 81-mount.rules fix by Robert Milasan to not mount file + systems with the noauto flag set (bnc#798641, [SWAMPID 50702]). + [0001-Do-not-mount-file-system-with-noauto-flag-bnc-798641.patch] + +------------------------------------------------------------------- +Mon Jan 28 13:48:09 UTC 2013 - [email protected] + +- version 0.80.3 +- rcnetwork: reworked suspend/resume hooks (bnc#781106) + +------------------------------------------------------------------- +Wed Jan 23 19:37:52 UTC 2013 - [email protected] + +- version 0.80.2 +- rcnetwork: handle also partial -o type|skip options + +------------------------------------------------------------------- +Wed Jan 23 17:34:50 UTC 2013 - [email protected] + +- version 0.80.1 +- rcnetwork: Improved redirection and option handling and cleaned + up obsolete localfs/remotefs options and network manager hooks. + Honor SYSTEMCTL_OPTIONS variable which can be set to systemctl + options e.g. --ignore-dependencies while yast2 second stage run + (bnc#798348). +- Fixed to use dhclient6 in dhcp6_client state variable (bnc#798828). + +------------------------------------------------------------------- +Tue Jan 15 10:47:08 UTC 2013 - [email protected] + +- version 0.80.0 +- Removed the NETWORKMANAGER=yes/no variable from network/config. + The NetworkManager.service (or other) installs a network.service + alias link while "systemctl enable" and removes on "disable", + which masks the network.service provided by /etc/init.d/network. + Current service has to be stopped while "enable" or "disable". + The "systemctl -p Id show network.service" is used to query the + currently enabled network service. It returns either the name + of the service providing the alias, i.e. NetworkManager.service + or network.service - when the /etc/init.d/network provides it. + The /etc/init.d/network script forwards common actions (start, + stop, ...) to systemd which executes them for the currently + active network.service. (bnc#764055,bnc#764336,bnc#798348). +- Adopted /etc/init.d/network, netconfig, ifup to use the service + Id query instead of NETWORKMANAGER variable, added forwarding. +- Removed NetworkManager start/stop code from /etc/init.d/network + and disabled NetworkManager dispatcher hook installation. +- Added removal of the NETWORKMANAGER variable to spec post-install + +------------------------------------------------------------------- +Fri Jan 11 22:38:46 UTC 2013 - [email protected] + +- Fixed to correctly apply STP constrains also to float time + values with a 1/100 sec precision (bnc#753387,bnc#794720). + [0002-ifup-bridge-handle-1-100-sec-precision-stp-times.patch] +- Updated bridge documentation link in ifcfg-bridge.5 (bnc#791553). + [0001-Updated-bridge-documentation-link-in-ifcfg-bridge.5.patch] + +------------------------------------------------------------------- +Fri Nov 23 11:25:20 UTC 2012 - [email protected] + +- version 0.76.8 +- Changed rcnetwork to not report dhcp in background to systemd + (bnc#785240,bnc#780644). You may set DHCLIENT_MODIFY_SMB_CONF + to "no" in /etc/sysconfig/network/dhcp as the samba/cifs hooks + make systemctl calls to reload/restart nmb and other services + which block (systemd deadlock) ifup scripts for a long time. +- Reverted ifup pre/post and if-up.d/if-down.d scripts processing + feature in background and removed WAIT_BACKGROUND_JOBS variable + as it tends to cause unexpected behavior / side effects. +- Replaced udevrulesdir patch with --with-udevdir configure option. +- Removed obsolete network-remotefs init script (disabled before). + +------------------------------------------------------------------- +Mon Nov 5 20:18:45 UTC 2012 - [email protected] + +- Added patch (set_new_udevrules_dir.patch) to ensure that the + udevmountd and the udev rules are installed at the right place + (/usr/lib/udev) + +------------------------------------------------------------------- +Thu Nov 1 17:08:25 UTC 2012 - [email protected] + +- version 0.76.7 +- Start ifup pre/post and if-up.d/if-down.d scripts in background. + The new network/config variable WAIT_BACKGROUND_JOBS specifies + the wait limit. Default is 5 secons, 0 disables backgrounding + and reverts to previous blocking behavior. Attempt to solve the + issues where interfaces are not come up in time, because some + hook-script are blocking ifup (bnc#780644). +- Execute netconfig/ntp-runtime updates in background (bnc#780644). +- Man-page hint to use STARTMODE=nfsroot when using iSCSI or FCoE. + +------------------------------------------------------------------- +Fri Oct 26 11:28:43 UTC 2012 - [email protected] + +- version 0.76.6 +- Fixed to check and reject too long interface names or names + with suspect characters, do not wait when creation of virtual + interface name fails (bnc#784952). +- Fixed to not report failure while setting unsupported power + management option in ifup-wireless as the support and features + depends on the driver (bnc#716652). +- Fixed ifup-dhcp to not start dhcp clients too early or they may + be unable to send packets and just increase resend time. Instead, + load af_packet module early and wait for link ready (bnc#780644). +- Fixed netconfig/ntp-runtime to not use try-restart as its start + may block for a while, so just add servers ourself. When ntpd is + not running (not yet started), the init script will pickup our + servers later (bnc#780644). + +------------------------------------------------------------------- +Thu Sep 27 20:12:07 UTC 2012 - [email protected] + +- version 0.76.5 +- Added support for NOZEROCONF option to disable zero config route. + +------------------------------------------------------------------- +Thu Aug 9 16:42:02 UTC 2012 - [email protected] + +- version 0.76.4 +- Check before running a script in netcontrol_services (bnc#775281). + +------------------------------------------------------------------- +Fri Jul 20 14:38:16 UTC 2012 - [email protected] + +- Applied patch blacklisting uas driver confirmed by Intel as + a hopeless case (bnc#770301). + +------------------------------------------------------------------- +Thu Jul 19 13:58:01 UTC 2012 - [email protected] + +- /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 - [email protected] + +- 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. + +------------------------------------------------------------------- +Tue Apr 10 11:22:02 UTC 2012 - [email protected] + +- version 0.76.2 +- ifup-bridge: apply stp contstrains when STP is on (bnc#753387) +- ifup-route: fixed use of -4/6 option for ip route (bnc#745252) ++++ 4777 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.3:Update/.sysconfig.1487.new/sysconfig.changes New: ---- 0001-Fixed-to-wait-for-dhcp-ipv6-under-systemd-again.patch sysconfig-0.80.5.tar.bz2 sysconfig.changes sysconfig.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysconfig.spec ++++++ # # spec file for package sysconfig # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: sysconfig Version: 0.80.5 Release: 0 Summary: The sysconfig scheme and traditional network scripts License: GPL-2.0+ Group: System/Base Url: http://gitorious.org/opensuse/sysconfig PreReq: %fillup_prereq %insserv_prereq textutils fileutils gawk sed grep # we may create these automatically from rpm later Provides: sysvinit(network) Requires: bridge-utils Requires: dbus-1 Requires: iproute2 Requires: procps Requires: tunctl Requires: vlan BuildRequires: libtool BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1230 BuildRequires: pkgconfig(systemd) %define udevdir /usr/lib/udev %else %define udevdir /lib/udev %endif Source: %name-%version.tar.bz2 Patch1: 0001-Fixed-to-wait-for-dhcp-ipv6-under-systemd-again.patch %description This package provides the SuSE system configuration scheme and the traditional "ifup" alias "netcontrol" network scripts. Authors: -------- Olaf Kirch <[email protected]> Bjoern Jacke <[email protected]> Mads Martin Joergensen <[email protected]> Peter Poeml <[email protected]> Arvin Schnell <[email protected]> Michal Svec <[email protected]> Christian Zoz <[email protected]> Werner Fink <[email protected]> Marius Tomaschewski <[email protected]> %prep %setup -n sysconfig-%{version} %patch1 -p1 %build autoreconf --force --install CFLAGS="$RPM_OPT_FLAGS -fPIC" \ ./configure --prefix=/ \ --sbindir=/sbin \ --libdir=/%_lib \ --sysconfdir=%_sysconfdir \ --mandir=%_mandir \ --with-udevdir=%udevdir \ --with-fillup-templatesdir=/var/adm/fillup-templates %{__make} %{?_smp_mflags} %check make check %clean rm -rf $RPM_BUILD_ROOT %install make DESTDIR=$RPM_BUILD_ROOT install touch $RPM_BUILD_ROOT/etc/sysconfig/network/config touch $RPM_BUILD_ROOT/etc/sysconfig/network/dhcp # remove template dir rm -rf $RPM_BUILD_ROOT/etc/sysconfig/network/ifservices.template/ %files %defattr(-,root,root) /etc/init.d/* %ghost /etc/sysconfig/network/config %ghost /etc/sysconfig/network/dhcp %config(noreplace) %attr(600,root,root) /etc/sysconfig/network/ifcfg-lo %config(noreplace) /etc/sysconfig/network/ifroute-lo %config(noreplace) /etc/ppp/ip-up %config(noreplace) /etc/ppp/ip-down %config(noreplace) /etc/ppp/ipv6-up %config(noreplace) /etc/ppp/ipv6-down %dir %udevdir %udevdir/udevmountd %dir %udevdir/rules.d %udevdir/rules.d/77-network.rules %udevdir/rules.d/81-mount.rules %dir /etc/modprobe.d %config /etc/sysconfig/network/ifcfg.template %config /etc/modprobe.d/50-blacklist.conf /etc/sysconfig/network/scripts/* /etc/sysconfig/network/if-up.d/ndp-proxy /etc/sysconfig/network/if-down.d/ndp-proxy /etc/netconfig.d /etc/ppp/poll.tcpip /sbin/* %doc /usr/share/doc/packages/sysconfig %_mandir/*/* /usr/share/omc/svcinfo.d/network.xml /var/adm/fillup-templates/sysconfig.dhcp-network /var/adm/fillup-templates/sysconfig.config-network %pre # package update ? if [ ${1:-0} -gt 1 ]; then # update to >= 0.72.1 (-> openSUSE 11.2) if [ ! -f etc/sysconfig/network/scripts/move_shm_sysconfig.sh ] ; then touch etc/sysconfig/network/__move_shm_sysconfig__ fi # trigger update from < 0.80.x only (-> openSUSE 12.3), # (guard for variable added to network/config later...) if [ -x /usr/sbin/NetworkManager ] && grep -qs "^NETWORKMANAGER=" \ var/adm/fillup-templates/sysconfig.config-network ; then mkdir -p /dev/.sysconfig/network/ && \ grep -s "^NETWORKMANAGER=" etc/sysconfig/network/config \ > /dev/.sysconfig/network/migrate_nm_variable || : elif [ -f /dev/.sysconfig/network/migrate_nm_variable ] ; then rm -f /dev/.sysconfig/network/migrate_nm_variable || : fi fi %post # * update to >= 0.72.1: before anything else, move state # files from dev/shm/sysconfig to dev/.sysconfig/network if [ -f etc/sysconfig/network/__move_shm_sysconfig__ ] ; then etc/sysconfig/network/scripts/move_shm_sysconfig.sh . rm -f etc/sysconfig/network/__move_shm_sysconfig__ fi # ## we provide own, improved variant of the remove_and_set suse ## rpm macro that is able to handle files in subdirs, and more . etc/sysconfig/network/scripts/functions.rpm-utils # %{fillup_and_insserv -fY network} %{fillup_only -dns dhcp network network} %{fillup_only -dns config network network} /sbin/ldconfig echo "Removing old autogenerated device configuration files:" # # * update to >= 11.1 / SLE11: # # convert dns / modify_resolvconf to netconfig if [ -e etc/sysconfig/network/scripts/convert_to_netconfig_dns ] ; then ROOT=$PWD bash etc/sysconfig/network/scripts/convert_to_netconfig_dns fi # convert nis / dhclient variables to netconfig if [ -e etc/sysconfig/network/scripts/convert_to_netconfig_nis ] ; then ROOT=$PWD bash etc/sysconfig/network/scripts/convert_to_netconfig_nis fi # remove ntp variables obsoleted by netconfig (new default is "yes") # as well as some another obsolete dhcp variables _umask=`umask` for file in etc/sysconfig/network/dhcp etc/sysconfig/network/ifcfg-* ; do name="${file##*\/ifcfg-}" case $name in (lo|""|*" "*|*~|*.old|*.rpmnew|*.rpmsave|*.scpmbackup) continue ;; esac case $file in (*/ifcfg-*) umask 0177 ;; esac sysconfig_remove_and_set -b "" $file \ DHCLIENT_MODIFY_NTP_CONF \ DHCLIENT_ADDITIONAL_OPTIONS \ DHCLIENT_SCRIPT_EXE umask $_umask done # be a little bit paranoid and set the correct mode even we set umask chmod 0600 etc/sysconfig/network/ifcfg-* # bnc#803058: migrate from NETWORKMANAGER=yes/no variable to # network.service alias link masking rcnetwork. if [ -f /dev/.sysconfig/network/migrate_nm_variable -a -x /usr/bin/systemctl ] ; then . /dev/.sysconfig/network/migrate_nm_variable case $NETWORKMANAGER in no) # NetworkManager.service were always started before; stop # and disable it, so /etc/init.d/network isn't masked... /usr/bin/systemctl stop NetworkManager.service || : /usr/bin/systemctl --force disable NetworkManager.service || : rm -f /dev/.sysconfig/network/migrate_nm_variable || : ;; yes) # Keep the /dev/.sysconfig/network/migrate_nm_variable file, # as hint for migration in NetworkManager post-install ... # Mask /etc/init.d/network service until NM update is done. /usr/bin/systemctl --force mask network.service || : ;; esac else # cleanup obsolete NETWORKMANAGER variable sysconfig_remove_and_set network/config NETWORKMANAGER fi %postun %{insserv_cleanup} /sbin/ldconfig %preun %{stop_on_removal network} %changelog ++++++ 0001-Fixed-to-wait-for-dhcp-ipv6-under-systemd-again.patch ++++++ >From a73d8a1a9d89da5571fe0dedd773760f0159eb33 Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski <[email protected]> Date: Tue, 19 Mar 2013 20:28:40 +0100 Subject: [PATCH] Fixed to wait for dhcp/ipv6 under systemd again References: bnc#808718 Upstream: yes Fixed regression caused by bnc#785240, bnc#780644 fixes to not discard the dhcp/ipv6 dupplicate address detection in progress error codes under systemd completely, but wait until dhcp/ipv6 dad finished or the WAIT_FOR_INTERFACES timeout is reached and then discard in the status returned to systemd (bnc#808718). It caused failures of other services trying to bind tentative IPv6 addresses, e.g. in mixed dhcp4 / static IPv6 setups. Thanks to Rolf Eike Beer for the report/tests/debug outputs. --- scripts/network | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/scripts/network b/scripts/network index c55d01c..55014be 100755 --- a/scripts/network +++ b/scripts/network @@ -593,13 +593,16 @@ debug "start order : ${start_list// / }" status() { - local M IFACE + local M FIN IFACE # declare -i R=0 F=0 declare -i F=0 - if [ "$1" = "-m" ]; then - M=yes - shift - fi + while test $# -gt 0 ; do + case $1 in + --final) FIN=yes ; shift ;; + -m) M=yes ; shift ;; + *) break ;; + esac + done for IFACE in $@; do $FAKE /sbin/ifstatus $CONFIG $IFACE -o rc $CHECK $MODE RET=$? @@ -612,7 +615,9 @@ status() { ;; $R_DHCP_BG) if [ -f "$NETWORK_RUNFILE" -a "$M" = yes ] ; then - if [ "$SD_RUNNING" != "yes" ] ; then + # do not report failure in --final check under + # systemd when setup is still in progress ... + if [ "$SD_RUNNING" != "yes" -o "$FIN" != "yes" ] ; then : $((F++)) fi fi @@ -772,7 +777,7 @@ case "$ACTION" in test "$D" = __NSC__ && continue IFACE=$D if [ -d /sys/class/net/$IFACE ] ; then - status -m $IFACE && continue + status --final -m $IFACE && continue printf " %-9s interface could not be set up until now\n" $IFACE else printf " %-35s No interface found\n" $D @@ -881,7 +886,7 @@ case "$ACTION" in for IFACE in $VIRTUAL_IFACES; do if [ -d /sys/class/net/$IFACE ] ; then - status -m $IFACE && continue + status --final -m $IFACE && continue printf " %-9s interface is not ready until now\n" $IFACE fi rc_failed -- 1.8.1.4 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
