Blame SOURCES/rear-bz2111049.patch

2f081d
commit 1447530f502305ed08149d9b2a56a51fb91af875
2f081d
Author: Johannes Meixner <jsmeix@suse.com>
2f081d
Date:   Wed May 25 13:51:14 2022 +0200
2f081d
2f081d
    Merge pull request #2808 from rear/jsmeix-exclude-watchdog
2f081d
    
2f081d
    Exclude dev/watchdog* from the ReaR recovery system:
2f081d
    In default.conf add dev/watchdog* to COPY_AS_IS_EXCLUDE
2f081d
    because watchdog functionality is not wanted in the recovery system
2f081d
    because we do not want any automated reboot functionality
2f081d
    while disaster recovery happens via "rear recover",
2f081d
    see https://github.com/rear/rear/pull/2808
2f081d
    Furthermore having a copy of dev/watchdog*
2f081d
    during "rear mkrescue" in ReaR's build area
2f081d
    may even trigger a system crash that is caused by a
2f081d
    buggy TrendMicro ds_am module touching dev/watchdog
2f081d
    in ReaR's build area (/var/tmp/rear.XXX/rootfs),
2f081d
    see https://github.com/rear/rear/issues/2798
2f081d
2f081d
diff --git a/usr/share/rear/conf/default.conf b/usr/share/rear/conf/default.conf
2f081d
index 881a0af0..cb14da8b 100644
2f081d
--- a/usr/share/rear/conf/default.conf
2f081d
+++ b/usr/share/rear/conf/default.conf
2f081d
@@ -1414,7 +1414,12 @@ COPY_AS_IS=( $SHARE_DIR $VAR_DIR )
2f081d
 # We let them being recreated by device mapper in the recovery system during the recovery process.
2f081d
 # Copying them into the recovery system would let "rear recover" avoid the migration process.
2f081d
 # See https://github.com/rear/rear/pull/1393 for details.
2f081d
-COPY_AS_IS_EXCLUDE=( $VAR_DIR/output/\* dev/.udev dev/shm dev/shm/\* dev/oracleasm dev/mapper )
2f081d
+# /dev/watchdog /dev/watchdog\* functionality is not wanted in the ReaR rescue/recovery system
2f081d
+# because we do not want any automated reboot while disaster recovery happens via "rear recover".
2f081d
+# Furthermore having dev/watchdog* during "rear mkrescue" may even trigger a system "crash" that is
2f081d
+# caused by TrendMicro ds_am module touching dev/watchdog in ReaR's build area (/var/tmp/rear.XXX/rootfs).
2f081d
+# See https://github.com/rear/rear/issues/2798
2f081d
+COPY_AS_IS_EXCLUDE=( $VAR_DIR/output/\* dev/.udev dev/shm dev/shm/\* dev/oracleasm dev/mapper dev/watchdog\* )
2f081d
 # Array of user names that are trusted owners of files where RequiredSharedObjects calls ldd (cf. COPY_AS_IS)
2f081d
 # and where a ldd test is run inside the recovery system that tests all binaries for 'not found' libraries.
2f081d
 # The default is 'root' plus those standard system users that have a 'bin' or 'sbin' or 'root' home directory