[lxc-devel] Pivotdir bugs

lxc at usr.fi lxc at usr.fi
Wed Dec 21 09:40:31 UTC 2011


Hello,

There is bug related to pivotdir from src/lxc/conf.c

Old root is not unmounted if you accidentally put '/' at start of
lxc.pivotdir. For example:
lxc.pivotdir = /pivotdir

This bug is critical as lxc silently starts container leaving old root mounted.
I would check if nothing is unmounted and fail with error.

-usr




More information about the lxc-devel mailing list