Hello community, here is the log from the commit of package sysconfig checked in at Mon Oct 27 17:34:30 CET 2008. -------- --- sysconfig/sysconfig.changes 2008-10-21 11:24:49.000000000 +0200 +++ /mounts/work_src_done/STABLE/sysconfig/sysconfig.changes 2008-10-27 16:42:49.000000000 +0100 @@ -1,0 +2,14 @@ +Mon Oct 27 16:38:30 CET 2008 - mt@suse.de + +- version 0.71.9 +- Fixed to fallback to the static (yast2) settings in netconfig+NM + auto policy when NetworkManager does not provide any (bnc#434575). +- Fixes to set the NIS domainname correctly (bnc#437725). +- Fixed typo in netconfig.8 manual page (bnc#438647), updated it. +- Implemented DNS / modify_resolvconf to netconfig and dhcp client + NIS update hooks, cleaned up variables (bnc#434575, bnc#437725). +- Fixed erroneous move of yast2-network WRITE_HOSTNAME_TO_HOSTS + variable from network/dhcp to network/config while 11.1 beta. +- Removed commented out/obsolete rc.config related update hooks. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- netconfig-allow-nm-modify.diff netconfig-awk_filter-fix.diff netconfig-createtime-fix.diff netconfig-print-errors.diff network-remotefs-bug-433987.diff sysconfig-0.71.8-syntax.diff sysconfig-0.71.8.tar.bz2 New: ---- sysconfig-0.71.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysconfig.spec ++++++ --- /var/tmp/diff_new_pack.A29957/_old 2008-10-27 17:33:55.000000000 +0100 +++ /var/tmp/diff_new_pack.A29957/_new 2008-10-27 17:33:55.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package sysconfig (Version 0.71.8) +# spec file for package sysconfig (Version 0.71.9) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,8 +19,8 @@ Name: sysconfig -Version: 0.71.8 -Release: 3 +Version: 0.71.9 +Release: 1 Summary: The sysconfig scheme Group: System/Base License: GPL v2 or later @@ -30,12 +30,6 @@ BuildRequires: sysfsutils BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %name-%version.tar.bz2 -Patch0: netconfig-awk_filter-fix.diff -Patch1: netconfig-createtime-fix.diff -Patch2: %name-%version-syntax.diff -Patch3: network-remotefs-bug-433987.diff -Patch4: netconfig-print-errors.diff -Patch5: netconfig-allow-nm-modify.diff %description This package provides the SuSE system configuration scheme. @@ -56,12 +50,6 @@ %prep %setup -n sysconfig-%{version} -%patch0 -p0 -%patch1 -p0 -%patch2 -p0 -%patch3 -p0 -%patch4 -p0 -%patch5 -p0 %build autoreconf --force --install @@ -116,7 +104,6 @@ %doc /usr/share/doc/packages/sysconfig %_mandir/*/* /usr/share/omc/svcinfo.d/network.xml -/var/adm/fillup-templates/remove_old_netconfig /var/adm/fillup-templates/sysconfig.dhcp-network /var/adm/fillup-templates/sysconfig.config-network %dir /var/lock/subsys/sysconfig @@ -127,14 +114,6 @@ fi # package update ? if [ ${1:-0} -gt 1 ]; then - # update from pre-9.1 to post-10.2 still needs to be checked - # update from pre-9.1? - #if ! [ -x sbin/getcfg ]; then - # cat > etc/sysconfig/network/__conversion_for_getconfig_needed__ <<-EOF - # This directory contains network configuration files that need to be - # converted by /etc/sysconfig/network/scripts/convert_for_getconfig. - # EOF - #fi # conversion of persistent name rules if [ -f /etc/udev/rules.d/30-net_persistent_names.rules ] ; then mv -v /etc/udev/rules.d/30-net_persistent_names.rules \ @@ -146,20 +125,6 @@ fi %post -#etc/sysconfig/network/scripts/oldnet2new.sh -## look if dhclient.rc.config is present -#if [ -f etc/rc.config.d/dhclient.rc.config ] ; then -# mv etc/rc.config.d/dhclient.rc.config etc/rc.config.d/dhcp.rc.config -#fi -## but prefer dhcpcd.rc.config as template (because it has more variables and is used more frequently) -#if [ -f etc/rc.config.d/dhcpcd.rc.config ] ; then -# mv etc/rc.config.d/dhcpcd.rc.config etc/rc.config.d/dhcp.rc.config -#fi -# update from pre-9.1 to post-10.2 still needs to be checked -#if [ -f etc/sysconfig/network/__conversion_for_getconfig_needed__ ]; then -# etc/sysconfig/network/scripts/convert_for_getconfig etc/sysconfig/network -# if [ $? = 0 ]; then rm etc/sysconfig/network/__conversion_for_getconfig_needed__; fi -#fi pushd etc/sysconfig/network >/dev/null for i in ifcfg-ppp* ifcfg-ippp* ifcfg-dsl* ifcfg-modem* ; do case $i in @@ -236,6 +201,44 @@ echo "Removing old autogenerated device configuration files:" rm -vf $(grep -sl "HOTPLUG-FLAG: *autocreated" /etc/sysconfig/hardware/hwcfg-*) rm -vf /etc/sysconfig/storage +# convert dns / modify_resolvconf to netconfig (update to >= 11.1) +if [ -e etc/sysconfig/network/scripts/convert_dns_to_netconfig ] ; then + ROOT=$PWD bash etc/sysconfig/network/scripts/convert_dns_to_netconfig +fi +if test -f etc/sysconfig/network/scripts/functions.rpm-utils ; then + # we provide own, improved variant of the remove_and_set suse + # rpm macro that is able to handle files in subdirs, ... + . etc/sysconfig/network/scripts/functions.rpm-utils + # conversion should be done by convert_dns_to_netconfig + # now remove dns variables obsoleted by netconfig + sysconfig_remove_and_set network/config no MODIFY_NAMED_CONF_DYNAMICALLY + sysconfig_remove_and_set network/config no MODIFY_RESOLV_CONF_DYNAMICALLY + sysconfig_remove_and_set network/config no MODIFY_RESOLV_CONF_STATIC_DNS + sysconfig_remove_and_set network/dhcp no DHCLIENT_MODIFY_RESOLV_CONF + sysconfig_remove_and_set network/dhcp no DHCLIENT_KEEP_SEARCHLIST + # convert & remove nis variables obsoleted by netconfig + sysconfig_remove_and_set network/dhcp yes DHCLIENT_MODIFY_NIS_CONF + eval `grep "^[[:space:]]*NETCONFIG_NIS_POLICY=" etc/sysconfig/network/config` + if test "x$DHCLIENT_MODIFY_NIS_CONF" = xno -a "$NETCONFIG_NIS_POLICY" = auto ; then + echo "Disabled NIS in netconfig due to DHCLIENT_MODIFY_NIS_CONF=no" + sed -e "s/^[[:space:]]*\(NETCONFIG_NIS_POLICY\)=.*/\1=''/g" \ + -i etc/sysconfig/network/config + fi + sysconfig_remove_and_set network/dhcp yes DHCLIENT_SET_DOMAINNAME + eval `grep "^[[:space:]]*NETCONFIG_NIS_SETDOMAINNAME=" etc/sysconfig/network/config` + if test "x$DHCLIENT_SET_DOMAINNAME" = xno -a "$NETCONFIG_NIS_SETDOMAINNAME" = yes ; then + echo "Disabled setting of NIS domainname in netconfig due to DHCLIENT_SET_DOMAINNAME=no" + sed -e "s/^[[:space:]]*\(NETCONFIG_NIS_SETDOMAINNAME\)=.*/\1='no'/g" \ + -i etc/sysconfig/network/config + fi + # remove nis variables obsoleted by netconfig (new default is "yes") + sysconfig_remove_and_set network/dhcp no DHCLIENT_MODIFY_NTP_CONF + # remove another obsolete variables + sysconfig_remove_and_set network/dhcp no DHCLIENT_ADDITIONAL_OPTIONS + sysconfig_remove_and_set network/dhcp no DHCLIENT_SCRIPT_EXE + # erroneous move from network/dhcp to network/config while 11.1 beta + sysconfig_remove_and_set network/config no WRITE_HOSTNAME_TO_HOSTS +fi %postun %{insserv_cleanup} @@ -245,6 +248,17 @@ %{stop_on_removal network} %changelog +* Mon Oct 27 2008 mt@suse.de +- version 0.71.9 +- Fixed to fallback to the static (yast2) settings in netconfig+NM + auto policy when NetworkManager does not provide any (bnc#434575). +- Fixes to set the NIS domainname correctly (bnc#437725). +- Fixed typo in netconfig.8 manual page (bnc#438647), updated it. +- Implemented DNS / modify_resolvconf to netconfig and dhcp client + NIS update hooks, cleaned up variables (bnc#434575, bnc#437725). +- Fixed erroneous move of yast2-network WRITE_HOSTNAME_TO_HOSTS + variable from network/dhcp to network/config while 11.1 beta. +- Removed commented out/obsolete rc.config related update hooks. * Tue Oct 21 2008 mt@suse.de - Fixed changes file to use bnc#433780 instead of bnc#428978 * Mon Oct 20 2008 mt@suse.de @@ -685,7 +699,7 @@ * Thu Aug 17 2006 kukuk@suse.de - Remove undocumented ifservices.template directory to break down build dependencies. -* Tue Jun 27 2006 schwab@suse.de +* Mon Jun 26 2006 schwab@suse.de - Handle aoa-soundbus subsystem. * Fri Jun 02 2006 zoz@suse.de - Changed comment for LOAD_UNSUPPORTED_MODULES_AUTOMATICALLY; now @@ -702,7 +716,7 @@ * Tue May 30 2006 zoz@suse.de - Don't load module 'bonding' multiple times but create and delete bonding interfaces via sysfs attribute. (Bug 157936) -* Tue May 23 2006 poeml@suse.de +* Mon May 22 2006 poeml@suse.de - fix dhcpcd-hook so that syslog picks up a changed hostname during bootup, by reloading syslog. The reload was already being done during IP address change ("renew state") but not during "up" @@ -1681,7 +1695,7 @@ - rename wlan configuration files, that could not be converted to mac address / bus id to 'ifcfg-type-wlan' - ifcfg-pci-... --> ifcfg-bus-pci-... [#38248] -* Sun Apr 04 2004 poeml@suse.de +* Sat Apr 03 2004 poeml@suse.de - more work on convert_for_getconfig [#35445]: - try to mount sysfs if it is not mounted - do not ignore 'unconfigured' NICs -- the UNIQUE string matches, @@ -2402,7 +2416,7 @@ * Tue Aug 06 2002 ihno@suse.de - New Parameter WAIT_FOR_INTERFACES to wait for interfaces to be configured. Default is nowait (empty value) -* Sat Aug 03 2002 poeml@suse.de +* Fri Aug 02 2002 poeml@suse.de - package Olaf's ifup-802.1q * Thu Aug 01 2002 mmj@suse.de - Add PreReq: for fillup_and_insserv @@ -2633,7 +2647,7 @@ - Lots of script updates, version 0.23.5 * Tue Feb 05 2002 poeml@suse.de - autoconfiscated, version 0.23.4 -* Tue Feb 05 2002 poeml@suse.de +* Mon Feb 04 2002 poeml@suse.de - update ifup-dhcp - add link /sbin/ifstatus-dhcp -> ifup-dhcp - add modify_resolvconf and man page (moved from aaa_base package) ++++++ sysconfig-0.71.8.tar.bz2 -> sysconfig-0.71.9.tar.bz2 ++++++ ++++ 3046 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de