<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 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 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 style="font-size:small"></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"></div><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>