[Buildd-tools-devel] Bug#427047: Bug#427047: schroot: Proposal for global custom mount points specification (different from 395062)

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun Jun 10 11:22:11 UTC 2007


Peter Rabbitson <rabbit at rabbit.us> writes:

> I have a similar situation to what Kees Cook described in bug
> #395062.  However in my case I needed to modify some of the default
> mounts, specifically removing /dev/pts and making /dev an --rbind to
> the system /dev so I can enjoy the functionality of udev from within
> the chroot. With the numerous package updates last week, I got tired
> of fixing /etc/schroot/setup.d/10mount to my liking, so this idea
> was born.
>
> The proposal is very simple - I am adding support for an fstab-like file
> /etc/scroot/schroot.fstab. The code is totally non-intrusive, and activates
> only when the file is present. I think I have covered all the corner cases,
> with corresponding non-cryptic error messages. Feel free to include this in 
> the distribution if you like the idea.

I like the idea a lot.  I will need to do some testing, but I think
this can go into the next release once I've carefully reviewed it.  I
will need to make some small changes, such as making the fstab file
location configurable so that different chroots can have separate (or
shared) fstab files if they choose.  This will fit in with some other
changes I'm making.

> P.S. I am not that good with shell scripting, a bashism might have
> slipped in here or there

That shouldn't be a problem--I'll review it and test it before I apply
it.

By the way, the file in question is GPL 2 or above.  Are you OK with
that licence covering your code?


Many 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: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20070610/e53e380d/attachment.pgp 


More information about the Buildd-tools-devel mailing list