[MacPorts] #58844: Unbound does not start after reboot, but it does start when started by hand with port reload unbound
MacPorts
noreply at macports.org
Thu Aug 15 21:04:49 UTC 2019
#58844: Unbound does not start after reboot, but it does start when started by hand
with port reload unbound
--------------------+---------------------
Reporter: gctwnl | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: | Port: unbound
--------------------+---------------------
I'm using unbound. The (daemondo / wrapper based) startupitem des launch,
but unbound doesn't start.
{{{
0 75 1 0 20 0 4362300 5392 - Ss ?? 0:00.01
/opt/local/bin/daemondo --label=unbound --start-cmd
/opt/local/etc/LaunchDaemons/org.macports.unbound/unbound.wrapper start ;
--stop-cmd
/opt/local/etc/LaunchDaemons/org.macports.unbound/unbound.wrapper stop ;
--restart-cmd
/opt/local/etc/LaunchDaemons/org.macports.unbound/unbound.wrapper restart
; --verbosity=1 --pid=none
501 611 507 0 31 0 4268080 828 - S+ s003 0:00.00
grep unbound
}}}
While the nsd startupitem I created in exactly the same way does lead to a
running nsd:
{{{
0 69 1 0 20 0 4345916 5388 - Ss ?? 0:00.01
/opt/local/bin/daemondo --label=nsd --start-cmd
/opt/local/etc/LaunchDaemons/org.macports.nsd/nsd.wrapper start ; --stop-
cmd /opt/local/etc/LaunchDaemons/org.macports.nsd/nsd.wrapper stop ;
--restart-cmd /opt/local/etc/LaunchDaemons/org.macports.nsd/nsd.wrapper
restart ; --verbosity=1 --pid=none
503 214 1 0 20 0 4440260 83420 - Ss ?? 0:00.04
/opt/local/sbin/nsd
503 216 214 0 20 0 4355856 972 - S ?? 0:00.00
/opt/local/sbin/nsd
503 220 216 0 20 0 4355988 588 - S ?? 0:00.00
/opt/local/sbin/nsd
501 630 478 0 31 0 4268080 828 - S+ s000 0:00.00
grep nsd
}}}
After a reload, unbound runs:
{{{
Albus:~ sysbh$ sudo port reload unbound
---> Reloading startupitem 'unbound' for unbound
Albus:~ sysbh$ ps laxww|grep unbound
0 706 1 0 20 0 4306504 5224 - Ss ?? 0:00.01
/opt/local/bin/daemondo --label=unbound --start-cmd
/opt/local/etc/LaunchDaemons/org.macports.unbound/unbound.wrapper start ;
--stop-cmd
/opt/local/etc/LaunchDaemons/org.macports.unbound/unbound.wrapper stop ;
--restart-cmd
/opt/local/etc/LaunchDaemons/org.macports.unbound/unbound.wrapper restart
; --verbosity=1 --pid=none
500 711 1 0 20 0 4328068 17260 - Ss ?? 0:00.02
/opt/local/sbin/unbound
501 714 478 0 31 0 4277296 856 - S+ s000 0:00.00
grep unbound
}}}
Mojave
--
Ticket URL: <https://trac.macports.org/ticket/58844>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list