]> git.ipfire.org Git - thirdparty/lxc.git/commit
debian: Symlink /etc/mtab
authorHolger Amann <holger@sauspiel.de>
Wed, 19 Mar 2014 06:06:13 +0000 (07:06 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 21 Mar 2014 14:36:34 +0000 (10:36 -0400)
commit23e880832b90190563b01fdd73fdcd5948492e52
treeaa5d4c8f2e057bae7b045a48415a503cd18080ed
parenta526a632e007c0d666dbe953cf7b39fbf26b63db
debian: Symlink /etc/mtab

/etc/mtab doesn’t exist after bootstrapping a debian container, and will
be created as regular file after first start.

That leads to at least two errors:
- output of `mount` is wrong and get messed up the more often you
  start/stop the container
- /dev/pts/ptmx has wrong permissions

Signed-off-by: Holger Amann <holger@sauspiel.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-debian.in