#1461 PR merged: Add dir /etc/adsm dir to COPY_AS_IS_TSM (#1452)

Labels: enhancement, fixed / solved / done, minor bug

schabrolles opened issue at 2017-08-29 14:29:

New TSM version (since v8.1.2) needs to have additional file copy to Rescue media in order to work.
All those new files are located in /etc/adsm directory.

new files in /etc/adsm
-rw-rw-rw- 1 root root 80 Aug 23 09:41 spclicert.rdb
-rw-rw-rw- 1 root root 80 Aug 23 09:41 spclicert.crl
-rw------- 1 root root 193 Aug 23 09:41 spclicert.sth
-rw-rw-rw- 1 root root 5080 Aug 23 09:41 spclicert.kdb
-rw------- 1 root root 193 Aug 23 09:41 TSM.sth
-rw-rw-rw- 1 root root 645 Aug 23 09:41 TSM.IDX
-rw-rw-rw- 1 root root 3260 Aug 23 09:41 TSM.KDB

Currently :

COPY_AS_IS_TSM=( /etc/adsm/TSM.PWD /opt/tivoli/tsm/client /usr/local/ibm/gsk8* )

Proposed :

COPY_AS_IS_TSM=( /etc/adsm /opt/tivoli/tsm/client /usr/local/ibm/gsk8* )

This change should solve the issue in TSM 8.1.2 and should be compatible with older TSM version
(Thanks to @RolfWeilen for the proposal in #1452)

schabrolles commented at 2017-08-30 18:40:

@schlomo, I think we should also add those files to $CHECK_CONFIG_FILE.
We must update the rescue image if the TSM password is updated. Can we easily add several files ?

CHECK_CONFIG_FILES=( ${CHECK_CONFIG_FILES[@]} /etc/adsm )

or may be :

CHECK_CONFIG_FILES=( ${CHECK_CONFIG_FILES[@]} /etc/adsm/* )

[Export of Github issue for rear/rear.]