bind-chroot is not re-positioning my forward and reverse tables

Reindl Harald h.reindl at thelounge.net
Sun Jun 27 23:01:22 UTC 2021



Am 28.06.21 um 00:44 schrieb ToddAndMargo via bind-users:
> On 6/27/21 3:40 PM, ToddAndMargo via bind-users wrote:
>> On 6/26/21 7:31 PM, ToddAndMargo via bind-users wrote:
>>> On 6/24/21 9:00 PM, ToddAndMargo via bind-users wrote:
>>>> The goal is to have bind-chroot do its thing
>>>
>>> mount --bind
>>>
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1972022#c3
>>>
>>> It is not occurring on my zone files.  Is it suppose to?
>>
>>
>> I have moved my zone fines to /var/named
>>
>> Mount bind still does not get them.  I had to
>> manually copy them over.
>>
>>
>> zone "abc.local" {
>>      type master;
>>      # file "/var/named/chroot/var/named/abc.hosts";
>>      file "abc.hosts";
>>          allow-update { key DHCP_UPDATER; };
>> #       allow-update { 127.0.0.1; };
>> };
>>
>> zone "255.168.192.in-addr.arpa" {
>>      type master;
>>      # file "/var/named/chroot/var/named/abc.hosts.rev";
>>      file "abc.hosts.rev";
>>          allow-update { key DHCP_UPDATER; };
>> #       allow-update { 127.0.0.1; };
>> };
> 
> I am beginning to wonder if mount bind does not
> mount bind your zone files, only /etc/named.conf and
> named.root.key

seriosly i am beginning to wonder if you should simply give up bind-chroot

it's not the job of the chroot bind-mount setup to mount each and every 
file and 'file "abc.hosts.rev"' without any path makes no sense

just write your files where they are expected from the viewpoint of the 
chroot and ignore "/var/named/chroot" in your configs because it simply 
don't exist from the viewpoint of the process running inside the chroot

anyways, that's not a bind topic at all


More information about the bind-users mailing list