diff options
author | Serge E. Hallyn <serge.hallyn@canonical.com> | 2011-10-24 14:38:30 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@free.fr> | 2011-10-24 14:38:30 +0200 |
commit | b91b1cd79c1857a8aa5f329415cb23175b959cc1 (patch) | |
tree | 975da96dee2d66134bbaba958ce3859511d001d1 /templates | |
parent | ubuntu template: disallow cap_sys_module (by popular demand) (diff) | |
download | lxc-b91b1cd79c1857a8aa5f329415cb23175b959cc1.tar.gz lxc-b91b1cd79c1857a8aa5f329415cb23175b959cc1.tar.bz2 lxc-b91b1cd79c1857a8aa5f329415cb23175b959cc1.zip |
Let sshd template work on ubuntu systems.
/dev/shm is a symlink to /run/shm, so we need /run/shm
to exist in the container rootfs. Also, /dev/mqueue does
not exist on the host, and can't be created by the container.
But we don't really need it so ignore that.
Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/lxc-sshd.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/lxc-sshd.in b/templates/lxc-sshd.in index 0e8346f..bd5d293 100644 --- a/templates/lxc-sshd.in +++ b/templates/lxc-sshd.in @@ -30,6 +30,7 @@ $rootfs/var/empty/sshd \ $rootfs/var/lib/empty/sshd \ $rootfs/etc/ssh \ $rootfs/dev/shm \ +$rootfs/run/shm \ $rootfs/proc \ $rootfs/bin \ $rootfs/sbin \ |