lxc-auto: add optional dnsmasq dep wait on startup
authorJohn Audia <redacted>
Fri, 6 Feb 2026 21:41:44 +0000 (16:41 -0500)
committerHannu Nyman <redacted>
Sat, 21 Feb 2026 15:51:20 +0000 (17:51 +0200)
commiteccee9a590c1ab62ced044dcb15a580771aad5c2
treed85a33f867298dcfb0a2b6f74e15d2c251d7fd1f
parent7c3e3769670193597ee74841068955698a8ecea5
lxc-auto: add optional dnsmasq dep wait on startup

Add opt-in support for waiting for dnsmasq to be fully initialized
before starting LXC containers. This addresses issues where containers
that depend on DNS resolution (e.g., AdGuardHome) start before dnsmasq
has loaded its DHCP lease table, resulting in hostnames not being
resolved to IP addresses.

The feature is controlled by two new optional UCI config options in
/etc/config/lxc-auto whose usage is commented therein.

No new depends are introduced with this change.

Signed-off-by: John Audia <redacted>
utils/lxc/files/lxc-auto.config
utils/lxc/files/lxc-auto.init
git clone https://git.99rst.org/PROJECT