Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rear checklayout problem with BACKUP=TSM #306

Closed
alxgu opened this issue Sep 26, 2013 · 1 comment
Closed

rear checklayout problem with BACKUP=TSM #306

alxgu opened this issue Sep 26, 2013 · 1 comment
Assignees
Labels
bug The code does not do what it is meant to do enhancement Adaptions and new features
Milestone

Comments

@alxgu
Copy link
Contributor

alxgu commented Sep 26, 2013

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/ ?

@ghost ghost assigned gdha Sep 27, 2013
@gdha
Copy link
Member

gdha commented Sep 27, 2013

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' )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The code does not do what it is meant to do enhancement Adaptions and new features
Projects
None yet
Development

No branches or pull requests

2 participants