[Buildd-tools-devel] Bug#428805: Bug#428805: Bug#428805: schroot: Fails to start a "directory" chroot

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun Jun 17 09:29:45 UTC 2007


tags 428805 + patch
thanks

Raphael Hertzog <hertzog at debian.org> writes:

> Another solution (that looks cleaner) is to use "mount --bind" rather
> than "mount --rbind". That way, you don't keep the sub-mounts.
[...]
> Currently you're using --rbind for "directory". You should probably
> use --rbind for plain and --bind for directory.

Agreed.  This does look much cleaner, and also fits in with the
difference between the two options.

Does the attached patch for the 10mount script fix things for you?


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schroot-bindmount-directory.patch
Type: text/x-diff
Size: 5435 bytes
Desc: bind mount directory chroots
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20070617/78bb3fb3/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20070617/78bb3fb3/attachment.pgp 


More information about the Buildd-tools-devel mailing list