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

Bug 379947

Summary: net-dns/unbound unbound.initd remove oknodo and start from reload initscript phase
Product: Gentoo Linux Reporter: Florian Steinel <Florian.Steinel>
Component: [OLD] UnspecifiedAssignee: MATSUU Takuto (RETIRED) <matsuu>
Status: RESOLVED FIXED    
Severity: normal CC: nabeken
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 377843    

Description Florian Steinel 2011-08-20 10:02:14 UTC
remove this warning:

 * Reloading unbound ...
 * WARNING: -o/--oknodo is deprecated and will be removed in the future                                                        [ ok ]


--- /usr/portage/net-dns/unbound/files/unbound.initd    2009-11-22 17:57:33.000000000 +0100
+++ /etc/init.d/unbound 2011-08-20 11:58:59.000000000 +0200
@@ -45,7 +45,7 @@ restart() {
 reload() {
        checkconfig || return $?
        ebegin "Reloading unbound"
-       start-stop-daemon --stop --pidfile "${UNBOUND_PIDFILE}" \
-               --signal HUP --oknodo
+       start-stop-daemon --pidfile "${UNBOUND_PIDFILE}" \
+               --signal HUP
        eend $?
 }


Reproducible: Always
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2011-09-13 15:14:57 UTC
fixed in cvs.