#354 Issue closed: checklayout always exits 1 when using BACKUP=TSM

clausa opened issue at 2014-01-08 13:27:

Hi,

When running 'rear checklayout' it always exits 1 when using BACKUP=TSM

It seems like the 'save' does not take '/etc/adsm/TSM.PWD' file into account - while 'compare' does.

2014-01-08 14:02:34 Relax-and-Recover 1.15 / Git
2014-01-08 14:02:34 Command line options: /usr/sbin/rear -v checklayout
2014-01-08 14:02:34 Using log file: /var/log/rear/docker01.log.lockless
2014-01-08 14:02:34 Including /etc/rear/os.conf
2014-01-08 14:02:34 Including conf/Linux-i386.conf
2014-01-08 14:02:34 Including conf/GNU/Linux.conf
2014-01-08 14:02:34 Including /etc/rear/local.conf
2014-01-08 14:02:34 Using build area '/tmp/rear.VKHtcC136im7S5k'
mkdir: created directory `/tmp/rear.VKHtcC136im7S5k/rootfs'
mkdir: created directory `/tmp/rear.VKHtcC136im7S5k/tmp'
2014-01-08 14:02:34 Running checklayout workflow
2014-01-08 14:02:34 Running 'layout/precompare' stage
2014-01-08 14:02:34 Including layout/precompare/default/11_check_layout_file.sh
2014-01-08 14:02:34 Finished running 'layout/precompare' stage in 0 seconds
2014-01-08 14:02:34 Running 'layout/save' stage
2014-01-08 14:02:34 Including layout/save/GNU/Linux/10_create_layout_file.sh
2014-01-08 14:02:34 Creating disk layout
2014-01-08 14:02:34 Preparing layout directory.
2014-01-08 14:02:35 Including layout/save/GNU/Linux/20_partition_layout.sh
2014-01-08 14:02:35 Saving disk partitions.
2014-01-08 14:02:35 Including layout/save/GNU/Linux/21_raid_layout.sh
2014-01-08 14:02:35 Including layout/save/GNU/Linux/22_lvm_layout.sh
2014-01-08 14:02:35 Saving LVM layout.
2014-01-08 14:02:35 Including layout/save/GNU/Linux/23_filesystem_layout.sh
2014-01-08 14:02:35 Saving Filesystem layout.
2014-01-08 14:02:35 Including layout/save/GNU/Linux/24_swaps_layout.sh
2014-01-08 14:02:35 Saving Swap information.
2014-01-08 14:02:35 Including layout/save/GNU/Linux/25_drbd_layout.sh
2014-01-08 14:02:35 Including layout/save/GNU/Linux/26_crypt_layout.sh
2014-01-08 14:02:35 Including layout/save/GNU/Linux/27_hpraid_layout.sh
2014-01-08 14:02:35 Including layout/save/GNU/Linux/28_multipath_layout.sh
2014-01-08 14:02:35 Including layout/save/default/30_list_dependencies.sh
2014-01-08 14:02:35 Including layout/save/GNU/Linux/30_save_diskbyid_mappings.sh
2014-01-08 14:02:35 Saved diskbyid_mappings
2014-01-08 14:02:35 Including layout/save/default/31_include_exclude.sh
2014-01-08 14:02:35 Including layout/save/default/32_autoexclude.sh
2014-01-08 14:02:36 Including layout/save/default/33_remove_exclusions.sh
2014-01-08 14:02:36 Including layout/save/default/34_generate_mountpoint_device.sh
2014-01-08 14:02:36 Including layout/save/GNU/Linux/35_copy_drbdtab.sh
2014-01-08 14:02:36 Including layout/save/GNU/Linux/50_extract_vgcfg.sh
2014-01-08 14:02:36 Including layout/save/GNU/Linux/51_current_disk_usage.sh
2014-01-08 14:02:36 Including layout/save/default/60_snapshot_files.sh
2014-01-08 14:02:36 Finished running 'layout/save' stage in 2 seconds
2014-01-08 14:02:36 Running 'layout/compare' stage
2014-01-08 14:02:36 Including layout/compare/default/40_check_backup_special_files.sh
2014-01-08 14:02:36 Including layout/compare/default/50_compare_layout.sh
2014-01-08 14:02:36 Disk layout is identical.
2014-01-08 14:02:36 Including layout/compare/default/51_compare_files.sh
--- /tmp/rear.VKHtcC136im7S5k/tmp/files.md5sum  2014-01-08 14:02:36.147191291 +0100
+++ /var/lib/rear/layout/config/files.md5sum    2014-01-08 13:55:20.755938988 +0100
@@ -2,4 +2,3 @@
 eeb41bda21b549befdc43ea74b784e04  /etc/rear/local.conf
 cf7d1bc92c76a8d529a72e7b241f45c7  /etc/rear/os.conf
 8b024b79a468658332fbf2586737907e  /etc/udev/udev.conf
-56dd453e3f82092afd4a2089696812f0  /etc/adsm/TSM.PWD
2014-01-08 14:02:36 Configuration files have changed.
2014-01-08 14:02:36 Finished running 'layout/compare' stage in 0 seconds
2014-01-08 14:02:36 Finished running checklayout workflow
2014-01-08 14:02:36 Running exit tasks.
2014-01-08 14:02:36 Finished in 2 seconds
2014-01-08 14:02:36 Removing build area /tmp/rear.VKHtcC136im7S5k
rmdir: removing directory, `/tmp/rear.VKHtcC136im7S5k'
2014-01-08 14:02:36 End of program reached

clausa commented at 2014-01-08 13:27:

Duplicate of 354 :-(


[Export of Github issue for rear/rear.]