On Fri, May 19, 2017 at 7:16 AM, Saint Michael <[email protected]> wrote:

> The host is Ubuntu 16.04.2 LTS, the container is Debian GNU/Linux 7
>
>
> On Thu, May 18, 2017 at 8:13 PM, Saint Michael <[email protected]> wrote:
>
>> In my debian container, it is file.
>> It gets recreated all the time I reboot.
>>
>

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?


> what am I doing wrong?
>>
>

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.

In the past I even had to manually replace systemd in jessie with the one
from squeeze to make it work correctly.

This is the config file
>> lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
>> lxc.mount.entry = sysfs sys sysfs defaults  0 0
>> lxc.tty = 4
>> lxc.pts = 1024
>> lxc.cgroup.devices.deny = a
>> lxc.cgroup.devices.allow = c 1:3 rwm
>>
>

Are these added manually?

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.

-- 
Fajar
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to