Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package health-checker for openSUSE:Factory checked in at 2023-06-23 21:52:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/health-checker (Old) and /work/SRC/openSUSE:Factory/.health-checker.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "health-checker" Fri Jun 23 21:52:13 2023 rev:21 rq:1094705 version:1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/health-checker/health-checker.changes 2023-05-10 16:16:21.598206465 +0200 +++ /work/SRC/openSUSE:Factory/.health-checker.new.15902/health-checker.changes 2023-06-23 21:52:22.378541969 +0200 @@ -1,0 +2,7 @@ +Thu Jun 22 16:04:47 UTC 2023 - Ignaz Forster <ifors...@suse.com> + +- Update to version 1.9 + * Fix failing subvolume mount checks with certain characters in + mount point [gh#openSUSE/health-checker#14]. + +------------------------------------------------------------------- Old: ---- health-checker-1.8.tar.xz New: ---- health-checker-1.9.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ health-checker.spec ++++++ --- /var/tmp/diff_new_pack.3EmpIN/_old 2023-06-23 21:52:23.002545359 +0200 +++ /var/tmp/diff_new_pack.3EmpIN/_new 2023-06-23 21:52:23.010545403 +0200 @@ -19,7 +19,7 @@ %define _dracutmoduledir %(pkg-config --variable=dracutmodulesdir dracut) Name: health-checker -Version: 1.8 +Version: 1.9 Release: 0 Summary: Service for verifying that important services are running License: GPL-2.0-only ++++++ health-checker-1.8.tar.xz -> health-checker-1.9.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-checker-1.8/NEWS new/health-checker-1.9/NEWS --- old/health-checker-1.8/NEWS 2023-05-09 00:48:17.000000000 +0200 +++ new/health-checker-1.9/NEWS 2023-06-22 17:18:47.000000000 +0200 @@ -2,6 +2,10 @@ Copyright (C) 2017-2020 Thorsten Kukuk et al. +Version 1.9 +* Fix failing subvolume mount checks with certain characters in mount + point [gh#openSUSE/health-checker#14]. + Version 1.8 * Don't rely on t-u's good states in GRUB With the introduction of the "apply" command in transactional-update the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-checker-1.8/configure new/health-checker-1.9/configure --- old/health-checker-1.8/configure 2023-05-09 00:54:14.000000000 +0200 +++ new/health-checker-1.9/configure 2023-06-22 18:04:16.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for health-checker 1.8. +# Generated by GNU Autoconf 2.71 for health-checker 1.9. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, @@ -607,8 +607,8 @@ # Identity of this package. PACKAGE_NAME='health-checker' PACKAGE_TARNAME='health-checker' -PACKAGE_VERSION='1.8' -PACKAGE_STRING='health-checker 1.8' +PACKAGE_VERSION='1.9' +PACKAGE_STRING='health-checker 1.9' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1258,7 +1258,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 health-checker 1.8 to adapt to many kinds of systems. +\`configure' configures health-checker 1.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1325,7 +1325,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of health-checker 1.8:";; + short | recursive ) echo "Configuration of health-checker 1.9:";; esac cat <<\_ACEOF @@ -1420,7 +1420,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -health-checker configure 1.8 +health-checker configure 1.9 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1457,7 +1457,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by health-checker $as_me 1.8, which was +It was created by health-checker $as_me 1.9, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -2409,7 +2409,7 @@ # Define the identity of the package. PACKAGE='health-checker' - VERSION='1.8' + VERSION='1.9' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -3479,7 +3479,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by health-checker $as_me 1.8, which was +This file was extended by health-checker $as_me 1.9, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3534,7 +3534,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -health-checker config.status 1.8 +health-checker config.status 1.9 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-checker-1.8/configure.ac new/health-checker-1.9/configure.ac --- old/health-checker-1.8/configure.ac 2023-05-09 00:48:17.000000000 +0200 +++ new/health-checker-1.9/configure.ac 2023-06-22 17:18:47.000000000 +0200 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(health-checker, 1.8) +AC_INIT(health-checker, 1.9) AM_INIT_AUTOMAKE AC_PREFIX_DEFAULT(/usr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/health-checker-1.8/plugins/btrfs-subvolumes-mounted.sh new/health-checker-1.9/plugins/btrfs-subvolumes-mounted.sh --- old/health-checker-1.8/plugins/btrfs-subvolumes-mounted.sh 2018-01-31 15:06:28.000000000 +0100 +++ new/health-checker-1.9/plugins/btrfs-subvolumes-mounted.sh 2023-06-22 17:18:30.000000000 +0200 @@ -1,10 +1,10 @@ #!/bin/bash run_checks() { - - MOUNTS=`grep "btrfs.*subvol=" /etc/fstab | awk '{print $2}' | sed -e 's|^/||g' -e 's|-|\\\x2d|g' -e 's|\.|\\\x2e|g' -e 's|/|-|g'` + MOUNTS=$(findmnt --types btrfs --options subvol --fstab --output target --raw --noheadings) for i in ${MOUNTS}; do - systemctl is-failed -q $i.mount + path=$(systemd-escape -p -- "$(echo -e ${i})") + systemctl is-failed -q "${path}.mount" test $? -ne 1 && exit 1 done }