Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231994 - net-dns/ldapdns-2.06-r1 bump: init scripts (without daemontools)
Summary: net-dns/ldapdns-2.06-r1 bump: init scripts (without daemontools)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: EBUILD
Depends on:
Reported: 2008-07-16 18:11 UTC by Atman Sense
Modified: 2010-01-23 15:04 UTC (History)
0 users

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

ldapdns-2.06-r1.ebuild (ldapdns-2.06-r1.ebuild,1.14 KB, text/plain)
2008-07-16 18:15 UTC, Atman Sense
initd file (ldapdns.rc,672 bytes, text/plain)
2008-07-16 18:17 UTC, Atman Sense
confd file (ldapdns.confd,453 bytes, text/plain)
2008-07-16 18:18 UTC, Atman Sense
initd file (ldapdns.rc,769 bytes, text/plain)
2008-07-17 16:02 UTC, Atman Sense

Note You need to log in before you can comment on or make changes to this bug.
Description Atman Sense 2008-07-16 18:11:06 UTC
Modified ebuild to let ldapdns work with normal init instead of daemontools.
Comment 1 Atman Sense 2008-07-16 18:15:01 UTC
Created attachment 160591 [details]
Comment 2 Atman Sense 2008-07-16 18:17:07 UTC
Created attachment 160592 [details]
initd file
Comment 3 Atman Sense 2008-07-16 18:18:03 UTC
Created attachment 160593 [details]
confd file
Comment 4 Atman Sense 2008-07-17 16:02:19 UTC
Created attachment 160645 [details]
initd file

Added --pidfile to init script. (Needed if someone wants to monitor ldapdns with app-admin/monit.)
Comment 5 Atman Sense 2008-07-17 20:11:05 UTC
Bad: If the ldap server is not avaible for a second (restart for example) ldapdns stops answering dns queries. It needs a restart. Last message is

 handler 0 was hung up on, restarting 

It's not possible to use monit to monitor ldapdns. The dns test expects something what is not provided by ldapdns. Only by bind, it seems, see:
To reduce the test to udp connect on port 53 doesn't solve the problem because ldapdns is still there. Similar to MyDNS, see:

bad workaround: in crontab:

*/5 * * * * nslookup name localhost|grep name > /dev/null||/etc/init.d/ldapdns restart
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-23 15:04:17 UTC
Removed from main tree.