This system was installed with SUITE=wheezy lxc-create -n lxctest1 -t debian
The config file is included below.
It spews a bunch of errors to the console:
tmp# lxc-start -n lxctest2
lxc-start: Device or resource busy - failed to set memory.use_hierarchy to 1; continuing
lxc-start: Device or resource busy - failed to set memory.use_hierarchy to 1; continuing
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Cleaning up temporary files... /tmpstat: cannot stat `/run/shm/.clean': No such file or directory
find: `/run/shm/.clean': No such file or directory
bootclean: Could not stat '/run/shm/.clean'. ... failed!
.
Mount point '/dev/console' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty1' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty2' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty3' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty4' does not exist. Skipping mount. ... (warning).
Mount point '/dev/ptmx' does not exist. Skipping mount. ... (warning).
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux 2.20.1
done.
Mounting local filesystems...done.
/etc/init.d/mountall.sh: 59: kill: Illegal number: 4 1
from there, there are no further errors.
# ls -la /run/shm
total 0
drwxrwxrwt 2 root root 60 Jun 1 12:43 .
drwxr-xr-x 8 root root 240 Jun 1 12:43 ..
-rw-r--r-- 1 root root 0 Jun 1 12:43 .tmpfs
Here is the config file for this container:
# Template used to create this container: /usr/share/lxc/templates/lxc-debian
# Parameters passed to the template:
# For additional config options, please look at lxc.conf(5)
lxc.network.type = empty
lxc.rootfs = /var/lib/lxc/lxctest2/rootfs
# Common configuration
lxc.include = /usr/share/lxc/config/debian.common.conf
# Container specific configuration
lxc.mount = /var/lib/lxc/lxctest2/fstab
lxc.utsname = lxctest2
lxc.arch = amd64
# lxc.aa_profile = lxc-container-default