Skip to content

pressure-vessel: Mount resolved varlink socket if available

Ludovico de Nittis requested to merge wip/varlink_socket into master

nss-resolve uses systemd-resolved to resolve hostnames and, since systemd 247, it utilize the varlink API.

To make it run inside the container we need to expose the varlink socket.

Check the upstream commit for more info https://github.com/flatpak/flatpak/commit/e5da98ff4b12a080044d58b4cd2fb4edb4491132

Fixes: #61 (closed)


I tested this by confirming that the varlink socket was successfully mounted inside the container. I also tried the Sniper runtime that uses systemd 247 but I wasn't able to reproduce the issue when the varlink socker is not mounted (probably it was not using the systemd-resolved to resolve the hostnames?).

Merge request reports