Andrew Sharp wrote:
It does. The issues is that a normal bind mount won't bind any mounts underneath it.I can't tell if you answered the question or not. Does the directory show up in the chroot environment? If so, then your problem lies elsewhere, like maybe a permissions thing.
For example, if you have /usr and /usr/local and bind mount just /usr, /usr/local won't appear mounted in the bound mount.
As Daniel Foote suggested, rbinds may be a solution, but I haven't had the chance to play myself. My only concern would be that it may or may not like mounts randomly appearing/disappearing.
Thanks, Adam Skutt