]> git.ipfire.org Git - thirdparty/lxc.git/commit
conf: verify that rootfs is stable after setting up mounts
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 19 Oct 2021 14:57:05 +0000 (16:57 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 19 Oct 2021 15:25:02 +0000 (17:25 +0200)
commit42283e2275e3a72b8da5276ab3266f89f3b79855
tree75bc66ecf6ead4e0daaabb1f888b99f5cc7d556c
parentedc2d1c7769269f057fb1baf1b23a09698372fe2
conf: verify that rootfs is stable after setting up mounts

Apparently some users changed their rootfs via their lxc.mount.entry
entries. Let's not allow that as that can cause confusion during
container setup. So lets verify that the rootfs is stable after setup.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c