]> 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 21:15:01 +0000 (17:15 -0400)
commit5358f08c013c91788889906e82dc463d68956d63
tree60a4d0974edf75e2a5061afbecd222f684fe684d
parent66f47a86edbb71d0b850f7bdb475b6f9f6595bcb
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