Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533162 - net-dns/pdns - /etc/init.d/pdns should use mysql, postgresql
Summary: net-dns/pdns - /etc/init.d/pdns should use mysql, postgresql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-21 03:57 UTC by Gordon Pettey
Modified: 2016-05-30 20:37 UTC (History)
0 users

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


Attachments
add USE-dependent "use mysql postgresql" to /etc/init.d/pdns (pdns.ebuild.patch,526 bytes, patch)
2015-02-07 22:06 UTC, Gordon Pettey
Details | Diff
init.d use (0001-Start-database-before-pdns.patch,519 bytes, patch)
2016-05-20 17:04 UTC, Gordon Pettey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Pettey 2014-12-21 03:57:30 UTC
net-dns/pdns supports using a database for zone files. files/pdns (the init script) should have use postgresql and use mysql so that they are started before pdns, if they are available.

Reproducible: Always
Comment 1 Gordon Pettey 2015-02-07 22:06:01 UTC
Created attachment 395846 [details, diff]
add USE-dependent "use mysql postgresql" to /etc/init.d/pdns

Patch to add USE-dependent "use mysql postgresql" to /etc/init.d/pdns
Comment 2 Aaron W. Swenson gentoo-dev 2015-05-22 14:42:48 UTC
Just adding:

    use mysql postgresql

To the initscript is good enough. There's no reason to do conditionals.

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Initscripts#Dependencies
Comment 3 Gordon Pettey 2016-05-20 17:04:48 UTC
Created attachment 434786 [details, diff]
init.d use
Comment 4 Sven Wegener gentoo-dev 2016-05-30 20:37:14 UTC
Thanks, committed.