Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 428582

Summary: net-dns/djbdns-1.05-r26: djbdns-setup should source /etc/init.d/functions.sh
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: Michael Orlitzky <mjo>
Status: RESOLVED OBSOLETE    
Severity: normal CC: c1pher, proxy-maint, subscryer
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Source /etc/init.d/functions.sh in djbdns-setup

Description Michael Orlitzky gentoo-dev 2012-07-30 03:20:32 UTC
As noted in bug #419193, the djbdns-setup script calls several functions from /etc/init.d/functions.sh without ever sourcing that file.

Two other setup scripts were patched in bug #389667, but djbdns-setup never sourced /sbin/functions.sh to begin with so it was overlooked.
Comment 1 Michael Orlitzky gentoo-dev 2012-07-30 18:13:47 UTC
Created attachment 319754 [details, diff]
Source /etc/init.d/functions.sh in djbdns-setup

It's probably safe to patch this in place, since it doesn't work at all. Bump to -r27 in case someone has -r26 installed and intends to re-run djbdns-setup at a later time (to install another daemon).
Comment 2 Michael Orlitzky gentoo-dev 2013-07-08 23:56:28 UTC
Marking obsolete as the setup scripts were removed in bug #428588.