Lines Matching refs:named_chrootdir
19 required_dirs="$named_chrootdir" # if it is set, it must exist
81 if [ -z "$named_chrootdir" ]; then
94 # are made in run_rc_command(), we can safely assume ${named_chrootdir}
101 if ! [ -d "${named_chrootdir}${named_plugindir}" ]; then
102 mkdir -p -m 755 "${named_chrootdir}${named_plugindir}"
103 chown root:wheel "${named_chrootdir}${named_plugindir}"
106 copy_if_newer "${named_chrootdir}" \
112 copy_if_newer "${named_chrootdir}" "/usr/libexec" "named-xfer"
113 ln -fs "${named_chrootdir}/var/run/ndc" /var/run/ndc
118 if ! [ -c "${named_chrootdir}/dev/$i" ]; then
119 rm -f "${named_chrootdir}/dev/$i"
121 /bin/pax -rw -pe "$i" "${named_chrootdir}/dev" )
126 named_migrate /etc/namedb "${named_chrootdir}"
131 ! [ -r "${named_chrootdir}/etc/$i" ]
133 mv "/etc/$i" "${named_chrootdir}/etc/$i"
134 ln -s "${named_chrootdir}/etc/$i" "/etc/$i"
138 if ! [ -r ${named_chrootdir}/etc/named.conf ] &&
139 [ -r ${named_chrootdir}/etc/namedb/named.conf ]
141 ln -s namedb/named.conf "${named_chrootdir}/etc"
145 cmp -s /etc/localtime "${named_chrootdir}/etc/localtime" ||
146 cp -p /etc/localtime "${named_chrootdir}/etc/localtime"
150 mkdir -p "${named_chrootdir}${piddir}" "${piddir}"
151 chmod 755 "${named_chrootdir}${piddir}" "${piddir}"
152 chown named:named "${named_chrootdir}${piddir}" "${piddir}"
153 ln -fs "${named_chrootdir}${pidfile}" "${pidfile}"
157 rc_flags="-u named -t ${named_chrootdir} $rc_flags"