logging of init doesn't go to console
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
REL=quantal
ARCH=$(dpkg --print-
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
you can fix/hack this by:
sudo ln -sf console /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: lxc 0.8.0~rc1-4ubuntu33
ProcVersionSign
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Wed Sep 12 15:55:28 2012
Ec2AMI: ami-0000014b
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in lxc (Ubuntu): | |
status: | Confirmed → Fix Committed |
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).