Hi All,

After returning from Christmas break to play around with LXC containers I
seem to have a problem. Before the break if I started a container using
lxc-start, boot information would appear on the terminal and I would even
be able to log in.

Now when I start the container, I get no output, and I need to ssh in to
the container to work with it. Any ideas? I'm using LXC 0.7.5. Here's my
config.

lxc.utsname = template
> lxc.tty = 4
> lxc.pts = 1024
> lxc.rootfs = /var/lib/lxc/template/rootfs
> lxc.mount  = /var/lib/lxc/template/fstab
> lxc.arch =
>


> #network
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br0

#lxc.network.ipv4 = 192.168.42.217
>


> lxc.cgroup.devices.deny = a
> # /dev/null and zero
> lxc.cgroup.devices.allow = c 1:3 rwm
> lxc.cgroup.devices.allow = c 1:5 rwm
> # consoles
> lxc.cgroup.devices.allow = c 5:1 rwm
> lxc.cgroup.devices.allow = c 5:0 rwm
> #lxc.cgroup.devices.allow = c 4:0 rwm
> #lxc.cgroup.devices.allow = c 4:1 rwm
> # /dev/{,u}random
> lxc.cgroup.devices.allow = c 1:9 rwm
> lxc.cgroup.devices.allow = c 1:8 rwm
> lxc.cgroup.devices.allow = c 136:* rwm
> lxc.cgroup.devices.allow = c 5:2 rwm
> # rtc
> lxc.cgroup.devices.allow = c 254:0 rwm
> #fuse
> lxc.cgroup.devices.allow = c 10:229 rwm


fstab is the default one generated with LXC 0.7.5

proc            /var/lib/lxc/airtime-saas-template/rootfs/proc         proc
>    nodev,noexec,nosuid 0 0
> sysfs           /var/lib/lxc/airtime-saas-template/rootfs/sys
>  sysfs defaults  0 0



-- 
Open source radio in the cloud. Get yours now! ---> http://airtime.pro

Martin Konecny
Software Developer, Sourcefabric
martin.kone...@sourcefabric.org

720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15

http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to