Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184871 - net-dns/pdnsd - add reload function to pdnsd-online initscript
Summary: net-dns/pdnsd - add reload function to pdnsd-online initscript
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 16:43 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2007-07-13 07:48 UTC (History)
0 users

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


Attachments
pdnsd.online.diff (pdnsd.online.diff,629 bytes, patch)
2007-07-10 16:45 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
pdnsd-1.2.5.ebuild.diff (pdnsd-1.2.5.ebuild.diff,827 bytes, patch)
2007-07-10 16:47 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-07-10 16:43:46 UTC
Hi,

I'd like to have pdnsd-online iniscript enhanced so that I can reload pdnsd's configfile when I changed something inside that file. Currently I have to invoke "pdnsd-ctlconfig /etc/pdnsd/pdnsd.conf" which could also be done by the initscript via "/etc/init.d/pdnsd-online reload".

I'll attach two diff to show you what I mean.

Cheers
Poly-C

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-07-10 16:45:23 UTC
Created attachment 124438 [details, diff]
pdnsd.online.diff

diff for the pdnsd-online initscript.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-07-10 16:47:43 UTC
Created attachment 124440 [details, diff]
pdnsd-1.2.5.ebuild.diff

This diff only adds some more lines which get echo-ed into /etc/conf.d/pdnsd-online file. I added PDNSD_CONFIG variable which can be used when pdnsd.conf is not in /etc/pdnsd/
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-07-13 07:48:20 UTC
Fixed in 1.2.5-r1 but without making config file configurable through conf.d file (I don't see why should do this). Besides, you forgot to make necessary changes in start() for making pdnsd start with the user selected PDNSD_CONFIG file instead the default one.