[buildd-tools-devel] Bug#688750: schroot and autofs need better integration

Reinhard Tartler siretart at gmail.com
Thu Nov 1 15:38:09 UTC 2012


On Thu, Nov 1, 2012 at 3:34 PM, Reinhard Tartler <siretart at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20121101/5e5dd48b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01automount
Type: application/octet-stream
Size: 1757 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20121101/5e5dd48b/attachment.obj>


More information about the Buildd-tools-devel mailing list