Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package transactional-update for 
openSUSE:Factory checked in at 2026-11-25 16:11:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-update.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-update"

Wed Nov 25 16:11:14 2026 rev:133 rq:1400011 version:6.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes    
    2026-11-13 18:29:41.894990221 +0100
+++ 
/work/SRC/openSUSE:Factory/.transactional-update.new.1340718/transactional-update.changes
   2026-11-25 16:11:16.615079076 +0100
@@ -1,0 +2,9 @@
+Mon Nov 23 16:51:57 UTC 2026 - Ignaz Forster <[email protected]>
+
+- Version 6.2.1
+  * t-u: Fix automatic update selection with single-hyphen
+    [bsc#1289270]
+  * sync-etc-state: Apply the mode of copied directories
+  * configure: declare minimum version of libeconf required
+
+-------------------------------------------------------------------

Old:
----
  transactional-update-6.2.0.tar.gz

New:
----
  transactional-update-6.2.1.tar.gz

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

Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.BohEN5/_old  2026-11-25 16:11:17.780128738 +0100
+++ /var/tmp/diff_new_pack.BohEN5/_new  2026-11-25 16:11:17.784128908 +0100
@@ -26,7 +26,7 @@
 %{!?_distconfdir: %global _distconfdir %{_prefix}%{_sysconfdir}}
 
 Name:           transactional-update
-Version:        6.2.0
+Version:        6.2.1
 Release:        0
 Summary:        Transactional Updates with btrfs and snapshots
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -376,5 +376,3 @@
 %files zypp-config
 %config(noreplace) %{_sysconfdir}/zypp/systemCheck.d/transactional-update.check
 
-%check
-

++++++ transactional-update-6.2.0.tar.gz -> transactional-update-6.2.1.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-6.2.0/NEWS 
new/transactional-update-6.2.1/NEWS
--- old/transactional-update-6.2.0/NEWS 2026-10-22 18:34:53.000000000 +0200
+++ new/transactional-update-6.2.1/NEWS 2026-11-23 17:48:58.000000000 +0100
@@ -2,6 +2,12 @@
 
 Copyright (C) 2016-2025 Thorsten Kukuk, Ignaz Forster et al.
 
+Version 6.2.1 (2026-11-23)
+* t-u: Fix automatic update selection with single-hyphen
+  [bsc#1289270]
+* sync-etc-state: Apply the mode of copied directories
+* configure: declare minimum version of libeconf required
+
 Version 6.2.0 (2026-10-15)
 * Make cleanup management meaningful again by moving it into the
   tukit core; with snapper no cleanup algorithm will be set any
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-6.2.0/README.md 
new/transactional-update-6.2.1/README.md
--- old/transactional-update-6.2.0/README.md    2026-10-22 18:34:53.000000000 
+0200
+++ new/transactional-update-6.2.1/README.md    2026-11-23 17:48:58.000000000 
+0100
@@ -50,6 +50,7 @@
 * **Cockpit** can update transactional systems via the 
[cockpit-tukit](https://github.com/openSUSE/cockpit-tukit) plugin (tukitd).
 * **Salt** contains the 
[salt.executors.transactional\_update](https://docs.saltproject.io/en/latest/ref/executors/all/salt.executors.transactional_update.html)
 executor (transactional-update).
 * **Ansible** also supports transactional-update via the the 
[community.general.zypper](https://docs.ansible.com/ansible/latest/collections/community/general/zypper_module.html)
 module (transactional-update).
+* **mcp-tukit** is an openSUSE centric MCP interface for the tukit 
functionality and integration (tukitd)
 
 ## Caveats
 * A transactional system needs strict separation of applications, 
configuration and user data. Data in /var must not be available during the 
update, as changes in there would necessarily modify the state of the currently 
running system. For better handling of package and admin configuration files 
see the UAPI Group's [Configuration File 
Specification](https://uapi-group.org/specifications/specs/configuration_files_specification/).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-6.2.0/configure.ac 
new/transactional-update-6.2.1/configure.ac
--- old/transactional-update-6.2.0/configure.ac 2026-10-22 18:34:53.000000000 
+0200
+++ new/transactional-update-6.2.1/configure.ac 2026-11-23 17:48:58.000000000 
+0100
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 # Semantic versioning, increase major version on incompatible interface change
-AC_INIT([transactional-update],[6.2.0])
+AC_INIT([transactional-update],[6.2.1])
 # Increase on any interface change and reset revision
 LIBTOOL_CURRENT=10
 # On interface change increase if backwards compatible, reset otherwise
@@ -56,7 +56,7 @@
 AC_PROG_LN_S
 LT_INIT([disable-static])
 
-PKG_CHECK_MODULES([ECONF], [libeconf])
+PKG_CHECK_MODULES([ECONF], [libeconf >= 0.8.6])
 PKG_CHECK_MODULES([SELINUX], [libselinux])
 PKG_CHECK_MODULES([LIBMOUNT], [mount])
 PKG_CHECK_MODULES([LIBRPM], [rpm >= 4.15], AC_DEFINE([HAVE_RPMDBCOOKIE]),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-6.2.0/dracut/sync-etc-state.cpp 
new/transactional-update-6.2.1/dracut/sync-etc-state.cpp
--- old/transactional-update-6.2.0/dracut/sync-etc-state.cpp    2026-10-22 
18:34:53.000000000 +0200
+++ new/transactional-update-6.2.1/dracut/sync-etc-state.cpp    2026-11-23 
17:48:58.000000000 +0100
@@ -364,6 +364,12 @@
                 }
                 if ((sourcestat.stx_mode & S_IFMT) == S_IFDIR) {
                     filesystem::create_directory(currentdir / it->first, 
parentdir / it->first);
+                    // mkdir applies the umask to the copied mode, and an 
existing directory keeps its own mode:
+                    // set it explicitly.
+                    if (lchmod((currentdir / it->first).c_str(), 
sourcestat.stx_mode) == -1) {
+                        cerr << "Error while processing " << it->first << ": ";
+                        perror("lchmod");
+                    }
                 } else if ((sourcestat.stx_mode & S_IFMT) == S_IFLNK) {
                     if 
(filesystem::exists(filesystem::symlink_status(currentdir / it->first))) {
                         filesystem::remove(currentdir / it->first);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/transactional-update-6.2.0/sbin/transactional-update.in 
new/transactional-update-6.2.1/sbin/transactional-update.in
--- old/transactional-update-6.2.0/sbin/transactional-update.in 2026-10-22 
18:34:53.000000000 +0200
+++ new/transactional-update-6.2.1/sbin/transactional-update.in 2026-11-23 
17:48:58.000000000 +0100
@@ -509,7 +509,7 @@
             break
         fi
 
-        if [[ $1 != --* ]]; then
+        if [[ $1 != -* ]]; then
             HAS_COMMAND=1
         fi
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-6.2.0/tests/etc_changes.bats 
new/transactional-update-6.2.1/tests/etc_changes.bats
--- old/transactional-update-6.2.0/tests/etc_changes.bats       2026-10-22 
18:34:53.000000000 +0200
+++ new/transactional-update-6.2.1/tests/etc_changes.bats       2026-11-23 
17:48:58.000000000 +0100
@@ -243,6 +243,7 @@
                echo old > "${dir}/Dir7/ChangeInOld"
                echo old > "${dir}/Dir7/ChangeInNew"
                echo old > "${dir}/Dir7/noChange"
+               mkdir "${dir}/Dir9"
        done
        syncTimestamps "${mockdir_old_etc}"/** "${mockdir_new_etc}"/** 
"${mockdir_syncpoint}"/**
 
@@ -270,11 +271,18 @@
        rm -r "${mockdir_old_etc}/Dir6"
        touch "${mockdir_new_etc}/Dir6/Subdir/NewFileInSubdir"
 
+       # Create a new directory in old only, and change the mode of an 
existing one there
+       mkdir "${mockdir_old_etc}/Dir8"
+       chmod 755 "${mockdir_old_etc}/Dir8"
+       chmod 750 "${mockdir_old_etc}/Dir9"
+
        # Verify touching a directory doesn't trigger overwrite
        echo -n new > "${mockdir_old_etc}/Dir7/ChangeInOld"
        echo -n new > "${mockdir_new_etc}/Dir7/ChangeInNew"
        touch "${mockdir_new_etc}"
 
+       # A stricter umask than the one the directories were created with
+       umask 027
        run $totest "${mockdir_old_etc}" "${mockdir_new_etc}" 
"${mockdir_syncpoint}"
 
        echo "# Verify new directory in old Dir2 directory was copied over"
@@ -299,6 +307,10 @@
        [ "$(cat "${mockdir_new_etc}/Dir7/ChangeInOld")" = "new" ]
        [ "$(cat "${mockdir_new_etc}/Dir7/ChangeInNew")" = "new" ]
        [ "$(cat "${mockdir_new_etc}/Dir7/noChange")" = "old" ]
+       echo "# Verify a directory created in old keeps its mode whatever the 
umask"
+       [ "$(stat --format="%a" "${mockdir_new_etc}/Dir8")" = "755" ]
+       echo "# Verify a mode changed in old is applied to an existing 
directory"
+       [ "$(stat --format="%a" "${mockdir_new_etc}/Dir9")" = "750" ]
 }
 
 @test "File type changes" {

Reply via email to