[Lxc-users] sshd container problem

John de la Garza john at jjdev.com
Mon Jan 7 20:06:55 UTC 2013


I am trying to create a sshd container.  Any ideas on how to fix this?

here is the output of my reproducing the issue
---------------
root at ubuntu:/usr/share/lxc/templates# cat /etc/lxc/lxc.conf
lxc.network.type=veth
lxc.network.link=lxcbr0
lxc.network.flags=up
root at ubuntu:/usr/share/lxc/templates# lxc-create  -t sshd -n foo

No config file specified, using the default config
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
<I removed ssh config output>
'sshd' template installed
'foo' created
root at ubuntu:/usr/share/lxc/templates# lxc-start -n foo
lxc-start: Read-only file system - error unlinking /usr/lib/x86_64-linux-gnu/lxc/dev/kmsg

lxc-start: failed to setup kmsg for 'foo'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'foo'

root at ubuntu:/usr/share/lxc/templates# ls  /usr/lib/x86_64-linux-gnu/lxc/
lxc-init





More information about the lxc-users mailing list