[Bug 1049926] Re: logging of init doesn't go to console

2012-09-13 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu34 --- lxc (0.8.0~rc1-4ubuntu34) quantal; urgency=low [ Serge Hallyn ] * 0214-give-pclose-errno: help debug pclose failures when lxc runs scripts. * 0215-lxc-clone-name-arg: fix incorrect checking for --name argument.

[Bug 1049926] Re: logging of init doesn't go to console

2012-09-12 Thread Scott Moser
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1049926 Title: logging of init doesn't go to console To manage notifications about this bug go to:

[Bug 1049926] Re: logging of init doesn't go to console

2012-09-12 Thread Serge Hallyn
Thanks for reporting this bug. Ideally '-- /sbin/init --verbose console=/dev/console' would work (passing the output to /dev/console which is a symbolic link to /dev/lxc/console, which is a bind mount of the proper devpts pty). ** Changed in: lxc (Ubuntu) Status: New = Confirmed **

[Bug 1049926] Re: logging of init doesn't go to console

2012-09-12 Thread Serge Hallyn
When you say sudo ln -sf console /var/lib/lxc/${NAME}/rootfs/dev the source is a relative pathname. This should end up with a link to itself. (it also doesn't work for me) Can you tell me what directory you are in when you do that, and what 'ls -l /var/lib/lxc/quantal- amd64/rootfs/dev'

Re: [Bug 1049926] Re: logging of init doesn't go to console

2012-09-12 Thread Scott Moser
On Wed, 12 Sep 2012, Serge Hallyn wrote: When you say sudo ln -sf console /var/lib/lxc/${NAME}/rootfs/dev the source is a relative pathname. This should end up with a link to itself. (it also doesn't work for me) Can you tell me what directory you are in when you do that, and what

[Bug 1049926] Re: logging of init doesn't go to console

2012-09-12 Thread Scott Moser
** Description changed: - REL=quantal ARCH=$(dpkg --print-architecture) NAME=$REL-$ARCH sudo lxc-create -t ubuntu-cloud -n $NAME -- --release=$REL --arch=$ARCH --stream=daily sudo lxc-start --name=$NAME -- /sbin/init --verbose # the above will not show output of upstart

[Bug 1049926] Re: logging of init doesn't go to console

2012-09-12 Thread Serge Hallyn
Ah, thanks, that makes sense. That seems like a sensible workaround until container syslog is supported. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1049926 Title: logging of init

[Bug 1049926] Re: logging of init doesn't go to console

2012-09-12 Thread Serge Hallyn
** Changed in: lxc (Ubuntu) Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1049926 Title: logging of init doesn't go to console To manage