[systemd-devel] sibling DNS lookup of nspawn containers

2021-06-17 Thread Johannes Ernst
I’d like to be able to DNS lookup container b from within container a, if both were started with systemd-nspawn as siblings of each other, and shown as a and b in machinectl list. man nss-mymachines specifically notes it won’t do that. What’s the proper way of doing this? Thanks, Johannes.

[systemd-devel] Unable to run systemctl commands on the host from the container which was working till Ubuntu 16.04

2021-06-17 Thread Aravindhan Krishnan
Hi Folks, When the host OS is Ubuntu 16.04 or RHEL 7.x, the following command is working, helping us to run systemctl commands on the host from within the docker container: # nsenter --mount=/hostroot/proc/1/ns/mnt -- systemctl start dummy.service But in the newer host OS-es, Ubuntu 20.04 and RH