From: Serge Hallyn Date: Wed, 13 Mar 2013 13:55:11 +0000 (-0500) Subject: default kmsg symlinking to on, and document lxc.kmsg X-Git-Tag: lxc-0.9.0.rc1~2^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f3f41d0d586bbf4d16969ea13074eddf761d1d1;p=thirdparty%2Flxc.git default kmsg symlinking to on, and document lxc.kmsg Signed-off-by: Serge Hallyn --- diff --git a/doc/lxc.conf.sgml.in b/doc/lxc.conf.sgml.in index b78402533..ce8f79a27 100644 --- a/doc/lxc.conf.sgml.in +++ b/doc/lxc.conf.sgml.in @@ -553,6 +553,25 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + Enable kmsg symlink + + Enable creating /dev/kmsg as symlink to /dev/console. This defaults to 1. + + + + + + + + + Set this to 0 to disable /dev/kmsg symlinking. + + + + + + Mount points diff --git a/src/lxc/conf.c b/src/lxc/conf.c index e30c720ba..85e1c61e4 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -2068,6 +2068,7 @@ struct lxc_conf *lxc_conf_init(void) new->console.name[0] = '\0'; new->maincmd_fd = -1; new->rootfs.mount = default_rootfs_mount; + new->kmsg = 1; lxc_list_init(&new->cgroup); lxc_list_init(&new->network); lxc_list_init(&new->mount_list);