commit dhcp for openSUSE:Factory
Hello community, here is the log from the commit of package dhcp for openSUSE:Factory checked in at 2013-09-11 11:29:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dhcp (Old) and /work/SRC/openSUSE:Factory/.dhcp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dhcp" Changes: -------- --- /work/SRC/openSUSE:Factory/dhcp/dhcp.changes 2013-05-02 11:06:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dhcp.new/dhcp.changes 2013-09-11 11:29:57.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Sep 10 13:04:10 UTC 2013 - mt@suse.com + +- Fixed to reload syslog on hostname changes using systemctl as + there is no /etc/init.d/syslog script since syslog-service-2.0 + (bnc#830467). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dhclient-script ++++++ --- /var/tmp/diff_new_pack.NLr5sK/_old 2013-09-11 11:29:58.000000000 +0200 +++ /var/tmp/diff_new_pack.NLr5sK/_new 2013-09-11 11:29:58.000000000 +0200 @@ -256,7 +256,7 @@ if [ -x /usr/bin/host ] ; then if out=`host -W 2 "$new_ip_address" 2>/dev/null` ; then _hostname="`echo "$out" | sed 's:^.* ::; s:\..*::; s:.*[)]::'`" - [[ ${_hostname} =~ ${rx_host} ]] || unset _hostname + [[ ${_hostname} =~ ${rx_host} ]] || unset _hostname if [ "x${_hostname}" != "x" -a \ "x${_hostname}" != "x${current_hostname}" ]; then hostname "${_hostname}" @@ -279,7 +279,11 @@ commit_cached_config_data $interface # reload syslog so it knows the new hostname - /etc/init.d/syslog reload + if test -x /usr/sbin/systemctl ; then + /usr/sbin/systemctl reload syslog.service + else + /etc/init.d/syslog reload + fi fi fi } @@ -311,7 +315,7 @@ # STARTMODE eval `grep --no-filename \ '^[[:space:]]*STARTMODE=' \ - "$SYSCONFIG_CFG_DIR/ifcfg-${interface}" 2>/dev/null` + "$SYSCONFIG_CFG_DIR/ifcfg-${interface}" 2>/dev/null` tmp_startmode=`read_cached_config_data startmode $INTERFACE` [ -n "$tmp_startmode" ] && STARTMODE="$tmp_startmode" @@ -360,7 +364,7 @@ # STARTMODE eval `grep --no-filename \ '^[[:space:]]*STARTMODE=' \ - "$SYSCONFIG_CFG_DIR/ifcfg-${interface}" 2>/dev/null` + "$SYSCONFIG_CFG_DIR/ifcfg-${interface}" 2>/dev/null` tmp_startmode=`read_cached_config_data startmode $INTERFACE` [ -n "$tmp_startmode" ] && STARTMODE="$tmp_startmode" else -- 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