This file is indexed.

/etc/init/idmapd-mounting.conf is in nfs-common 1:1.2.8-9ubuntu12.

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
# idmapd-mounting

description "Block the mounting event for NFS4 filesytems until idmapd is running"
author "Steve Langasek <steve.langasek@canonical.com>"

instance $MOUNTPOINT

start on mounting TYPE=nfs* MOUNTPOINT!=/
stop on started idmapd or stopped idmapd
task

# This is required so that the task is still considered
# successful when it gets killed
normal exit TERM

script

  status idmapd | grep -q "start/running" && exit 0

  # If it's already starting we'll get killed by the impending 'stop on
  # started idmapd' 
  # If it wasn't already starting, we'll either get killed by the stop
  # on started or stopped.
  # So, its safe to sleep forever here and rely on upstart to kill us,

  while sleep 3600; do :; done
end script