Bug#329403: [Buildd-tools-devel] Bug#329403: schroot: Clobbers files in the chroot without warning

Roger Leigh rleigh at whinlatter.ukfsn.org
Wed Sep 21 18:36:07 UTC 2005


Daniel Jacobowitz <dan at debian.org> writes:

> On Wed, Sep 21, 2005 at 06:59:31PM +0100, Roger Leigh wrote:
>> Some ideas include:
>> 
>> - Putting the scripts in a separate directory, and creating symlinks
>>   to the setup.d directory, just like for /etc/rcN.d/.  I'm not sure
>>   how best to handle symlink creation and removal however.
>> - Using debconf to ask if the symlinks should be maintained
>>   automatically.
>> - Adding a setup configuration file for the scripts to source, which
>>   can alter their behaviour.  This could default to doing nothing, but
>>   could also be configured with debconf.
>
> Enabling the scripts on a per-chroot basis in schroot.conf perhaps?

That's even better, thanks.

I'll probably add a configuration file for the scripts as well, since
this allows for a degree of customisation without the need to hack
around with the scripts.

I should get this done by the weekend.  I need to finish up the
session management stuff first as well, though, which is currently
about half done.


Regards,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.




More information about the Buildd-tools-devel mailing list