This file is indexed.

/usr/bin/oarnodecheckquery is in oar-node 2.5.2-4.1.

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
#!/bin/bash
# $id$

OARUSER=oar
eval CHECKLOGDIR=~$OARUSER/checklogs
CHECKSCRIPTDIR=/etc/oar/check.d
OARNODECHECKRUN=/usr/lib/oar/oarnodecheckrun
OARDODO=/usr/lib/oar/oardodo/oardodo
STAMPFILE=$CHECKSCRIPTDIR/oarnodecheckrun.lastrun
DELAY=3600 # seconds

shopt -s nullglob

if [ -f $STAMPFILE ]; then
  if [ $(expr `date +"%s"` - `stat --printf="%Y" $STAMPFILE`) -ge $DELAY  ]; then
    SUDO=""
    # User $OARUSER MUST be sudoer !
    [ "$UID" -eq 0 ] || SUDO="$OARDODO"
    $SUDO $OARNODECHECKRUN || exit 1
  fi
fi

for f in $CHECKLOGDIR/*; do
	exit 2
done
exit 0