This file is indexed.

/etc/init/mounted-var.conf is in mountall 2.36.

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
# mounting-var - Populate /var filesystem
#
# Populates a separate /var filesystem (if any), creating run and lock links

description	"Populate /var filesystem"

start on mounted MOUNTPOINT=/var

task

script
    # Duplicated from mounted-run to handle the case of a separate /var.

    run_migrate () {
	OLD="$1"
	RUN="$2"

	if [ -L "$OLD" ]; then
	    if [ "$(readlink "$OLD")" != "$RUN" ]; then
		# Remove any old (relative?) symlinks.
		rm -f "$OLD"
	    fi
	elif [ -d "$OLD" ]; then
	    # Remove old directories.  This is safe because they are
	    # explicitly ephemeral, and nothing is allowed to use them yet
	    # at this point in the boot.
	    rm -rf "$OLD" 2>/dev/null || true
	fi

	if [ ! -L "$OLD" ]; then
	    ln -fs "$RUN" "$OLD"
	    [ -x /sbin/restorecon ] && /sbin/restorecon "$OLD"
	fi

	return 0
    }

    run_migrate /var/run /run
    run_migrate /var/lock /run/lock
end script