#306 Issue closed
: rear checklayout problem with BACKUP=TSM¶
Labels: enhancement
, bug
alxgu opened issue at 2013-09-26 12:33:¶
Hi,
when I run "rear checklayout" with BACKUP=TSM it always runs against an
error.
The md5sum of /etc/adsm/TSM.PWD
is in the tmp/files.m5sum
but not in
the /var/lib/rear/layout/config/files.md5sum
Log:
2013-09-26 08:43:47 Running 'layout/compare' stage
2013-09-26 08:43:47 Including layout/compare/default/40_check_backup_special_files.sh
2013-09-26 08:43:47 Including layout/compare/default/50_compare_layout.sh
2013-09-26 08:43:47 Disk layout is identical.
2013-09-26 08:43:47 Including layout/compare/default/51_compare_files.sh
--- /tmp/rear.xNeEtr6Kva3SQYK/tmp/files.md5sum 2013-09-26 08:43:47.000000000 +0200
+++ /var/lib/rear/layout/config/files.md5sum 2013-09-26 08:43:41.000000000 +0200
@@ -2,4 +2,3 @@
46e059b6a41927535a5f13959f25bb49 /etc/rear/os.conf
b46971f274e68c8d1365f2dbc42589ff /etc/rear/local.conf
8b024b79a468658332fbf2586737907e /etc/udev/udev.conf
-72d799ca4109332d7b0f815c5ba1d083 /etc/adsm/TSM.PWD
The file 40_check_backup_special_files.sh
should be run on "rear
mkrescue" also. So maybe it should be moved to layout/save/default/
?
gdha commented at 2013-09-27 11:33:¶
Well layout/compare/default/40_check_backup_special_files.sh
is
currently only called by the workflow checklayout
and not by
savelayout
, and yes, you are right the solution is to move it to save
directory.
# grep -r CHECK_CONFIG_FILES .
./layout/compare/default/51_compare_files.sh: for obj in "${CHECK_CONFIG_FILES[@]}" ; do
./layout/compare/default/40_check_backup_special_files.sh: TSM ) CHECK_CONFIG_FILES=( ${CHECK_CONFIG_FILES[@]} /etc/adsm/TSM.PWD ) ;;
./layout/save/default/60_snapshot_files.sh:for obj in "${CHECK_CONFIG_FILES[@]}" ; do
./conf/default.conf:CHECK_CONFIG_FILES=( '/etc/drbd/' '/etc/drbd.conf' '/etc/lvm/lvm.conf' '/etc/multipath.conf' '/etc/rear/' '/etc/udev/udev.conf' )
[Export of Github issue for rear/rear.]