Hello community,

here is the log from the commit of package sysconfig for openSUSE:Factory 
checked in at 2020-09-25 16:26:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sysconfig (Old)
 and      /work/SRC/openSUSE:Factory/.sysconfig.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysconfig"

Fri Sep 25 16:26:07 2020 rev:188 rq:836080 version:0.85.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/sysconfig/sysconfig.changes      2020-07-26 
16:18:15.544747409 +0200
+++ /work/SRC/openSUSE:Factory/.sysconfig.new.4249/sysconfig.changes    
2020-09-25 16:28:20.579720753 +0200
@@ -1,0 +2,10 @@
+Mon Sep 21 09:29:59 UTC 2020 - Marius Tomaschewski <[email protected]>
+
+- version 0.85.6
+- netconfig: execute chrony/helper in /usr/libexec with fallback
+  to it's previous location in /usr/lib (boo#1176285)
+- netconfig: only write files like /etc/resolv.conf on content
+  change to avoid that e.g. dnsmasq (if running) re-reads the
+  /etc/resolv.conf and re-initializes itself (bsc#1176325)
+
+-------------------------------------------------------------------

Old:
----
  sysconfig-0.85.5.tar.bz2

New:
----
  sysconfig-0.85.6.tar.bz2

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

Other differences:
------------------
++++++ sysconfig.spec ++++++
--- /var/tmp/diff_new_pack.yz8o1G/_old  2020-09-25 16:28:21.119721231 +0200
+++ /var/tmp/diff_new_pack.yz8o1G/_new  2020-09-25 16:28:21.123721234 +0200
@@ -28,7 +28,7 @@
 %define         udevdir        /lib/udev
 %endif
 Name:           sysconfig
-Version:        0.85.5
+Version:        0.85.6
 Release:        0
 Summary:        The sysconfig scheme for traditional network scripts
 License:        GPL-2.0-or-later

++++++ sysconfig-0.85.5.tar.bz2 -> sysconfig-0.85.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/ChangeLog 
new/sysconfig-0.85.6/ChangeLog
--- old/sysconfig-0.85.5/ChangeLog      2020-07-21 15:26:46.000000000 +0200
+++ new/sysconfig-0.85.6/ChangeLog      2020-09-22 13:48:12.000000000 +0200
@@ -1,4 +1,22 @@
-commit 20a00273b415ea9a673dafec4b388d5cb7db212b (HEAD -> master, tag: 
version-0.85.5, github/master)
+commit f4ab18aa8574dbc1309b6f3bbcde52e298ef0817 (mt-hub/release-0.85.6, 
github/pull/28/head, release-0.85.6)
+Author: Marius Tomaschewski <[email protected]>
+Date:   Mon Sep 21 11:41:56 2020 +0200
+
+    version 0.85.6
+
+commit 197a08bf3b4efe5f1021ef84d721db6e87a9e346 (mt-hub/cmp-changes, 
github/pull/27/head, cmp-changes-3)
+Author: Marius Tomaschewski <[email protected]>
+Date:   Thu Sep 17 14:11:03 2020 +0200
+
+    netconfig: only write files on a change (bsc#1176325)
+
+commit fb4d7986b0648f4a85f44f54a72c7cc4d0e0d6b0 (github/pull/26/head, 
github/libexec, libexec)
+Author: Marius Tomaschewski <[email protected]>
+Date:   Wed Sep 9 12:30:23 2020 +0200
+
+    netconfig: chrony/helper now in libexec (boo#1176285)
+
+commit 20a00273b415ea9a673dafec4b388d5cb7db212b (tag: version-0.85.5)
 Author: Marius Tomaschewski <[email protected]>
 Date:   Tue Jul 21 15:20:31 2020 +0200
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/VERSION new/sysconfig-0.85.6/VERSION
--- old/sysconfig-0.85.5/VERSION        2020-07-21 15:24:30.000000000 +0200
+++ new/sysconfig-0.85.6/VERSION        2020-09-22 13:47:29.000000000 +0200
@@ -1 +1 @@
-0.85.5
+0.85.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/configure 
new/sysconfig-0.85.6/configure
--- old/sysconfig-0.85.5/configure      2020-07-21 15:26:35.000000000 +0200
+++ new/sysconfig-0.85.6/configure      2020-09-22 13:47:43.000000000 +0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 # From configure.ac Revision: 1.13 .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for sysconfig 0.85.5.
+# Generated by GNU Autoconf 2.69 for sysconfig 0.85.6.
 #
 # Report bugs to <http://bugs.opensuse.org>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='sysconfig'
 PACKAGE_TARNAME='sysconfig'
-PACKAGE_VERSION='0.85.5'
-PACKAGE_STRING='sysconfig 0.85.5'
+PACKAGE_VERSION='0.85.6'
+PACKAGE_STRING='sysconfig 0.85.6'
 PACKAGE_BUGREPORT='http://bugs.opensuse.org'
 PACKAGE_URL='https://github.com/openSUSE/sysconfig'
 
@@ -1331,7 +1331,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.85.5 to adapt to many kinds of systems.
+\`configure' configures sysconfig 0.85.6 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1401,7 +1401,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of sysconfig 0.85.5:";;
+     short | recursive ) echo "Configuration of sysconfig 0.85.6:";;
    esac
   cat <<\_ACEOF
 
@@ -1515,7 +1515,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-sysconfig configure 0.85.5
+sysconfig configure 0.85.6
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1884,7 +1884,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.85.5, which was
+It was created by sysconfig $as_me 0.85.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2751,7 +2751,7 @@
 
 # Define the identity of the package.
  PACKAGE='sysconfig'
- VERSION='0.85.5'
+ VERSION='0.85.6'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -12838,7 +12838,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.85.5, which was
+This file was extended by sysconfig $as_me 0.85.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -12896,7 +12896,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.85.5
+sysconfig config.status 0.85.6
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/scripts/netconfig.d/dns-bind 
new/sysconfig-0.85.6/scripts/netconfig.d/dns-bind
--- old/sysconfig-0.85.5/scripts/netconfig.d/dns-bind   2018-12-21 
14:12:46.000000000 +0100
+++ new/sysconfig-0.85.6/scripts/netconfig.d/dns-bind   2020-09-21 
11:28:01.000000000 +0200
@@ -103,18 +103,24 @@
     debug "write_named_forwarders: $1 "
 
     TMP_FILE=`netconfig_mktemp "$ROOT$DESTFILE" 0644 0755` || return 3
-    dump_named_forwarders "$@" >> "$TMP_FILE" && {
-        cmp --quiet "$ROOT$DESTFILE" "$TMP_FILE"
-        changed=$?
-    } && mv -f "$TMP_FILE" "$ROOT$DESTFILE"   || {
-        rm -f -- "$TMP_FILE"
-        return 3
-    }
+    if ! dump_named_forwarders "$@" >> "$TMP_FILE" ; then
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
+    if cmp -s -- "$TMP_FILE" "$ROOT$DESTFILE"    ; then
+        rm -f -- "$TMP_FILE" # unchanged
+    elif mv -f -- "$TMP_FILE" "$ROOT$DESTFILE"   ; then
+        changed=1
+    else
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
+
     debug "dns settings written to $DESTFILE"
 
     netconfig_check_and_link "$DESTLINK" "$DESTFILE" "$ROOT"
     updated=$?
+
     test $changed -ne 0 -a $updated -eq 1 || return $updated
+    return $?
 }
 
 function get_dns_settings()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/scripts/netconfig.d/dns-dnsmasq 
new/sysconfig-0.85.6/scripts/netconfig.d/dns-dnsmasq
--- old/sysconfig-0.85.5/scripts/netconfig.d/dns-dnsmasq        2018-12-21 
14:12:46.000000000 +0100
+++ new/sysconfig-0.85.6/scripts/netconfig.d/dns-dnsmasq        2020-09-21 
11:28:01.000000000 +0200
@@ -93,23 +93,29 @@
 function write_dnsmasq_forwarders ()
 {
     local TMP_FILE=""
+    local changed=0
 
     test "X$1" = "X" && return 1
 
     debug "write_dnsmasq_forwarders: $1 "
 
     TMP_FILE=`netconfig_mktemp "$ROOT$RESOLV_FILE" 0644 0755` || return 3
-    dump_dnsmasq_forwarders "$@" >> "$TMP_FILE" && \
-    mv -f -- "$TMP_FILE" "$ROOT$RESOLV_FILE"    || {
-        rm -f -- "$TMP_FILE"
-        return 3
-    }
+    if ! dump_dnsmasq_forwarders "$@" >> "$TMP_FILE" ; then
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
+    if cmp -s -- "$TMP_FILE" "$ROOT$RESOLV_FILE"     ; then
+        rm -f -- "$TMP_FILE" # unchanged
+    elif mv -f -- "$TMP_FILE" "$ROOT$RESOLV_FILE"    ; then
+        changed=1
+    else
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
 
     debug "dns forwarders written to $RESOLV_FILE"
 
     ### note: this file is referenced via resolv-file=$RESOLV_FILE
     ###       in dnsmasq config files -- no need to create a link.
-    return 0
+    test $changed -ne 0
 }
 
 function get_dns_settings()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/scripts/netconfig.d/dns-resolver 
new/sysconfig-0.85.6/scripts/netconfig.d/dns-resolver
--- old/sysconfig-0.85.5/scripts/netconfig.d/dns-resolver       2018-12-21 
14:12:46.000000000 +0100
+++ new/sysconfig-0.85.6/scripts/netconfig.d/dns-resolver       2020-09-21 
11:28:01.000000000 +0200
@@ -125,6 +125,8 @@
 function write_resolv_conf()
 {
     local TMP_FILE=""
+    local changed=0
+    local updated=0
 
     #
     # empty search list is a valid value
@@ -139,15 +141,23 @@
     debug "write_resolv_conf: '$1' '$2'"
 
     TMP_FILE=`netconfig_mktemp "$ROOT$DESTFILE" 0644 0755` || return 3
-    dump_resolv_conf "$@" >> "$TMP_FILE" && \
-    mv -f "$TMP_FILE" "$ROOT$DESTFILE"   || {
-        rm -f -- "$TMP_FILE"
-        return 3
-    }
+    if ! dump_resolv_conf "$@" >> "$TMP_FILE"   ; then
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
+    if cmp -s -- "$TMP_FILE" "$ROOT$DESTFILE"   ; then
+        rm -f -- "$TMP_FILE" # unchanged
+    elif mv -f -- "$TMP_FILE" "$ROOT$DESTFILE"  ; then
+        changed=1
+    else
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
 
     debug "dns settings written to $DESTFILE"
 
     netconfig_check_and_link "$DESTLINK" "$DESTFILE" "$ROOT"
+    updated=$?
+
+    test $changed -ne 0 -a $updated -eq 1 || return $updated
     return $?
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/scripts/netconfig.d/nis 
new/sysconfig-0.85.6/scripts/netconfig.d/nis
--- old/sysconfig-0.85.5/scripts/netconfig.d/nis        2018-12-21 
14:12:46.000000000 +0100
+++ new/sysconfig-0.85.6/scripts/netconfig.d/nis        2020-09-21 
11:28:01.000000000 +0200
@@ -207,19 +207,24 @@
     debug "write_yp_conf"
 
     TMP_FILE=`netconfig_mktemp "$ROOT$DESTFILE" 0644 0755` || return 3
-    dump_yp_conf "$@" >> "$TMP_FILE"           && {
-        cmp --quiet "$ROOT$DESTFILE" "$TMP_FILE"
-        changed=$?
-    } && mv -f -- "$TMP_FILE" "$ROOT$DESTFILE" || {
-        rm -f -- "$TMP_FILE"
-        return 3
-    }
+    if ! dump_yp_conf "$@" >> "$TMP_FILE"        ; then
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
+    if cmp -s -- "$TMP_FILE" "$ROOT$DESTFILE"    ; then
+        rm -f -- "$TMP_FILE" # unchanged
+    elif mv -f -- "$TMP_FILE" "$ROOT$DESTFILE"   ; then
+        changed=1
+    else
+            rm -f -- "$TMP_FILE" ; return 3
+    fi
 
     debug "nis settings written to $DESTFILE"
 
     netconfig_check_and_link "$DESTLINK" "$DESTFILE" "$ROOT"
     updated=$?
+
     test $changed -ne 0 -a $updated -eq 1 || return $updated
+    return $?
 }
 
 function get_uptime()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/scripts/netconfig.d/ntp-runtime 
new/sysconfig-0.85.6/scripts/netconfig.d/ntp-runtime
--- old/sysconfig-0.85.5/scripts/netconfig.d/ntp-runtime        2020-07-21 
14:48:33.000000000 +0200
+++ new/sysconfig-0.85.6/scripts/netconfig.d/ntp-runtime        2020-09-21 
11:28:01.000000000 +0200
@@ -95,13 +95,17 @@
     debug "write_chrony_servers: $1"
 
     TMP_FILE=`netconfig_mktemp "$ROOT$CHRONY_SERVER" 0644 0755` || return 3
-    dump_chrony_servers "$@" >> "$TMP_FILE"         && {
-        cmp --quiet "$ROOT$CHRONY_SERVER" "$TMP_FILE"
-        changed=$?
-    } && mv -f -- "$TMP_FILE" "$ROOT$CHRONY_SERVER" || {
+    if ! dump_chrony_servers "$@" >> "$TMP_FILE"     ; then
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
+    if cmp -s -- "$TMP_FILE" "$ROOT$CHRONY_SERVER"   ; then
+        rm -f -- "$TMP_FILE" # unchanged
+    elif mv -f -- "$TMP_FILE" "$ROOT$CHRONY_SERVER"  ; then
+        changed=1
+    else
         rm -f -- "$TMP_FILE"
         return 3
-    }
+    fi
 
     debug "ntp servers written to $CHRONY_SERVER"
     test $changed -ne 0
@@ -122,13 +126,16 @@
     debug "write_ntpd_servers: $1"
 
     TMP_FILE=`netconfig_mktemp "$ROOT$NTPD_DESTFILE" 0644 0755` || return 3
-    dump_ntpd_servers "$@" >> "$TMP_FILE"           && {
-        cmp --quiet "$ROOT$NTPD_DESTFILE" "$TMP_FILE"
-        changed=$?
-    } && mv -f -- "$TMP_FILE" "$ROOT$NTPD_DESTFILE" || {
-        rm -f -- "$TMP_FILE"
-        return 3
-    }
+    if ! dump_ntpd_servers "$@" >> "$TMP_FILE"       ; then
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
+    if cmp -s -- "$TMP_FILE" "$ROOT$NTPD_DESTFILE"   ; then
+        rm -f -- "$TMP_FILE" # unchanged
+    elif mv -f -- "$TMP_FILE" "$ROOT$NTPD_DESTFILE"  ; then
+        changed=1
+    else
+        rm -f -- "$TMP_FILE" ; return 3
+    fi
 
     debug "ntp servers written to $NTPD_DESTFILE"
     test $changed -ne 0
@@ -233,13 +240,16 @@
 result=$?
 case $result in
 0)  # server list successfuly changed
-    if test -x /usr/lib/chrony/helper ; then
+    for dir in /usr/libexec /usr/lib ; do
+      if test -x "$dir/chrony/helper" ; then
         (
             exec </dev/null 1>/dev/null 2>/dev/null
-            /usr/lib/chrony/helper update-daemon &
+            "$dir/chrony/helper" update-daemon &
         )
         disown -a
-    fi
+        break
+      fi
+    done
     ;;
 1)  # nothing changed; we are finished
     ;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sysconfig-0.85.5/sysconfig.spec 
new/sysconfig-0.85.6/sysconfig.spec
--- old/sysconfig-0.85.5/sysconfig.spec 2020-07-21 15:26:39.000000000 +0200
+++ new/sysconfig-0.85.6/sysconfig.spec 2020-09-22 13:47:46.000000000 +0200
@@ -28,7 +28,7 @@
 %define         udevdir        /lib/udev
 %endif
 Name:           sysconfig
-Version:        0.85.5
+Version:        0.85.6
 Release:        0
 Summary:        The sysconfig scheme for traditional network scripts
 License:        GPL-2.0-or-later


Reply via email to