Bug#906438: nsd initscript improve stop action for chrooted daemon

2018-11-05 Thread harald
Hi Markus, thanks and keep up the good work :-). Kind regards Harald Jenny

Bug#906438: nsd initscript improve stop action for chrooted daemon

2018-11-02 Thread Markus Schade
Hi Harald, I have included your simple fix in git for the next release: https://salsa.debian.org/dns-team/nsd/commit/ea3dafa968dbc3768184fda5da9cc9c3c3506c83 Thanks! Best regards, Markus

Bug#906438: nsd initscript improve stop action for chrooted daemon

2018-10-29 Thread harald
Hi, > The nsd-checkconf approach seems most robust to me. I guess so too. > but in general, > pidfiles are an abomination, and any robust supervisor should already be > able to keep track of the processes that it has spawned in the past. Well they are a relict of the past times where everythin

Bug#906438: nsd initscript improve stop action for chrooted daemon

2018-10-29 Thread Daniel Kahn Gillmor
On Mon 2018-10-29 14:07:33 +0100, har...@a-little-linux-box.at wrote: > It seems the problem with the initscript is my chrooted nsd setup, if > PIDFILE is not defined in the initscript it automatically gets set to > /var/run/$NAME.pid (which is not true in a chrooted setup). So I guess > adding the

Bug#906438: nsd initscript improve stop action for chrooted daemon

2018-10-29 Thread harald
It seems the problem with the initscript is my chrooted nsd setup, if PIDFILE is not defined in the initscript it automatically gets set to /var/run/$NAME.pid (which is not true in a chrooted setup). So I guess adding the PIDFILE line in the initscript is not a general need but just for people

Bug#906438: nsd initscript improve stop action

2018-10-26 Thread harald
Hi Daniel, you're right, it should work without the nsd-control - it seems the problem is the missing defintion of PIDFILE - adding the following line to the init script makes nsd terminate instantly: PIDFILE=$(nsd-checkconf -o pidfile /etc/nsd/nsd.conf) Without PIDFILE the TERM signal doesn't

Bug#906438: nsd initscript improve stop action

2018-10-26 Thread Daniel Kahn Gillmor
On Fri 2018-08-17 15:48:32 +, Harald Jenny wrote: > the stop action of the current initscript takes a long time to stop > the daemon, please find attached a patch which makes stopping faster. Do you know why it takes a long time to stop? without this change, it's using the standard do_stop_cm

Bug#906438: nsd initscript improve stop action

2018-08-17 Thread Harald Jenny
Package: nsd Version: 4.1.22-2 Severity: wishlist Tags: patch Dear Maintainer, the stop action of the current initscript takes a long time to stop the daemon, please find attached a patch which makes stopping faster. Kind regards Harald Jenny -- System Information: Debian Release: buster/sid