On 29. 1. 2025, at 19:02, Thomas Köller <thomas@xxxxxxxxxxxx> wrote: > > I am creating a systemd service that contains the three lines below: > > TemporaryFileSystem = %E > BindReadOnlyPaths = %E/hosts > NetworkNamespacePath = /var/run/netns/vpnlink > > So the service runs in a network namespace of its own. The problem is that I cannot mount '/etc/hosts' into the tmpfs: This is a bug, what you are trying to do worked in older versions, e.g. it still works with systemd-255.15-1.fc40.aarch64. Please file an issue on Github. Michal