> Gah ! ok, the last request : can you launch the container with the following
> command line ?
>
>   lxc-start -n guest_1 -l DEBUG -o $(tty)
> and give the output.
>

localhost ~ #   lxc-start -n guest_1 -l DEBUG -o $(tty)
      lxc-start 1264150065.375 INFO     lxc_conf - tty's configured
      lxc-start 1264150065.375 DEBUG    lxc_start - sigchild handler set
      lxc-start 1264150065.375 INFO     lxc_start - 'guest_1' is initialized
      lxc-start 1264150065.379 DEBUG    lxc_conf - instanciated veth
'vethBhWIhY/vetheRH7qk', index is '10'
      lxc-start 1264150065.438 DEBUG    lxc_cgroup - using cgroup
mounted at '/cgroup'
      lxc-start 1264150065.438 DEBUG    lxc_cgroup - '/cgroup/2876'
renamed to '/cgroup/guest_1'
      lxc-start 1264150065.513 DEBUG    lxc_conf - move 'br0' to '2876'
      lxc-start 1264150065.513 INFO     lxc_conf - 'guest_1' hostname
has been setup
      lxc-start 1264150065.516 DEBUG    lxc_conf - 'veth0' has been setup
      lxc-start 1264150065.516 INFO     lxc_conf - network has been setup
      lxc-start 1264150065.516 DEBUG    lxc_cgroup - using cgroup
mounted at '/cgroup'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.deny' set to 'a # Deny all access to devices'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 1:3 rwm # dev/null'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 1:5 rwm # dev/zero'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 5:1 rwm # dev/console'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 5:0 rwm # dev/tty'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 4:0 rwm # dev/tty0'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 4:1 rwm # dev/tty1'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 4:2 rwm # dev/tty2'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 1:9 rwm # dev/urandon'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 1:8 rwm # dev/random'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 136:* rwm # dev/pts/*'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 5:2 rwm # dev/pts/ptmx'
      lxc-start 1264150065.517 DEBUG    lxc_conf - cgroup
'devices.allow' set to 'c 254:0 rwm'
      lxc-start 1264150065.517 INFO     lxc_conf - cgroup has been setup
      lxc-start 1264150065.517 DEBUG    lxc_conf - mounted none on
/lxc/guest_1/dev/pts, type devpts
      lxc-start 1264150065.517 DEBUG    lxc_conf - mounted none on
/lxc/guest_1/dev/shm, type tmpfs
      lxc-start 1264150065.517 DEBUG    lxc_conf - mounted
/usr/portage on /lxc/guest_1/usr/portage, type none
      lxc-start 1264150065.517 INFO     lxc_conf - mount points have been setup
      lxc-start 1264150065.517 INFO     lxc_conf - mount points have been setup
      lxc-start 1264150065.518 INFO     lxc_conf - console
'/dev/pts/0' mounted to '/lxc/guest_1/dev/console'
      lxc-start 1264150065.518 INFO     lxc_conf - 4 tty(s) has been setup
      lxc-start 1264150065.518 DEBUG    lxc_conf - temporary
mountpoint for old rootfs is './lxc-oldrootfs-FJUuhq'
      lxc-start 1264150065.518 DEBUG    lxc_conf - pivot_root syscall
to '/lxc-oldrootfs-FJUuhq' successful
      lxc-start 1264150065.518 DEBUG    lxc_conf - umounted
'/lxc-oldrootfs-FJUuhq/proc/bus/usb'
      lxc-start 1264150065.518 DEBUG    lxc_conf - umounted
'/lxc-oldrootfs-FJUuhq/lib64/rc/init.d'
      lxc-start 1264150065.518 DEBUG    lxc_conf - umounted
'/lxc-oldrootfs-FJUuhq/dev/pts'
      lxc-start 1264150065.519 ERROR    lxc_conf - Invalid argument -
failed to umount '/lxc-oldrootfs-FJUuhq/dev/shm'
lxc-start: Invalid argument - failed to umount '/lxc-oldrootfs-FJUuhq/dev/shm'
      lxc-start 1264150065.519 ERROR    lxc_conf - failed to
pivot_root to '/lxc/guest_1'
lxc-start: failed to pivot_root to '/lxc/guest_1'
      lxc-start 1264150065.519 ERROR    lxc_conf - failed to set
rootfs for 'guest_1'
lxc-start: failed to set rootfs for 'guest_1'
      lxc-start 1264150065.519 ERROR    lxc_start - failed to setup
the container
lxc-start: failed to setup the container
      lxc-start 1264150065.519 NOTICE   lxc_start - '/sbin/init'
started with pid '2876'
      lxc-start 1264150065.519 DEBUG    lxc_utils - closing fd '1'
      lxc-start 1264150065.519 DEBUG    lxc_utils - closing fd '0'
      lxc-start 1264150065.519 DEBUG    lxc_utils - closed all
inherited file descriptors
      lxc-start 1264150065.553 DEBUG    lxc_start - child exited
      lxc-start 1264150065.553 INFO     lxc_error - child <2876> ended
on error (255)
      lxc-start 1264150065.553 DEBUG    lxc_cgroup - using cgroup
mounted at '/cgroup'
      lxc-start 1264150065.593 DEBUG    lxc_cgroup - '/cgroup/guest_1' unlinked

> Is it possible the /dev/shm was mounted at the boot time on the initrd disk
> ?
On the host yes that is possible. I believe it would be easy to remove
the initrd on this machine since it's pretty scaled down being that it
runs inside of virtualbox.


-- 
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

Reply via email to