LXC: Alpine container in edge will not start with /dev/shm mountpoint defined
When trying to create a standard alpine LXC container using current edge (lxc-create -n jbilyk -t alpine; ln -s /etc/init.d/lxc /etc/init.d/lxc.jbilyk), then starting the container using the init script, I receive the following error in /var/log/lxc/jbilyk.log (among others):
lxc-start 1430158966.704 ERROR lxc_conf - conf.c:mount_entry:1711 - No such file or directory - failed to mount ‘shm’ on ‘/usr/lib/lxc/rootfs/dev/shm’
If I comment out the /dev/shm mountpoint on the final line of /var/lib/lxc/jbilyk/config, the container can start successfully. The source of this line appears to be the upstream container template at https://github.com/lxc/lxc/blob/master/templates/lxc-alpine.in\#L254.
(from redmine: issue id 4126, created on 2015-04-27, closed on 2015-05-26)