This file is indexed.

/usr/lib/rinse/common/10-resolv.conf.sh is in rinse 3.2.

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
#!/bin/sh
#
#  Ensure the chroot has an /etc/resolv.conf file.
#  Add localhost entry into etc/hosts

#
#  Get the root of the chroot.
#
prefix=$1

#
#  Ensure it exists.
#
if [ ! -d "${prefix}" ]; then
  echo "Serious error - the named directory doesn't exist."
  exit
fi

if [ ! -d "${prefix}/etc/" ]; then
    mkdir -p "${prefix}/etc/"
fi

if ! grep -q localhost ${prefix}/etc/hosts 2>/dev/null; then
    echo "127.0.0.1       localhost" >> ${prefix}/etc/hosts
fi

cp /etc/resolv.conf "${prefix}/etc/"