Dean Mao <[email protected]> writes:

> The log file produced by lxc-start doesn't really resemble the output
> generated from the container boot.

The output of container's /dev/console is emitted to stdout by default.
You can direct it to a file in your .conf:

    lxc.console = /var/log/lxc/foo.console

If that output doesn't resemble native booting, it might simply be that
you aren't seeing output from the kernel, udev, mount -a/mountall, &c --
because those systems don't run in the container.

Ubuntu, at least, does not log very much to /dev/console by default.  In
particular, it emits output for sysvinit jobs (e.g. slapd, apache2), but
not upstart jobs (e.g. rsyslog, ssh, squid).

Or if your container isn't working, that could be the cause :-)


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to