On Thu, Nov 1, 2012 at 3:34 PM, Reinhard Tartler <siret...@gmail.com> wrote:
> > Nevertheless, I've also implemented another approach, which uses the host > automount binary. I did not test the script extensively, but it seems to > work as a proof of concept on both schroot 1.4 and schroot 1.6 branches. > I'm sure that it could be greatly simplified with some little changes to > automount and schroot, but it should be good enough to demonstrate the > idea. Please find that script, 71automount, attached to this email and > share your thoughts about this. > > It seems that 71automount alone is enough to break the --recover-session option, because 10mount fails to umount and mount all filesystems again. In order to fix this, I think that in the recover session case, a setup.d script must ensure that automount is properly killed. The attached 01automount files implements this. Roger, please tell me if this approach makes sense to you and what is missing so that these two scripts can be integrated into the schroot package properly. Cheers, Reinhard -- regards, Reinhard
01automount
Description: Binary data