[Lxc-users] /dev/pts vs. ptmx - symlink?
Toens Bueker
toens.bueker at lists0903.nurfuerspam.neuroserve.de
Mon Oct 18 11:55:31 UTC 2010
Daniel Lezcano <daniel.lezcano at free.fr> wrote:
[...]
> >Any hint is appreciated.
>
> What is the lxc configuration file ?
I think that was originally generated by "lxc-debian" (and then
adjusted by me):
lxc.utsname = testlxc
lxc.tty = 4
lxc.pts = 1024
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br1
lxc.network.name = eth0
lxc.network.mtu = 1500
lxc.network.hwaddr = 00:16:3e:74:6f:e2
lxc.network.ipv4 = 192.168.1.12
lxc.mount = /etc/lxc/testlxc/fstab
lxc.cgroup.devices.deny = a
lxc.rootfs = /var/lib/lxc/testlxc
# /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
> and the lxc version ?
(I think that is the default for maverick):
Version: 0.7.2-1
> Can you give a try with lxc-checkconfig and look if the "Multiple
> /dev/pts instances" is enabled ?
It says it is:
root at sokka:~# lxc-checkconfig
Kernel config /proc/config.gz not found, looking in other places...
Found kernel config file /boot/config-2.6.35-22-server
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled
--- Control groups ---
Cgroup: enabled
Cgroup namespace: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled
--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
It's basically a straightforward setup. I checked out lxc-debian and
lxc-tools from github. I've used lxc-debian to create the test-vs.
Kind regards,
Töns
--
There is no safe distance.
More information about the lxc-users
mailing list