Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428582 - net-dns/djbdns-1.05-r26: djbdns-setup should source /etc/init.d/functions.sh
Summary: net-dns/djbdns-1.05-r26: djbdns-setup should source /etc/init.d/functions.sh
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-30 03:20 UTC by Michael Orlitzky
Modified: 2013-07-08 23:56 UTC (History)
3 users (show)

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


Attachments
Source /etc/init.d/functions.sh in djbdns-setup (djbdns-setup-functions.patch,461 bytes, patch)
2012-07-30 18:13 UTC, Michael Orlitzky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.