This file is indexed.

/etc/init/statd.conf is in nfs-common 1:1.2.8-6ubuntu1.

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

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
42
43
# statd - NSM status monitor

description	"NSM status monitor"
author		"Steve Langasek <steve.langasek@canonical.com>"

# ON_BOOT is set to y in portmap's special portmap-boot.conf
# It will not be set when users run 'restart portmap' or 'start portmap'
# This is so that we don't start until we have local filesystems on
# bootup but we also restart whenever portmap is restarted. -Clint Byrum
#
# The case where we need to make sure statd is started on mounting
# TYPE=nfs is handled in the "statd-mounting" job.
#
start on (started portmap ON_BOOT=
          or (virtual-filesystems and started portmap ON_BOOT=y))
stop on stopping portmap

expect fork
respawn

env DEFAULTFILE=/etc/default/nfs-common

pre-start script
	if [ -f "$DEFAULTFILE" ]; then
	    . "$DEFAULTFILE"
	fi

	[ "x$NEED_STATD" != xno ] || { stop; exit 0; }
	logger -t statd-pre-start "$UPSTART_EVENTS" || true
	echo UPSTART_EVENTS = "$UPSTART_EVENTS"

    exec sm-notify
end script

script
	if [ -f "$DEFAULTFILE" ]; then
	    . "$DEFAULTFILE"
	fi

	if [ "x$NEED_STATD" != xno ]; then
		exec rpc.statd -L $STATDOPTS
	fi
end script