Hello community,
here is the log from the commit of package transactional-update for
openSUSE:Factory checked in at 2019-02-14 14:00:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
and /work/SRC/openSUSE:Factory/.transactional-update.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update"
Thu Feb 14 14:00:15 2019 rev:37 rq:674950 version:2.13
Changes:
--------
---
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes
2019-02-08 13:45:59.690824134 +0100
+++
/work/SRC/openSUSE:Factory/.transactional-update.new.28833/transactional-update.changes
2019-02-14 14:00:22.924597451 +0100
@@ -1,0 +2,9 @@
+Thu Feb 14 12:14:47 UTC 2019 - [email protected]
+
+- Update to version 2.13
+ - Fix a serious data loss problem (deleting all files in /etc
+ overlays) in case /var/lib/overlay/etc is not part of any
+ snapshot any more.
+ - Avoid error message in case a system has no /etc/fstab.sys
+
+-------------------------------------------------------------------
Old:
----
transactional-update-2.12.tar.xz
New:
----
transactional-update-2.13.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.BixTUn/_old 2019-02-14 14:00:26.312595844 +0100
+++ /var/tmp/diff_new_pack.BixTUn/_new 2019-02-14 14:00:26.316595842 +0100
@@ -17,7 +17,7 @@
Name: transactional-update
-Version: 2.12
+Version: 2.13
Release: 0
Summary: Transactional Updates with btrfs and snapshots
License: GPL-2.0-or-later
++++++ transactional-update-2.12.tar.xz -> transactional-update-2.13.tar.xz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/transactional-update-2.12/NEWS
new/transactional-update-2.13/NEWS
--- old/transactional-update-2.12/NEWS 2019-02-04 14:40:40.000000000 +0100
+++ new/transactional-update-2.13/NEWS 2019-02-14 13:12:11.000000000 +0100
@@ -2,6 +2,12 @@
Copyright (C) 2016, 2017, 2018 Thorsten Kukuk
+Version 2.13
+* Fix a serious data loss problem (deleting all files in /etc
+ overlays) in case /var/lib/overlay/etc is not part of any snapshot
+ any more.
+* Avoid error message in case a system has no /etc/fstab.sys
+
Version 2.12
* Implements support for needs-restart (Fate#326451)
* Adds easy rollback to last known working snapshot by using "last"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/transactional-update-2.12/configure
new/transactional-update-2.13/configure
--- old/transactional-update-2.12/configure 2019-02-04 14:44:16.000000000
+0100
+++ new/transactional-update-2.13/configure 2019-02-14 13:13:32.000000000
+0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for transactional-update 2.12.
+# Generated by GNU Autoconf 2.69 for transactional-update 2.13.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -576,8 +576,8 @@
# Identity of this package.
PACKAGE_NAME='transactional-update'
PACKAGE_TARNAME='transactional-update'
-PACKAGE_VERSION='2.12'
-PACKAGE_STRING='transactional-update 2.12'
+PACKAGE_VERSION='2.13'
+PACKAGE_STRING='transactional-update 2.13'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1249,7 +1249,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 transactional-update 2.12 to adapt to many kinds of
systems.
+\`configure' configures transactional-update 2.13 to adapt to many kinds of
systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1316,7 +1316,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of transactional-update 2.12:";;
+ short | recursive ) echo "Configuration of transactional-update 2.13:";;
esac
cat <<\_ACEOF
@@ -1421,7 +1421,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-transactional-update configure 2.12
+transactional-update configure 2.13
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1476,7 +1476,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by transactional-update $as_me 2.12, which was
+It was created by transactional-update $as_me 2.13, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2339,7 +2339,7 @@
# Define the identity of the package.
PACKAGE='transactional-update'
- VERSION='2.12'
+ VERSION='2.13'
cat >>confdefs.h <<_ACEOF
@@ -4650,7 +4650,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by transactional-update $as_me 2.12, which was
+This file was extended by transactional-update $as_me 2.13, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4707,7 +4707,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //;
s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-transactional-update config.status 2.12
+transactional-update config.status 2.13
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/transactional-update-2.12/configure.ac
new/transactional-update-2.13/configure.ac
--- old/transactional-update-2.12/configure.ac 2019-02-04 14:14:22.000000000
+0100
+++ new/transactional-update-2.13/configure.ac 2019-02-14 13:12:29.000000000
+0100
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 2.12)
+AC_INIT(transactional-update, 2.13)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([sbin/transactional-update.in])
AC_PREFIX_DEFAULT(/usr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/transactional-update-2.12/doc/Makefile.in
new/transactional-update-2.13/doc/Makefile.in
--- old/transactional-update-2.12/doc/Makefile.in 2019-02-04
14:44:16.000000000 +0100
+++ new/transactional-update-2.13/doc/Makefile.in 2019-02-14
13:13:32.000000000 +0100
@@ -329,8 +329,8 @@
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-@ENABLE_REGENERATE_MAN_FALSE@uninstall-local:
@ENABLE_REGENERATE_MAN_FALSE@install-data-local:
+@ENABLE_REGENERATE_MAN_FALSE@uninstall-local:
clean: clean-am
clean-am: clean-generic mostlyclean-am
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/transactional-update-2.12/sbin/transactional-update.in
new/transactional-update-2.13/sbin/transactional-update.in
--- old/transactional-update-2.12/sbin/transactional-update.in 2019-02-04
13:38:55.000000000 +0100
+++ new/transactional-update-2.13/sbin/transactional-update.in 2019-02-14
12:57:31.000000000 +0100
@@ -828,12 +828,15 @@
# Clean up old unused overlays
if [ ${RO_ROOT} == "true" ]; then
- for overlay in /var/lib/overlay/[0-9]* /var/lib/overlay; do
- if ! grep -q "${overlay}/etc"
/.snapshots/*/snapshot/etc/fstab{,.sys}; then
+ shopt -s nullglob
+ for overlay in /var/lib/overlay/[0-9]*/etc /var/lib/overlay/etc; do
+ if [ -e ${overlay} ] && ! grep -qs "${overlay}"
/.snapshots/*/snapshot/etc/fstab{,.sys}; then
log_info "Deleting unused overlay ${overlay}"
rm -rf "${overlay}"
+ rmdir --ignore-fail-on-non-empty "${overlay}/.."
fi
done
+ shopt -u nullglob
fi
fi
@@ -918,7 +921,9 @@
# during early boot - in fact the files are required to be able to
# mount the overlays
cp /etc/fstab "${SNAPSHOT_DIR}/etc"
- cp -a /etc/fstab.sys "${SNAPSHOT_DIR}/etc"
+ if [ -e /etc/fstab.sys ]; then
+ cp -a /etc/fstab.sys "${SNAPSHOT_DIR}/etc"
+ fi
# Migrate fstab.sys' /var and overlay entries to regular fstab
if [ -e "${SNAPSHOT_DIR}/etc/fstab.sys" ] && grep -qE "^overlay /etc"
"${SNAPSHOT_DIR}/etc/fstab.sys"; then