]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/conf.c
Use the rbind mount for the rootfs
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 11 Mar 2009 09:20:05 +0000 (10:20 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 11 Mar 2009 09:20:05 +0000 (10:20 +0100)
commitfdc03323c2ce83a5d80aeeba53b940b091dff838
tree39f6f8d1c45998f1b63e4a50147da9fad3c37ca6
parent7e7f51d1b485f0fd3476fe9f94c3b50fd8aabbc4
Use the rbind mount for the rootfs

The actual behavior is to mount bind the rootfs to a specific location and
chroot to it. If someone did previously some bind mount in the rootfs they
will be lost in the container.

This fix makes the rootfs to have the submounts in the container.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc_conf.c