Skip to content

bengentil/bind-deadlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bind deadlock

This repo contains docker image to reproduce a deadlock with concurrent rndc addzone/delzone commands

How to reproduce

$ docker build -f Dockerfile.916 -t bind-deadlock:916 .
$ docker run --rm -it --name bind-deadlock-916 --cap-add=SYS_PTRACE bind-deadlock:916

If bind becomes unreachable for 30s a backtrace will be generated and the last logs will be displayed

You can then exec gdb in another shell to debug the deadlocked named instance.

$ docker exec -it bind-deadlock-916 bash
root@cccfd8fea3a8:/# gdb -p $(cat /var/run/named/named.pid) /usr/sbin/named

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages