[buildd-tools-devel] Testing of schroot 1.3 unionfs support

Roger Leigh rleigh at codelibre.net
Sun Aug 2 22:40:49 UTC 2009


On Sun, Aug 02, 2009 at 03:46:49PM -0400, Tim Abbott wrote:
> On Sun, 2 Aug 2009, Roger Leigh wrote:
> 
> > On Sun, Aug 02, 2009 at 02:08:03PM -0400, Tim Abbott wrote:
> > > I tried it again, and it worked (I also did the same tests I did 
> > > yesterday, and they all worked as well).
> > 
> > Fantastic, thanks.
> > 
> > I'll make an upload of 1.3.0 to experimental after I've done some
> > further testing.
> 
> I found another bug: when you run "schroot -a -l", you get a bunch of 
> warnings about existing union sessions of the form:
> 
> W: line 8 [etch-amd64-bf1ee977-5337-4dd5-80fd-324160bf00a6]: Unknown key ‘fs-union-branch-config’ used
> I: This option may be present in a newer version

This is because fs-union-branch-config has never been present in a released
version of schroot.  It's never been a supported option.  The same applies
to all the other fs-* options.

I could add in code in set_keyfile to map the old to new option names, but
AFAIK yourself and Jan-Marek are the only users, so I'm not sure it's
really worth adding.

> W: line 13 [etch-amd64-bf1ee977-5337-4dd5-80fd-324160bf00a6]: Unknown key ‘mount-base-directory’ used
> I: This option may be present in a newer version

The same applies for this option (I don't think I've ever seen this one--is
it a local customisation?).

> W: line 22 [etch-amd64-bf1ee977-5337-4dd5-80fd-324160bf00a6]: Unknown key ‘session-base-directory’ used

Ditto.

> I: This option may be present in a newer version
> W: line 23 [etch-amd64-bf1ee977-5337-4dd5-80fd-324160bf00a6]: Unknown key ‘source-groups’ used

This is sort-of legit.  Previously source-* options were written out
with the session metadata, even though they were useless.  We now never
write out the source-* options since they are only useful for the
source->session transition.  You should, however, have got a message
saying that they were deprecated rather than unknown.  Looking at the
code, this is where we change from source_clonable to source facets.
I'll add the same deprecation logic to the session code so it gives
the appropriate diagnostic.  As soon as you start creating sessions
with the new version, the warnings will vanish.

I'll also split chroot_facet_session into session and session_clonable
facets as for the source facets as well.  But, I'll probably leave that
for the next version.


Regards,
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: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20090802/dd7caefa/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list