[Buildd-tools-devel] schroot >< dchroot

Luk Claes luk at debian.org
Sun Jun 11 17:43:29 UTC 2006


Roger Leigh wrote:
> Luk Claes <luk at debian.org> writes:
> 
> Hi,
> 
>> I recently took over dchroot without knowing about schroot. It seems
>> schroot has everything dchroot has and much more. Don't you think it
>> would be best to drop dchroot in favor of schroot? If so, maybe it would
>> be a good idea for you to ship a transitional dchroot package in schroot?
> 
> We already do :)
> 
> I wrote a compatibility wrapper which is exactly the same as schroot,
> but:
> - has all the dchroot command-line options
> - has the additional schroot functionality restricted
> - it will use the dchroot configuration if present, but otherwise will
>   fall back to using the standard schroot configuration.

Though it's not a transition package of course...

> On the downside
> - schroot is rather more featureful than dchroot, but this may
>   translate to being potentially more insecure, due to having a larger
>   and more complex codebase.  There is a testsuite to avoid this, but
>   it's still a legitimate concern (which the previous dchroot
>   maintainer had, when I proposed merging the two).

It's maintained by a team instead of by an individual and as you
mention: the team is trying to reduce that risk, so I don't see a reason
to keep a seperate dchroot source package as there is no upstream.

> If you want to become involved with schroot maintenance, you would be
> welcome.  You can grap a current copy from
> 
>   svn://svn.debian.org/svn/buildd-tools/trunk/schroot
> 
> If you build with --enable-maintainer-mode and have doxygen installed,
> it will build a complete API reference.  I'll be happy to answer any
> questions you might have.

All the reported bugs in schroot are tagged pending, though bug #354344
(schroot: please use mount --rbind when mounting session-managed plain
chroots) is blocked by another bug, did lamont promiss a fix or are you
using /proc/mounts? I didn't have a look at the svn repository yet,
though I'll probably do that in the near future...

> $ dchroot --help
> Usage:
>   dchroot [OPTION...] [COMMAND] - run command or shell in a chroot
> 
> General options:
>   -h [ --help ]         Show help options
>   -V [ --version ]      Print version information
>   -q [ --quiet ]        Show less output
>   -v [ --verbose ]      Show more output
>   -l [ --list ]         List available chroots
>   -i [ --info ]         Show information about selected chroots
>   -p [ --path ] arg     Print path to selected chroot
>   --config              Dump configuration of selected chroots
> 
> Chroot selection:
>   -c [ --chroot ] arg   Use specified chroot
>   -a [ --all ]          Select all chroots
> 
> Chroot environment:
>   -d [ --preserve-environment ]  Preserve user environment

Looks good :-)

So, I'd better file the removal bug for the dchroot source package?! :-)

Cheers

Luk

-- 
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint:   D5AF 25FB 316B 53BB 08E7   F999 E544 DE07 9B7C 328D

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060611/dfbcc5c9/signature.pgp


More information about the Buildd-tools-devel mailing list