> On Jun 15, 2015, at 11:32, Lennart Poettering <[email protected]> wrote: > > On Mon, 15.06.15 10:39, Johannes Ernst ([email protected]) wrote: > >> >>> On Jun 15, 2015, at 10:33, Lennart Poettering <[email protected]> >>> wrote: >>> >>> On Mon, 15.06.15 10:32, Johannes Ernst ([email protected] >>> <mailto:[email protected]>) wrote: >>> >>>> >>>>> On Jun 14, 2015, at 15:27, Lennart Poettering <[email protected]> >>>>> wrote: >>>>> >>>>> On Fri, 12.06.15 17:32, Johannes Ernst ([email protected]) wrote: >>>>> >>>>>> * host and container can ping test (if test is the name of the >>>>>> * container machine per machinectl): FAILS, neither can >>>>> >>>>> Do you have nss-mymachines enabled in /etc/nsswitch.conf? >>>> >>>> Yes: >>>> >>>>> Does pinging via the IP addresses work? >>>> >>>> Yes. Both container->host and host->container. >>>> >>>> On host: >>>>> machinectl >>>> MACHINE CLASS SERVICE >>>> foo container nspawn >>>> >>>> 1 machines listed. >>>>> ping foo >>>> ping: unknown host foo >>>>> cat /etc/nsswitch.conf >>>> hosts: nss-mymachines files mdns_minimal [NOTFOUND=return] dns >>>> myhostname > > Ah, heh, try "mymachines" instead of "nss-mymachines"... Also see > nss-mymachines(8) man page. That should fix your issue.
Magic! It’s working! Thank you. > > Lennart > > -- > Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
