Imagemode might have separate /var partition not properly initialized by package installation. Add creation of compat files into tmpfiles.d definition. Move primary place of those files from /var/named to /usr/shared/named, so we even have some place to symlink them from. Originally it had only copy in sample documentation, which may not be installed. These source file should be read-only from named and not modified anyway. Move them to /usr/share/named as read-only, always present sources. Change compat symlinks in /var/named to point to them instead of /etc. Make the doc files only symlinks to those files too, have them there just once. Keep named.ca config file in /etc/named.ca The rest can stay in _datadir, but named.ca can be potentially updated and as such should remain in /etc and its modification kept. Move primary copy into /etc and keep just legacy symlink inside /var/named. Configuration should stay working if the file were modified. Resolves: RHEL-97443
28 lines
708 B
Plaintext
28 lines
708 B
Plaintext
# Configuration of files used in chroot
|
|
# Following files are made available after named-chroot.service start
|
|
# if they are missing or empty in target directory.
|
|
/etc/localtime
|
|
/etc/named.root.key
|
|
/etc/named.ca
|
|
/etc/named.conf
|
|
/etc/named.rfc1912.zones
|
|
/etc/rndc.conf
|
|
/etc/rndc.key
|
|
/etc/named.iscdlv.key
|
|
/etc/crypto-policies/back-ends/bind.config
|
|
/etc/protocols
|
|
/etc/services
|
|
/etc/named.dnssec.keys
|
|
/etc/pki/dnssec-keys
|
|
/etc/named
|
|
/usr/lib64/bind
|
|
/usr/lib/bind
|
|
/usr/share/GeoIP
|
|
/usr/share/named
|
|
/run/named
|
|
/proc/sys/net/ipv4/ip_local_port_range
|
|
# Warning: the order is important
|
|
# If a directory containing $ROOTDIR is listed here,
|
|
# it MUST be listed last. (/var/named contains /var/named/chroot)
|
|
/var/named
|