Unbound won't start on system boot

Robert Moskowitz rgm at htt-consult.com
Thu Jun 12 16:46:17 UTC 2025


I have to mow the lawn right now before it gets hotter.  :)

Then I will do some searching.  I see another post that may direct me.

I actually HAVE been successfully educating myself on a lot of things 
here and have tried not to bother the list too much.

I just forgot all about systemd controls.  I remember when it was added 
to CentOS, and I thought it was cool then.  And still is....

OK.  I have a direction.  Then maybe comment in a couple places a better 
way the @reboot in crontab.

On 6/12/25 12:28 PM, Colin Watson wrote:
> On Thu, Jun 12, 2025 at 12:15:03PM -0400, Robert Moskowitz via 
> ubuntu-users wrote:
>> On 6/12/25 12:09 PM, Colin Watson wrote:
>>> Quite!  If you need to force it to only start after some other unit 
>>> has come up, a much more sensible approach would be to use 
>>> "systemctl edit unbound.service" to create a drop-in unit (basically 
>>> a local override) that adds an After= directive to the [Unit] 
>>> section.  Or whatever else of that kind that you need.
>>
>> Oh, yes.  But I haven't done that for years!  When we were fighting 
>> with chrony on systems without a rtc, and you had to tell chrony to 
>> wait until the network was up.  Well that is kind of like what is 
>> happening here.
>>
>> So please point me to what I need to add to the service?
>>
>> After what?
>
> I don't know what network interface you might need to wait for, or 
> even if the suggestion you found about it needing a particular network 
> interface to be up was correct, so it's hard to give a specific 
> answer.  I was hoping that my suggestion above might help you work it 
> out for yourself using "man systemd.unit" and such.
>
> "man systemd.special" might also help, since there are some special 
> targets you can use to wait for things in a more coarse-grained way.
>




More information about the ubuntu-users mailing list