From 1e376f7945fba38f283e9febfdc584ba7313ce31 Mon Sep 17 00:00:00 2001 From: j4n Date: Fri, 17 Apr 2026 09:17:36 +0200 Subject: [PATCH] fix(cmdeploy): explicitly install resolvconf Since ff541b8 introduced APT::Install-Recommends "false", we need to explicitly install resolvconf. Fixes DNS breakage caused by apt.upgrade with auto_remove=True purging resolvconf as an orphan and removing 'nameserver 127.0.0.1' in /etc/resolv.conf that pointed to the local unbound, in consequence DNS resolution breaks and filtermail-incoming exits because it cannot find resolvers. --- cmdeploy/src/cmdeploy/deployers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdeploy/src/cmdeploy/deployers.py b/cmdeploy/src/cmdeploy/deployers.py index 806a3e60..8a67107e 100644 --- a/cmdeploy/src/cmdeploy/deployers.py +++ b/cmdeploy/src/cmdeploy/deployers.py @@ -158,7 +158,7 @@ class UnboundDeployer(Deployer): with blocked_service_startup(): apt.packages( name="Install unbound", - packages=["unbound", "unbound-anchor", "dnsutils"], + packages=["unbound", "unbound-anchor", "dnsutils", "resolvconf"], ) def configure(self):