> Ok, finally I reproduced it. > Can you remove the mount option in the container configuration file (devpts > and shm) ? > You mean in my
/etc/lxc/guest_1.fstab ? I disabled all mounts in that in the other email. Here was the output of that: localhost ~ # lxc-start -n guest_1 -l DEBUG -o $(tty) lxc-start 1264153153.126 INFO lxc_conf - tty's configured lxc-start 1264153153.126 DEBUG lxc_start - sigchild handler set lxc-start 1264153153.126 INFO lxc_start - 'guest_1' is initialized lxc-start 1264153153.127 DEBUG lxc_conf - instanciated veth 'vethwvedNM/vethgwP5Gh', index is '34' lxc-start 1264153153.183 DEBUG lxc_cgroup - using cgroup mounted at '/cgroup' lxc-start 1264153153.183 DEBUG lxc_cgroup - '/cgroup/1482' renamed to '/cgroup/guest_1' lxc-start 1264153153.261 DEBUG lxc_conf - move 'br0' to '1482' lxc-start 1264153153.262 INFO lxc_conf - 'guest_1' hostname has been setup lxc-start 1264153153.263 DEBUG lxc_conf - 'veth0' has been setup lxc-start 1264153153.263 INFO lxc_conf - network has been setup lxc-start 1264153153.264 DEBUG lxc_cgroup - using cgroup mounted at '/cgroup' lxc-start 1264153153.264 DEBUG lxc_conf - cgroup 'devices.deny' set to 'a # Deny all access to devices' lxc-start 1264153153.264 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 1:3 rwm # dev/null' lxc-start 1264153153.264 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 1:5 rwm # dev/zero' lxc-start 1264153153.264 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 5:1 rwm # dev/console' lxc-start 1264153153.264 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 5:0 rwm # dev/tty' lxc-start 1264153153.264 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 4:0 rwm # dev/tty0' lxc-start 1264153153.265 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 4:1 rwm # dev/tty1' lxc-start 1264153153.265 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 4:2 rwm # dev/tty2' lxc-start 1264153153.265 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 1:9 rwm # dev/urandon' lxc-start 1264153153.265 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 1:8 rwm # dev/random' lxc-start 1264153153.265 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 136:* rwm # dev/pts/*' lxc-start 1264153153.265 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 5:2 rwm # dev/pts/ptmx' lxc-start 1264153153.265 DEBUG lxc_conf - cgroup 'devices.allow' set to 'c 254:0 rwm' lxc-start 1264153153.265 INFO lxc_conf - cgroup has been setup lxc-start 1264153153.265 INFO lxc_conf - mount points have been setup lxc-start 1264153153.265 INFO lxc_conf - mount points have been setup lxc-start 1264153153.265 INFO lxc_conf - console '/dev/pts/0' mounted to '/lxc/guest_1/dev/console' lxc-start 1264153153.265 INFO lxc_conf - 4 tty(s) has been setup lxc-start 1264153153.265 DEBUG lxc_conf - temporary mountpoint for old rootfs is './lxc-oldrootfs-WYH6KN' lxc-start 1264153153.266 DEBUG lxc_conf - pivot_root syscall to '/lxc-oldrootfs-WYH6KN' successful lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/proc/bus/usb' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/lib64/rc/init.d' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/dev/pts' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/sys' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/dev' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/cgroup' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/lxc/guest_1/dev/console' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/lxc/guest_1/dev/tty1' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/lxc/guest_1/dev/tty2' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/lxc/guest_1/dev/tty3' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/lxc/guest_1/dev/tty4' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/proc' lxc-start 1264153153.266 DEBUG lxc_conf - umounted '/lxc-oldrootfs-WYH6KN/dev/shm' lxc-start 1264153153.266 ERROR lxc_conf - Device or resource busy - could not unmount old rootfs lxc-start: Device or resource busy - could not unmount old rootfs lxc-start 1264153153.266 ERROR lxc_conf - failed to pivot_root to '/lxc/guest_1' lxc-start: failed to pivot_root to '/lxc/guest_1' lxc-start 1264153153.266 ERROR lxc_conf - failed to set rootfs for 'guest_1' lxc-start: failed to set rootfs for 'guest_1' lxc-start 1264153153.266 ERROR lxc_start - failed to setup the container lxc-start: failed to setup the container lxc-start 1264153153.266 NOTICE lxc_start - '/sbin/init' started with pid '1482' lxc-start 1264153153.266 DEBUG lxc_utils - closing fd '1' lxc-start 1264153153.266 DEBUG lxc_utils - closing fd '0' lxc-start 1264153153.266 DEBUG lxc_utils - closed all inherited file descriptors lxc-start 1264153153.321 DEBUG lxc_start - child exited lxc-start 1264153153.321 INFO lxc_error - child <1482> ended on error (255) lxc-start 1264153153.321 DEBUG lxc_cgroup - using cgroup mounted at '/cgroup' lxc-start 1264153153.361 DEBUG lxc_cgroup - '/cgroup/guest_1' unlinked -- John M. Drescher ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users