<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 19, 2017 at 7:45 AM, gunnar.wagner <span dir="ltr"><<a href="mailto:gunnar.wagner@netcologne.de" target="_blank">gunnar.wagner@netcologne.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>a bit OT related to this thread but from what Fajar has posted
here it almost sounds like you shouldn't/couldn't use debian
inside a container unless you are prepared to conduct far from
trivial post launch system tweaking (reinstalling systemd was
mentioned) <br>
</p>
<p>Is that a valid assumption?<br>
</p><div><div class="gmail-h5">
<br></div></div></div></blockquote><div><br></div><div><br></div><div>Distros generally needed some level of adjustmet to run nicely inside a container. Some of the adjustments might not be necessary anymore as the required patches make their way upstream, and trickle down to the distro.</div><div><br></div><div>Ubuntu sponsors lxc. Thus it make sense for them to integrate the patches internally on their distro. Which makes running ubuntu containers easy.<br><br>Container templates integrate SOME known workarounds needed to run distros inside a container. If there's a template, then it should run fine (as least for most common usecase) as PRIVILEGED container. However unprivileged (and especially related to systemd) is a special case. IIRC the necessary systemd support only make it upstream after jessie was released. I'm not sure whether jessie backports those changes (last time I tested was several months ago, back then it still needs systemd from squeeze to run correctly as unpriv container).</div><div><br></div><div>For this specific case, if you look at <a href="https://github.com/lxc/lxc/blob/master/templates/lxc-debian.in#L100">https://github.com/lxc/lxc/blob/master/templates/lxc-debian.in#L100</a> , the debian template creates the symlink. Which should work fine. The problem that OP experienced happened because he deleted the symlink.</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>