When trying to run a pre & post clone command I get the following error:
########## PRE CLONE COMMANDS ##########
[Fri Jul 15 22:15:10 2011] INFO: Running pre clone command PRE_CLONE_CREATE_CMD01 [/usr/local/scAgent3.4.0/config/preclone_cmd_v2.sh]
[Fri Jul 15 22:15:10 2011] DEBUG: Executing command [/usr/local/scAgent3.4.0/config/preclone_cmd_v2.sh]
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Command [/usr/local/scAgent3.4.0/config/preclone_cmd_v2.sh] finished with
exit code: [1]
stdout: []
stderr: [At least one command is not allowed to be executed remotely]
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Reloading configuration from /usr/local/scAgent3.4.0/config/agent.conf
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Reloading configuration finished with
exit code: [0]
stdout: []
stderr: []
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/bin/echo] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/bin/date] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/etc/init.d/iscsi] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/bin/sleep] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/sbin/pvscan] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/sbin/vgscan] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/sbin/vgchange] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/usr/sbin/lvscan] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/bin/mount] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/bin/service] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [/usr/local/scAgent3.4.0/config/postclone_cmd_v2.sh] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Adding [*] to the allowed regex pattern
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Wildcard "*" found, allowing all commands
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] DEBUG: Validating command/sequence [/usr/local/scAgent3.4.0/config/preclone_cmd_v2.sh]
[Fri Jul 15 22:15:10 2011] [leo:9090(3.4.0.1)] ERROR: [agt-00011] Command [/usr/local/scAgent3.4.0/config/preclone_cmd_v2.sh] is not allowed
[Fri Jul 15 22:15:10 2011] ERROR: [scf-00103] Running pre clone command [/usr/local/scAgent3.4.0/config/preclone_cmd_v2.sh] failed with exit code [1] and message [At least one command is not allowed to be executed remotely]
########## PRE CLONE COMMANDS FINISHED WITH FAILURES ##########
########## PRE EXIT COMMANDS ##########
[Fri Jul 15 22:15:10 2011] INFO: No commands defined
########## PRE EXIT COMMANDS FINISHED SUCCESSFULLY ##########