[lxc-users] Possible bug
Fajar A. Nugraha
list at fajar.net
Fri May 19 00:26:06 UTC 2017
On Fri, May 19, 2017 at 7:16 AM, Saint Michael <venefax at gmail.com> 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 <venefax at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170519/c2ae4019/attachment-0001.html>
More information about the lxc-users
mailing list