Hallo,
bin vor kurzem von Vserver auf Lxc umgestiegen, das bisher eine System ist neu aufgesetzt. Seit Update vor kurzem auf app-emulation/lxc startet der Container nicht. Die Fehlermeldung ist
|
Quellcode
|
1
2
3
4
5
6
7
|
lxc-start: conf.c: mount_entry: 1705 No such file or directory - failed to mount 'shm' on '/var/lib/lxc/rootfs/dev/shm'
lxc-start: conf.c: lxc_setup: 3815 failed to setup the mount entries for 'ame'
lxc-start: start.c: do_start: 699 failed to setup the container
lxc-start: sync.c: __sync_wait: 51 invalid sequence number 1. expected 2
lxc-start: start.c: __lxc_start: 1157 failed to spawn 'ame'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
|
Wenn ich aus der Konfiguration die dev/shm mount Zeile aus der Konfiguration rausnehme, startet der Kontainer. Allerdings fehlt mir dann das /dev/shm. Das Verzeichnis ist innerhalb des Containers gar nicht da, also nicht sichtbar.
|
Quellcode
|
1
2
3
4
5
|
# ls www/dev/
console fd full initctl kmsg net null ptmx pts random shm stderr stdin stdout tty tty0 tty1 urandom zero
# lxc-attach -n www -- ls /dev
console fd full initctl null ptmx pts random stderr stdin stdout tty tty1 urandom zero
|
Wie bekomme ich mein /dev/shm wieder zurück? Oder gibt es Gründe wieso es nicht mehr da ist?