Failed to start DHCP service
Prerequisites
-
[X] I have checked the Wiki and Discussions and found no answer
-
[X] I have searched other issues and found no duplicates
-
[X] I want to report a bug and not ask a question or ask for help
-
[X] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, AMD64 (aka x86_64)
Installation
Other (please mention in the description)
Setup
On one machine
AdGuard Home version
Docker
Action
I deployed AD via docker. I want to enable the DHCP service as a DHCP server, but whether it is a bridged network or a host network, when enabled, it will prompt to check whether it is a static IP (I have always had a static IP)
Expected result
none
Actual result
none
Additional information and/or screenshots
No response
Installed via wget on Ubuntu 24.04 VM on proxmox. Same result
The static-IP warning here matches the broader detection limitation tracked in #3640.
On current master, Linux detection still parses dhcpcd.conf and
/etc/network/interfaces; it cannot infer every NetworkManager, systemd, VM,
or container configuration. At the same time, the DHCP API explicitly treats
ErrNoStaticIPInfo as advisory, so the warning by itself should not prevent
the server from being enabled. The focused current test
TestIfaceHasStaticIP also passes under the race detector.
I suggest consolidating the detection limitation under #3640. To determine
whether this issue also contains a separate enable failure, the missing
evidence is the exact response from /control/dhcp/find_active_dhcp, the exact
response from the enable request, current AdGuard Home version, interface
name/address, Docker network mode and capabilities, and the corresponding
server log lines.
Hello. As @Sil3ntVip3r mentioned, this error should not prevent you from enabling DHCP.
Closed due not reply