This file is indexed.

/etc/ha.d/resource.d/Delay is in heartbeat 1:3.0.5-3ubuntu2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh
#
#
# License:      GNU General Public License (GPL)
# Support:      linux-ha@lists.linux-ha.org
#
#	This script is a test resource for introducing delay.
#
#	usage: $0  {start|stop|status|monitor}
#	usage: $0  delay {start|stop|status|monitor}
#	usage: $0  startdelay stopdelay {start|stop|status|monitor}
#
#	This is really a test resource script.
#

usage() {
  echo "usage: $0 [delay [stopdelay]] $LEGAL_ACTIONS"
  exit 1
}

. /etc/ha.d/resource.d//hto-mapfuncs

case $# in
  1)	op=$1;;
  2)	OCF_RESKEY_startdelay=$1; export OCF_RESKEY_startdelay; op=$2;;
  3)	OCF_RESKEY_startdelay=$1; 
	OCF_RESKEY_stopdelay=$2; 
	export OCF_RESKEY_startdelay OCF_RESKEY_stopdelay; 
	op=$3;;
  *)	usage;;
esac

if [ -z $OCF_RESKEY_startdelay ]; then
    OCF_RESKEY_startdelay=10
fi

OCF_TYPE=Delay
OCF_RESOURCE_INSTANCE=${OCF_TYPE}_${OCF_RESKEY_startdelay}
export OCF_TYPE OCF_RESOURCE_INSTANCE

ra_execocf $op