Hello community,

here is the log from the commit of package transactional-update for 
openSUSE:Factory checked in at 2020-04-09 23:14:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-update.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-update"

Thu Apr  9 23:14:04 2020 rev:54 rq:791674 version:2.21.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes    
    2020-03-30 22:51:45.303784531 +0200
+++ 
/work/SRC/openSUSE:Factory/.transactional-update.new.3248/transactional-update.changes
      2020-04-09 23:14:07.258198237 +0200
@@ -1,0 +2,6 @@
+Mon Apr  6 08:02:55 UTC 2020 - Ignaz Forster <ifors...@suse.com>
+
+- Version 2.21.1
+  - Rework error messages on failing umount [boo#1168389]
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.xtf2ZM/_old  2020-04-09 23:14:07.778198537 +0200
+++ /var/tmp/diff_new_pack.xtf2ZM/_new  2020-04-09 23:14:07.778198537 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           transactional-update
-Version:        2.21
+Version:        2.21.1
 Release:        0
 Summary:        Transactional Updates with btrfs and snapshots
 License:        GPL-2.0-or-later

++++++ transactional-update-2.21.tar.gz -> transactional-update-2.21.1.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-2.21/NEWS 
new/transactional-update-2.21.1/NEWS
--- old/transactional-update-2.21/NEWS  2020-03-30 14:05:53.000000000 +0200
+++ new/transactional-update-2.21.1/NEWS        2020-04-06 10:00:55.000000000 
+0200
@@ -2,6 +2,9 @@
 
 Copyright (C) 2016-2019 Thorsten Kukuk et al.
 
+Version 2.21.1
+* Rework error messages on failing umount [boo#1168389]
+
 Version 2.21
 * Use slave mounts for /proc, /sys & /dev - this will also provide all
   submounts into the update environment
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-2.21/configure.ac 
new/transactional-update-2.21.1/configure.ac
--- old/transactional-update-2.21/configure.ac  2020-03-30 14:05:53.000000000 
+0200
+++ new/transactional-update-2.21.1/configure.ac        2020-04-06 
10:00:55.000000000 +0200
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 2.21)
+AC_INIT(transactional-update, 2.21.1)
 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.21/sbin/transactional-update.in 
new/transactional-update-2.21.1/sbin/transactional-update.in
--- old/transactional-update-2.21/sbin/transactional-update.in  2020-03-30 
14:05:53.000000000 +0200
+++ new/transactional-update-2.21.1/sbin/transactional-update.in        
2020-04-06 10:00:55.000000000 +0200
@@ -314,16 +314,18 @@
        fi
        umount -R ${SNAPSHOT_DIR}/$directory
        if [ $? -ne 0 ]; then
-           log_error "ERROR: umount of $directory failed!"
-           fuser -v ${SNAPSHOT_DIR}/$directory >> ${LOGFILE}
-           lsof ${SNAPSHOT_DIR}/$directory >> ${LOGFILE}
-            # Try again after some time
-            sleep 30
-            umount -R ${SNAPSHOT_DIR}/$directory
-            if [ $? -ne 0 ]; then
-                log_error "ERROR 2nd try: umount of $directory failed!"
-               EXITCODE=1;
-            fi
+           log_error "Warning: First attempt to umount $directory failed!"
+           # Try again after some time
+           sleep 30
+           umount -R ${SNAPSHOT_DIR}/$directory
+           if [ $? -ne 0 ]; then
+               fuser -v ${SNAPSHOT_DIR}/$directory >> ${LOGFILE}
+               lsof ${SNAPSHOT_DIR}/$directory >> ${LOGFILE}
+               log_error "ERROR: second attempt to umount $directory also 
failed!"
+               EXITCODE=1;
+           else
+               log_info "Second attempt to umount $directory succeeded."
+           fi
        fi
     done
 


Reply via email to