From d2b2f8b0f11c93f2d3d2c81a22e9c73aa78d2517 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 28 Aug 2024 16:26:43 -0700 Subject: [PATCH] makefile: Workaround problems with systemd-resolved package - To complete the provisioning process with container script and vagrant. Tests: - Start a fresh testing container, it should succeed. systemd-resolved is running and resolving queries. - Start a fresh stable container, it should succeed. systemd-resolved is running and resolving queries. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 54ceb503d..dd666ae13 100644 --- a/Makefile +++ b/Makefile @@ -176,6 +176,11 @@ provision-dev: $$(sudo -u plinth ./run --develop --list-dependencies) apt-mark unhold freedombox + # DNS resolution may be broken by upgrade to systemd-resolved. See + # #1079819 and ##1032937. + -systemctl restart systemd-resolved + -nmcli general reload dns-rc + # Install additional packages DEBIAN_FRONTEND=noninteractive apt-get install --yes ncurses-term \ sshpass bash-completion