Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package os-update for openSUSE:Factory checked in at 2022-11-04 17:37:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/os-update (Old) and /work/SRC/openSUSE:Factory/.os-update.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-update" Fri Nov 4 17:37:35 2022 rev:3 rq:1033455 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/os-update/os-update.changes 2022-10-31 12:15:16.742378809 +0100 +++ /work/SRC/openSUSE:Factory/.os-update.new.2275/os-update.changes 2022-11-04 17:41:25.114833269 +0100 @@ -1,0 +2,11 @@ +Fri Nov 4 07:36:37 UTC 2022 - Thorsten Kukuk <ku...@suse.com> + +- Update to version 1.3 + - Restart services: don't restart os-update itself during update + +------------------------------------------------------------------- +Thu Nov 3 22:04:10 UTC 2022 - Thorsten Kukuk <ku...@suse.com> + +- Require zypper-needs-restarting + +------------------------------------------------------------------- Old: ---- os-update-1.2.tar.xz New: ---- os-update-1.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ os-update.spec ++++++ --- /var/tmp/diff_new_pack.oTulXi/_old 2022-11-04 17:41:25.858837156 +0100 +++ /var/tmp/diff_new_pack.oTulXi/_new 2022-11-04 17:41:25.862837177 +0100 @@ -21,7 +21,7 @@ %endif Name: os-update -Version: 1.2 +Version: 1.3 Release: 0 Summary: Updates the system regular to stay current and safe License: GPL-2.0-or-later @@ -30,6 +30,7 @@ Source99: os-update-rpmlintrc BuildRequires: pkgconfig BuildRequires: pkgconfig(systemd) +Requires: zypper-needs-restarting Recommends: rebootmgr BuildArch: noarch ++++++ os-update-1.2.tar.xz -> os-update-1.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.2/NEWS new/os-update-1.3/NEWS --- old/os-update-1.2/NEWS 2022-10-31 10:51:18.000000000 +0100 +++ new/os-update-1.3/NEWS 2022-11-04 07:24:35.000000000 +0100 @@ -1,3 +1,6 @@ +Version 1.3 + - Don't restart os-update service itself + Version 1.2 - Support restart of updated services diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.2/README.md new/os-update-1.3/README.md --- old/os-update-1.2/README.md 2022-06-13 08:33:46.000000000 +0200 +++ new/os-update-1.3/README.md 2022-10-31 11:02:02.000000000 +0100 @@ -13,12 +13,19 @@ *SUSE Linux Enterprise*) or to apply only security updates (e.g. `zypper patch --category security`). +## CONFIGURATION OPTIONS + +**UPDATE_CMD**="auto" - Specifies how to update the system. Valid values are "auto", "dup", "up" and +"security". "auto" will select the best fitting command depending on the OS. + +**REBOOT_CMD**="auto" - Specifies how the system will be rebooted in case an update requires this. Valid values are "auto", "rebootmgr" and "reboot". "auto" will use rebootmgr if installed and running, else `systemctl reboot`. + +**RESTART_SERVICES**="yes" - Specifies if after a successful update services should automatically restarted, if they are still using old libraries. + +**IGNORE_SERVICES_FROM_RESTART**="udev dbus" - Specifies a list of services which should not be restarted + ## CONFIGURATION FILES -/usr/etc/os-update.conf -: Vendor provided configuration file, contains the defaults. +**/usr/etc/os-update.conf** - Vendor provided configuration file, contains the defaults. -/etc/os-update.conf -: Admin provided configuration file, should only contain the variables which -were changed by the system administrator compared to the vendor configuration -file. +**/etc/os-update.conf** - Admin provided configuration file, should only contain the variables which were changed by the system administrator compared to the vendor configuration file. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.2/configure new/os-update-1.3/configure --- old/os-update-1.2/configure 2022-10-31 10:51:26.000000000 +0100 +++ new/os-update-1.3/configure 2022-11-04 07:24:43.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for os-update 1.2. +# Generated by GNU Autoconf 2.69 for os-update 1.3. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='os-update' PACKAGE_TARNAME='os-update' -PACKAGE_VERSION='1.2' -PACKAGE_STRING='os-update 1.2' +PACKAGE_VERSION='1.3' +PACKAGE_STRING='os-update 1.3' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1214,7 +1214,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 os-update 1.2 to adapt to many kinds of systems. +\`configure' configures os-update 1.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1280,7 +1280,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of os-update 1.2:";; + short | recursive ) echo "Configuration of os-update 1.3:";; esac cat <<\_ACEOF @@ -1370,7 +1370,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -os-update configure 1.2 +os-update configure 1.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1387,7 +1387,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by os-update $as_me 1.2, which was +It was created by os-update $as_me 1.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2250,7 +2250,7 @@ # Define the identity of the package. PACKAGE='os-update' - VERSION='1.2' + VERSION='1.3' cat >>confdefs.h <<_ACEOF @@ -3124,7 +3124,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by os-update $as_me 1.2, which was +This file was extended by os-update $as_me 1.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3177,7 +3177,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -os-update config.status 1.2 +os-update config.status 1.3 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/os-update-1.2/configure.ac new/os-update-1.3/configure.ac --- old/os-update-1.2/configure.ac 2022-10-31 10:51:23.000000000 +0100 +++ new/os-update-1.3/configure.ac 2022-11-04 07:24:10.000000000 +0100 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(os-update, 1.2) +AC_INIT(os-update, 1.3) AM_INIT_AUTOMAKE AC_PREFIX_DEFAULT(/usr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.2/src/os-update.in new/os-update-1.3/src/os-update.in --- old/os-update-1.2/src/os-update.in 2022-10-31 10:38:12.000000000 +0100 +++ new/os-update-1.3/src/os-update.in 2022-11-04 07:22:53.000000000 +0100 @@ -60,8 +60,7 @@ case "$REBOOT_CMD" in "auto") if [ -x /usr/sbin/rebootmgrctl ]; then - /usr/sbin/rebootmgrctl is-active -q - if [ $? -eq 0 ]; then + if ! /usr/sbin/rebootmgrctl is-active -q; then /usr/sbin/rebootmgrctl reboot else systemctl reboot @@ -75,8 +74,7 @@ log_error "ERROR: rebootmgrctl not installed" exit 1 fi - /usr/sbin/rebootmgrctl is-active -q - if [ $? -eq 0 ]; then + if ! /usr/sbin/rebootmgrctl is-active -q; then log_error "ERROR: rebootmgrd not running" exit 1 fi @@ -123,7 +121,7 @@ break fi done - if [ "$ignore" != "$service" ]; then + if [ "$ignore" != "$service" ] && [ "$service" != "os-update" ]; then log_info "Restarting $service" systemctl try-restart "$service".service fi