<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 15, 2015, at 10:33, Lennart Poettering <<a href="mailto:lennart@poettering.net" class="">lennart@poettering.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On Mon, 15.06.15 10:32, Johannes Ernst (</span><a href="mailto:johannes.ernst@gmail.com" style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">johannes.ernst@gmail.com</a><span style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">) wrote:</span><br style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""><blockquote type="cite" class="">On Jun 14, 2015, at 15:27, Lennart Poettering <<a href="mailto:lennart@poettering.net" class="">lennart@poettering.net</a>> wrote:<br class=""><br class="">On Fri, 12.06.15 17:32, Johannes Ernst (<a href="mailto:johannes.ernst@gmail.com" class="">johannes.ernst@gmail.com</a>) wrote:<br class=""><br class=""><blockquote type="cite" class="">* host and container can ping test (if test is the name of the<br class="">* container machine per machinectl): FAILS, neither can<br class=""></blockquote><br class="">Do you have nss-mymachines enabled in /etc/nsswitch.conf?<br class=""></blockquote><br class="">Yes:<br class=""><br class=""><blockquote type="cite" class="">Does pinging via the IP addresses work?<span class="Apple-converted-space"> </span><br class=""></blockquote><br class="">Yes. Both container->host and host->container.<br class=""><br class="">On host:<br class=""><blockquote type="cite" class="">machinectl<br class=""></blockquote>MACHINE CLASS SERVICE<br class="">foo container nspawn<span class="Apple-converted-space"> </span><br class=""><br class="">1 machines listed.<br class=""><blockquote type="cite" class="">ping foo<br class=""></blockquote>ping: unknown host foo<br class=""><blockquote type="cite" class="">cat /etc/nsswitch.conf<span class="Apple-converted-space"> </span><br class=""></blockquote>hosts: nss-mymachines files mdns_minimal [NOTFOUND=return] dns myhostname<br class=""></blockquote><br style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Does "machinectl status" show the IP addresses of the container in its</span><br style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">output?</span><br style="font-family: LucidaGrande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote><br class=""></div><div>Yes:</div><div><br class=""></div><div class="">> sudo machinectl status foo</div><div class=""> Since: Mon 2015-06-15 17:27:33 UTC; 9min ago</div><div class=""> Leader: 31137 (systemd)</div><div class=""> Service: nspawn; class container</div><div class=""> Root: /home/buildmaster/git/<a href="http://github.com/uboslinux/ubos-buildconfig/repository/dev/x86_64/images/ubos_dev_container-pc_20150614-054626" class="">github.com/uboslinux/ubos-buildconfig/repository/dev/x86_64/images/ubos_dev_container-pc_20150614-054626</a></div><div class=""> Iface: ve-foo</div><div class=""> Address: 10.0.0.2</div><div class=""> 169.254.169.115</div><div class=""><div class=""> OS: UBOS</div></div><div class=""><br class=""></div><div class="">(UBOS: for our purposes here: same as Arch)</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>