Skip to content

Commit

Permalink
src/cmd/initContainer: Give access to systemd-resolved's Varlink socket
Browse files Browse the repository at this point in the history
Since systemd >= 247, systemd-resolved offers a Varlink interface over
the socket at /run/systemd/resolve/io.systemd.Resolve.

containers#707
  • Loading branch information
nanonyme authored and debarshiray committed Feb 24, 2021
1 parent baac046 commit af602c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/initContainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit af602c7

Please sign in to comment.