Mounting a network filesystem into schroot
- by haggai_e
Hi,
I'm using a network file system (AFS) and I would like to also mount it into my schroot. Adding a line to /etc/schroot/mount-defaults, with bind or rbind in the options didn't help: schroot always mounts the directory with bind, and it remains empty in the chroot.
My current solution is a script that remounts the /afs directory with rbind after the schroot has been set up.
Is there a way to make schroot use rbind directly?