Hello community,
here is the log from the commit of package transactional-update for
openSUSE:Factory checked in at 2020-10-18 16:18:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
and /work/SRC/openSUSE:Factory/.transactional-update.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update"
Sun Oct 18 16:18:29 2020 rev:62 rq:841734 version:2.27
Changes:
--------
---
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes
2020-09-28 14:28:34.510122149 +0200
+++
/work/SRC/openSUSE:Factory/.transactional-update.new.3486/transactional-update.changes
2020-10-18 16:18:35.620415312 +0200
@@ -1,0 +2,9 @@
+Wed Oct 14 09:32:15 UTC 2020 - Ignaz Forster <[email protected]>
+
+- Version 2.27
+ - Add support for network systemd-resolvd network connections in t-u
+ environment
+ - Mount /var/lib/ca-certificates read-write to prevent SELinux error
+ - Prevent calling transactional-update from within transactional-update
+
+-------------------------------------------------------------------
Old:
----
transactional-update-2.26.tar.gz
New:
----
transactional-update-2.27.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.c8ZPto/_old 2020-10-18 16:18:36.780415829 +0200
+++ /var/tmp/diff_new_pack.c8ZPto/_new 2020-10-18 16:18:36.784415831 +0200
@@ -17,7 +17,7 @@
Name: transactional-update
-Version: 2.26
+Version: 2.27
Release: 0
Summary: Transactional Updates with btrfs and snapshots
License: GPL-2.0-or-later
++++++ transactional-update-2.26.tar.gz -> transactional-update-2.27.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/transactional-update-2.26/NEWS
new/transactional-update-2.27/NEWS
--- old/transactional-update-2.26/NEWS 2020-09-26 16:29:26.000000000 +0200
+++ new/transactional-update-2.27/NEWS 2020-10-14 11:30:17.000000000 +0200
@@ -2,6 +2,12 @@
Copyright (C) 2016-2019 Thorsten Kukuk et al.
+Version 2.27
+* Add support for network systemd-resolvd network connections in t-u
+ environment
+* Mount /var/lib/ca-certificates read-write to prevent SELinux error
+* Prevent calling transactional-update from within transactional-update
+
Version 2.26
* Fix broken sync for second snapshot [boo#1176989]
* Add new options to allow separate cleanup of snapshots and overlays
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/transactional-update-2.26/configure.ac
new/transactional-update-2.27/configure.ac
--- old/transactional-update-2.26/configure.ac 2020-09-26 16:29:26.000000000
+0200
+++ new/transactional-update-2.27/configure.ac 2020-10-14 11:30:17.000000000
+0200
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 2.26)
+AC_INIT(transactional-update, 2.27)
AM_INIT_AUTOMAKE
AC_PREFIX_DEFAULT(/usr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/transactional-update-2.26/sbin/transactional-update.in
new/transactional-update-2.27/sbin/transactional-update.in
--- old/transactional-update-2.26/sbin/transactional-update.in 2020-09-26
16:29:26.000000000 +0200
+++ new/transactional-update-2.27/sbin/transactional-update.in 2020-10-14
11:30:17.000000000 +0200
@@ -528,6 +528,16 @@
done
}
+check_resolved_resolvconf() {
+ [ -L /etc/resolv.conf ] || return 0
+ local resolveddir="/run/systemd/resolve"
+ local r="`readlink /etc/resolv.conf`"
+ if [ "${r%/*}" = "$resolveddir" ]; then
+ mkdir -p "${SNAPSHOT_DIR}$resolveddir"
+ cp "$resolveddir"/*.conf "${SNAPSHOT_DIR}$resolveddir"
+ fi
+}
+
ORIG_ARGS=("$@")
while [ 1 ]; do
@@ -740,6 +750,12 @@
TELEM_CLASS="update"
fi
+# Prevent running transactional-update inside transactional-update
+if [ -n "${TRANSACTIONAL_UPDATE}" ]; then
+ log_error "Cannot call transactional-update from within
transactional-update environment!"
+ exit 1
+fi
+
# Check if this is a self-updated transactional-update; if it isn't lock and
# check for update
if [ -z "${TA_UPDATE_TMPFILE}" ]; then
@@ -1196,10 +1212,12 @@
cp -r /run/netconfig ${SNAPSHOT_DIR}/run/
fi
+ check_resolved_resolvconf
+
# Create bind mount for CA certificates to support HTTPS connections
if [ ${HAS_SEPARATE_VAR} -eq 1 ]; then
mkdir -p ${SNAPSHOT_DIR}/var/lib/ca-certificates
- mount -o bind,ro /var/lib/ca-certificates
${SNAPSHOT_DIR}/var/lib/ca-certificates
+ mount -o bind /var/lib/ca-certificates
${SNAPSHOT_DIR}/var/lib/ca-certificates
fi
# Do we need to cleanup the /var/cache directory?