openwrt / openwrt/packages

stubby Succeeds in starting roughly 10% of the time, usually enters a crash loop, ignoring log level

Open
#26,713 0 comments 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

stubby 0.4.3:

Maintainer

NONE

OpenWrt Version

24.10.1

OpenWrt Target/Subtarget

ramips/mt7621

Steps to Reproduce
  1. Install stubby
  2. attempt to start stubby with uci or yml config
Actual Behaviour

stubby will enter a crash loop if started through uci, but sometimes rarely succeed.
if started from the command line, it will have a slightly higher rate of success, while usually halting here:

root@OpenWrt:~# stubby
[14:11:46.923581] STUBBY: Read config from file /etc/stubby/stubby.yml[14:11:46.932892] STUBBY: Stubby version: Stubby 0.4.3
[14:11:46.938661] STUBBY: DNSSEC Validation is OFF
[14:11:46.938820] STUBBY: Transport list is:
[14:11:46.938870] STUBBY:   - TLS
[14:11:46.938977] STUBBY: Privacy Usage Profile is Strict (Authentication required)
[14:11:46.939082] STUBBY: (NOTE a Strict Profile only applies when TLS is the ONLY transport!!)
[14:11:46.939172] STUBBY: Starting DAEMON....

log level is always ignored, so there is no output in logread, except the crash loop warning when started with uci.

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 stubby 0.4.3 on OpenWrt 24.10.1 for ramips/mt7621 through UCI, the YAML configuration, and the command line. Compare the crash-loop behavior and missing logread output; done means the startup failure is identified and corrected with useful logging for the failing path.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.