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);