On 06/23/2010 11:31 PM, Papp Tamás wrote: > Serge E. Hallyn wrote, On 2010. 06. 23. 15:32: > >> Quoting Daniel Lezcano (dlezc...@fr.ibm.com): >> >> >>> On 06/23/2010 11:57 AM, Papp Tamás wrote: >>> >>> >>>> Daniel Lezcano wrote, On 2010. 06. 23. 11:55: >>>> >>>> >>>>> What version of lxc are you using ? >>>>> >>>>> >>>> Sorry:0 >>>> >>>> This is an Ubuntu 10.04 and lxc 0.6.5. >>>> >>>> >>> I think it is fixed with the 0.7.0 version. Can you check against this >>> version ? It is probable it will hit the ubuntu update very soon. >>> >>> >> I'm waiting for the debian package to be released, and that will >> be pulled in for maverick. I do have a lxc 0.7.0 package in my >> own ppa for maverick (10.10) at ppa:serge-hallyn/virt, if you don't >> want to install from git, but install from git worked perfectly for >> me. If you prefer, I can put a lucid package up in my ppa. But >> 0.7.0 isn't likely to hit lucid itself. >> >> > Well, I tried this, and now it's btter, but still not good enough: > > $ lxc-start -l DEBUG -o $(tty) -n fsn > lxc-start 1277328390.348 DEBUG lxc_conf - allocated pty > '/dev/pts/1' (4/5) > lxc-start 1277328390.348 DEBUG lxc_conf - allocated pty > '/dev/pts/2' (6/7) > lxc-start 1277328390.348 DEBUG lxc_conf - allocated pty > '/dev/pts/3' (8/9) > lxc-start 1277328390.348 DEBUG lxc_conf - allocated pty > '/dev/pts/4' (10/11) > lxc-start 1277328390.348 INFO lxc_conf - tty's configured > lxc-start 1277328390.348 DEBUG lxc_start - sigchild handler set > lxc-start 1277328390.348 INFO lxc_start - 'fsn' is initialized > lxc-start 1277328390.431 DEBUG lxc_cgroup - using cgroup > mounted at '/cgroup' > lxc-start 1277328390.431 DEBUG lxc_cgroup - '/cgroup/24650' > renamed to '/cgroup/fsn' > lxc-start 1277328390.431 INFO lxc_conf - 'fsn' hostname has > been setup > lxc-start 1277328390.432 DEBUG lxc_cgroup - using cgroup > mounted at '/cgroup' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup 'devices.deny' > set to 'a' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 1:3 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 1:5 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 5:1 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 5:0 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 4:0 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 4:1 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 1:9 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 1:8 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 136:* rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 5:2 rwm' > lxc-start 1277328390.432 DEBUG lxc_conf - cgroup > 'devices.allow' set to 'c 254:0 rwm' > lxc-start 1277328390.432 INFO lxc_conf - cgroup has been setup > lxc-start 1277328390.432 INFO lxc_conf - mount points have > been setup > lxc-start 1277328390.432 INFO lxc_conf - no console output > required > lxc-start 1277328390.432 INFO lxc_conf - 4 tty(s) has been setup > lxc-start 1277328390.432 DEBUG lxc_conf - mounted > '/data/lxc/fsn/rootfs' on '/usr/lib/lxc/lxc/rootfs' > lxc-start 1277328390.432 DEBUG lxc_conf - mountpoint for old > rootfs is '/usr/lib/lxc/lxc/rootfs/mnt' > lxc-start 1277328390.432 DEBUG lxc_conf - pivot_root syscall to > '/usr/lib/lxc/lxc/rootfs' successful > lxc-start 1277328397.743 DEBUG lxc_conf - umounted '/mnt/dev/pts' > lxc-start 1277328399.953 DEBUG lxc_conf - umounted '/mnt/dev/shm' > lxc-start 1277328404.433 DEBUG lxc_conf - umounted > '/mnt/sys/fs/fuse/connections' > lxc-start 1277328406.983 DEBUG lxc_conf - umounted > '/mnt/sys/kernel/debug' > lxc-start 1277328409.363 DEBUG lxc_conf - umounted > '/mnt/sys/kernel/security' > lxc-start 1277328411.663 DEBUG lxc_conf - umounted '/mnt/proc' > lxc-start 1277328413.923 DEBUG lxc_conf - umounted '/mnt/var/run' > lxc-start 1277328416.253 DEBUG lxc_conf - umounted '/mnt/var/lock' > lxc-start 1277328418.553 DEBUG lxc_conf - umounted > '/mnt/lib/init/rw' > lxc-start 1277328423.043 DEBUG lxc_conf - umounted > '/mnt/data/ftp/oktatas' > lxc-start 1277328425.313 DEBUG lxc_conf - umounted > '/mnt/data/ftp/pub' > lxc-start 1277328427.553 DEBUG lxc_conf - umounted > '/mnt/data/mailman/archives' > lxc-start 1277328429.793 DEBUG lxc_conf - umounted '/mnt/tmp' > lxc-start 1277328434.293 DEBUG lxc_conf - umounted > '/mnt/var/lib/ldap' > lxc-start 1277328436.503 DEBUG lxc_conf - umounted '/mnt/cgroup' > lxc-start 1277328438.743 DEBUG lxc_conf - umounted > '/mnt/data/lxc/fsn/rootfs/dev/tty1' > lxc-start 1277328441.063 DEBUG lxc_conf - umounted > '/mnt/data/lxc/fsn/rootfs/dev/tty2' > lxc-start 1277328443.313 DEBUG lxc_conf - umounted > '/mnt/data/lxc/fsn/rootfs/dev/tty3' > lxc-start 1277328445.653 DEBUG lxc_conf - umounted > '/mnt/data/lxc/fsn/rootfs/dev/tty4' > lxc-start 1277328450.193 DEBUG lxc_conf - umounted '/mnt/dev' > lxc-start 1277328452.443 DEBUG lxc_conf - umounted '/mnt/sys' > lxc-start 1277328454.773 DEBUG lxc_conf - umounted '/mnt/data' > lxc-start 1277328457.063 DEBUG lxc_conf - umounted '/mnt/var' > lxc-start 1277328461.613 INFO lxc_conf - lazy unmount of '/mnt' > lxc-start 1277328461.613 INFO lxc_conf - pivoted to > '/usr/lib/lxc/lxc/rootfs' > lxc-start 1277328461.613 DEBUG lxc_conf - capabilities has been > setup > lxc-start 1277328461.613 NOTICE lxc_conf - 'fsn' is setup. > lxc-start 1277328461.613 NOTICE lxc_start - exec'ing '/sbin/init' > lxc-start 1277328461.708 NOTICE lxc_start - '/sbin/init' started > with pid '24650' > lxc-start 1277328461.708 INFO lxc_console - no console specified > lxc-start 1277328461.708 DEBUG lxc_utmp - Added > '/data/lxc/fsn/rootfs/var/run' to inotifywatch > lxc-start 1277328461.919 DEBUG lxc_utmp - got inotify event 2 > for utmp > lxc-start 1277328461.919 DEBUG lxc_utmp - utmp handler - run > level is S/S > > > So I miss something? >
Console output is not defaulting to the current tty, so you have to specify lxc-start -n fsn -s lxc.console=$(tty) That will be fixed for 0.7.1, I will release probably tomorrow. Thanks -- Daniel ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users