<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <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>
    <br>
    <br>
    <div class="moz-cite-prefix">On 5/19/2017 8:26 AM, Fajar A. Nugraha
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAG1y0scG505_wzzeiDTo4WcGJFrFDrwzZWbbEh++uyYWO-oCow@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Fri, May 19, 2017 at 7:16 AM,
            Saint Michael <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</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 dir="ltr">
                <div style="font-size:small">The host is Ubuntu 16.04.2
                  LTS, the container is Debian GNU/Linux 7 <br>
                  <br>
                </div>
              </div>
              <div class="gmail-HOEnZb">
                <div class="gmail-h5">
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On Thu, May 18, 2017 at
                      8:13 PM, Saint Michael <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:venefax@gmail.com"
                          target="_blank">venefax@gmail.com</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 dir="ltr">
                          <div style="font-size:small">In my debian
                            container, it is file.<br>
                          </div>
                          <div style="font-size:small">It gets recreated
                            all the time I reboot.<br>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>What happens when you delete the file, and create it as
              symlink. Is it replaced by a regular file after reboot, or
              the symlink stays as is?<br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div class="gmail-HOEnZb">
                <div class="gmail-h5">
                  <div class="gmail_extra">
                    <div class="gmail_quote">
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex">
                        <div dir="ltr">
                          <div style="font-size:small">what am I doing
                            wrong?<br>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Probably integration issues with the template you're
              using. As in, some default debian package/settings isn't
              suitable to be run inside a container, and no workaround
              is in place yet in the container template.</div>
            <div> </div>
            <div>In the past I even had to manually replace systemd in
              jessie with the one from squeeze to make it work
              correctly.</div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div class="gmail-HOEnZb">
                <div class="gmail-h5">
                  <div class="gmail_extra">
                    <div class="gmail_quote">
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex">
                        <div dir="ltr">
                          <div style="font-size:small">This is the
                            config file<br>
                            <font face="monospace,monospace">lxc.mount.entry
                              = proc proc proc nodev,noexec,nosuid 0 0<br>
                              lxc.mount.entry = sysfs sys sysfs
                              defaults  0 0<br>
                              lxc.tty = 4<br>
                              lxc.pts = 1024<br>
                              lxc.cgroup.devices.deny = a<br>
                              lxc.cgroup.devices.allow = c 1:3 rwm<br>
                            </font></div>
                        </div>
                      </blockquote>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Are these added manually?</div>
            <div><br>
            </div>
            <div>IIRC when you use the "download" template (NOT the
              debian template), the generated config files should be
              different. If you haven't done so, try the download
              template.</div>
            <div><br>
            </div>
            <div>-- </div>
            <div>Fajar</div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <span style="font-family: Arial Unicode MS;">Gunnar Wagner | </span><span
        style="font-family: Arial Unicode MS;">Yongfeng Village Group 12
        #5, Pujiang Town, Minhang District, 201112 Shanghai, P.R. CHINA
      </span><br style="font-family: Arial Unicode MS;">
      <span style="font-family: Arial Unicode MS;">mob +86.159.0094.1702
        | skype:
        professorgunrad | wechat: 15900941702</span><br>
    </div>
  </body>
</html>