Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473390 - net-dns/nsd: add "reload" command to init script
Summary: net-dns/nsd: add "reload" command to init script
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Tom Hendrikx
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-15 18:22 UTC by Mira Ressel
Modified: 2013-10-30 19:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for init.d/nsd adding a reload command (file_473390.txt,781 bytes, patch)
2013-06-15 18:22 UTC, Mira Ressel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mira Ressel 2013-06-15 18:22:48 UTC
Created attachment 351030 [details, diff]
Patch for init.d/nsd adding a reload command

On receiving a HUP signal, the NSD daemon reloads its zones database. To ease the use of that feature, I added a "reload" command to the init script.
Comment 1 Tom Hendrikx 2013-06-17 07:41:31 UTC
Hi Luis,

Reloading the zone file usually is done after recompiling the zone file (i.e. nsdc rebuild). How do you handle that now? Would it be useful to add that too?
Comment 2 Mira Ressel 2013-06-20 10:56:50 UTC
Yeah, you're right, adding 'nsdc -c "${NSD_CONFIG}" rebuild' to the reload command is a good idea. Just didn't think of that...
Comment 3 Tom Hendrikx 2013-08-09 17:37:08 UTC
I did this in the past (when the ebuild was still in sunrise), but removed all the extra features because they are also available through nsdc. The reason that configtest and patch are included, is because they are already needed for starting and stopping the daemon.
Comment 4 Tom Hendrikx 2013-10-30 19:41:14 UTC
Setting to wontfix, this is just duplicating functionality from nsdc/nsd-control. It only complicates the init script but adds no real value.