[Lxc-users] What's this problem with /dev/pts?
Whit Blauvelt
whit at transpect.com
Sun Jul 11 17:28:20 UTC 2010
Hi,
This has to be an obvious mistake, except I'm still new to lxc and Google is
not being my friend on this one.
As host, I've got Ubuntu 10.04 LTS with a 2.6.34.1 kernel, using lxc 0.7.1
and iproute 20100519. The containers I need to run would be Centos5, for
which I've got two versions, one from OpenVZ, and one built with Rinse. I've
followed the HOWTO at http://lxc.teegra.net/ and also tried suggestions at
http://blog.bodhizazen.net/linux/lxc-configure-fedora-containers/.
For either version of the CentOS container, I end up with this:
# lxc-start -n centos5rinse.conf
lxc-start: Device or resource busy - failed to mount 'none' on '/dev/pts'
lxc-start: failed to setup the mounts for 'centos5rinse.conf'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'centos5rinse.conf'
lxc-start: Device or resource busy - failed to remove cgroup
'/var/local/cgroup/centos5rinse.conf'
On that last item, I can go and "rmdir" it, but that's not key. The
container fstab, which probably is key somehow, looks like this (straight
from the HOWTO):
none /src/lxv/centos5/dev/pts devpts defaults 0 0
none /src/lxv/centos5/proc proc defaults 0 0
none /src/lxv/centos5/sys sysfs defaults 0 0
none /src/lxv/centos5/dev/shm tmpfs defaults 0 0
What do I need to adjust?
Thanks,
Whit
More information about the lxc-users
mailing list