openwrt / openwrt/packages

Unbound/dnsmasq race condition on startup

Open
#27,086 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Package Name

unbound

Maintainer

@EricLuehrsen

OpenWrt Version

24.10.2

OpenWrt Target/Subtarget

x86/64

Steps to Reproduce
  1. Install unbound
  2. Configure it for parallel use
  3. Create extra dnsmasq instances
Actual Behaviour

unbound won't always be able to bind properly to the network interfaces.

I know it's a bit vague, but I've found the problem to be intermittent.
The solution I found was to modify the unbound init script to make it start at 18 instead of 19.

Confirmation Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported setup on OpenWrt 24.10.2 for x86/64: install unbound, enable parallel use, and create extra dnsmasq instances. Inspect the unbound init script and startup ordering, comparing order 19 with the reported workaround of order 18. Done means the services reliably bind to the network interfaces across repeated boots.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.