From af602c7d227617d27753287e4b8595374f752dda Mon Sep 17 00:00:00 2001 From: Seppo Yli-Olli Date: Tue, 23 Feb 2021 23:20:29 +0200 Subject: [PATCH] src/cmd/initContainer: Give access to systemd-resolved's Varlink socket Since systemd >= 247, systemd-resolved offers a Varlink interface over the socket at /run/systemd/resolve/io.systemd.Resolve. https://github.com/containers/toolbox/pull/707 --- src/cmd/initContainer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/initContainer.go b/src/cmd/initContainer.go index e23e66976..1b31d74c9 100644 --- a/src/cmd/initContainer.go +++ b/src/cmd/initContainer.go @@ -54,6 +54,7 @@ var ( {"/etc/machine-id", "/run/host/etc/machine-id", "ro"}, {"/run/libvirt", "/run/host/run/libvirt", ""}, {"/run/systemd/journal", "/run/host/run/systemd/journal", ""}, + {"/run/systemd/resolve", "/run/host/run/systemd/resolve", ""}, {"/run/udev/data", "/run/host/run/udev/data", ""}, {"/tmp", "/run/host/tmp", "rslave"}, {"/var/lib/flatpak", "/run/host/var/lib/flatpak", "ro"},