Bind9 Container Error

Ed Daniel esdaniel at esdaniel.com
Thu Jan 14 17:33:47 UTC 2021


On 08/01/2021 19:13, Juarez Souza Junior wrote:
> 08-Jan-2021 19:08:54.225 loading configuration from '/etc/bind/named.conf'
> 08-Jan-2021 19:08:54.225 directory '/var/cache/bind' is not writable
> 08-Jan-2021 19:08:54.225 /etc/bind/named.conf.options:7: parsing failed:
> permission denied
> 08-Jan-2021 19:08:54.229 loading configuration: permission denied
> 08-Jan-2021 19:08:54.229 exiting (due to fatal error)
> I've already checked the permissions and seems to be ok.

Check the user/group BIND is using, it does appear to be an
identity/perm issue, unless I'm mistaken. HTH


> 
> I'm using this line command to run:
> docker run --name=bind_test --restart=always --publish
> 192.168.56.1:53:53/udp --publish 192.168.56.1:53:53/tcp --publish
> 127.0.0.1:953:953/tcp -v /var/lib/bind9-data/etc/bind:/etc/bind -v
> /var/lib/bind9-data/var/cache/bind:/var/cache/bind:Z -v
> /var/lib/bind9-data/var/lib/bind:/var/lib/bind:Z -v
> /var/lib/bind9-data/var/log:/var/log:Z internetsystemsconsortium/bind9:9.16
> 
> Could someone give me some help?


More information about the bind-users mailing list