bind9/bin
Michał Kępień 537765df80 Make stop.pl wait for lock file cleanup
bin/tests/system/stop.pl only waits for the PID file to be cleaned up
while named cleans up the lock file after the PID file.  Thus, the
aforementioned script may consider a named instance to be fully shut
down when in fact it is not.

Fix by also checking whether the lock file exists when determining a
given instance's shutdown status.  This change assumes that if a named
instance uses a lock file, it is called "named.lock", and that if an
lwresd instance uses a lock file, it is called "lwresd.lock".

Also rename clean_pid_file() to pid_file_exists(), so that it is called
more appropriately (it does not clean up the PID file itself, it only
returns the server's identifier if its PID file is not yet cleaned up).

(cherry picked from commit c787a539d2)
2019-03-19 11:03:46 +01:00
..
check doc rebuild 2019-02-20 19:54:40 -08:00
confgen doc rebuild 2019-02-20 19:54:40 -08:00
delv doc rebuild 2019-02-20 19:54:40 -08:00
dig doc rebuild 2019-02-20 19:54:40 -08:00
dnssec cleanup: use dns_secalg_t and dns_dsdigest_t where appropriate 2019-03-08 22:25:27 +11:00
named use client->query.qname 2019-03-11 11:27:45 -07:00
nsupdate Make nsupdate use OS-supplied ephemeral port range 2019-03-06 14:03:09 +01:00
pkcs11 pkcs11-kegen build failed if ECDSA was not supported 2019-03-14 13:15:21 +11:00
python explicitly convert byte to string 2019-03-06 21:15:10 -08:00
rndc doc rebuild 2019-02-20 19:54:40 -08:00
tests Make stop.pl wait for lock file cleanup 2019-03-19 11:03:46 +01:00
tools doc rebuild 2019-02-20 19:54:40 -08:00
win32/BINDInstall Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:25:15 +02:00
Makefile.in update file headers to remove copyright years 2018-03-14 16:40:20 -07:00