summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorLuflosi <luflosi@luflosi.de>2024-05-31 13:13:41 +0200
committerLuflosi <luflosi@luflosi.de>2024-05-31 13:33:29 +0200
commit8e945401d59dd4a47f7851ab660321da6ad1518d (patch)
treef8fedb15cabafac327189a287a41aeead9a95870 /pkgs/development/python-modules/rangehttpserver
parent4e2290525db49a7389133978743dc8ca4c7744f3 (diff)
bind: make systemd service wait for BIND to be ready
Without this change, the systemd unit will be marked as ready even though BIND has not finished starting yet. This causes other units that depend on BIND to start even though BIND is not ready yet. From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900788: "Bind9 will daemonize itself _when it is ready_." Also modify the NixOS test. With this change, waiting for the unit alone will ensure that BIND is ready to accept queries. I would have expected to see the test failing without this commit but with the `machine.wait_for_open_port(53)` line removed but I found this to not be the case most of the time. This is probably the case because the situation is inherently racy and on my machine BIND happens to start in time most of the time.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions