This file is indexed.

/lib/udev/gfs2_withdraw_helper is in gfs2-utils 3.1.9-2ubuntu1.

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
#!/bin/sh
#
# Do not run this script manually. This script is called by udev on a gfs2
# withdraw uevent and is used to complete the withdraw action and notify the
# kernel.
#

# Sanity checks
if [ "$SUBSYSTEM" != "gfs2" ] || [ "$LOCKPROTO" != "lock_dlm" ] ||
       [ -z "$DEVPATH" ] || [ "$ACTION" != "offline" ]
then
    exit 1 # Nothing to do here
fi

# Try and suspend the device
SYSFS_TOPDIR="/sys"$DEVPATH
DM_NAME=$(cat "$SYSFS_TOPDIR/device/dm/name")
DM_DEV="/dev/mapper/"$DM_NAME

if [ -z "$DM_DEV" ]
then
    /sbin/dmsetup suspend $DM_DEV
fi

# Signal completion of withdraw
WD_ACK="$SYSFS_TOPDIR/lock_module/withdraw"
if [ -f "$WD_ACK" ]
then
    echo "1" > $WD_ACK
fi