Hi Roger,

The new "directory" type completely satisfies my need.
Thanks very much indeed for this.


On Sun, Jul 09, 2006 at 09:51:08PM +0100, Roger Leigh wrote:

> I would like to make the way the scripts run rather more flexible, and
> customisable by the user.  However, I would like to make sure it
> doesn't lead to an explosion in the number of options.  The setup
> script directory may also have additional scripts installed by other
> packages or by the sysadmin, so it has to be able to cope with them as
> well.
> 
> Something like:
> 
> setup-options=check,mount,network,chrootname,sbuild
> exec-options=check
> 
> would enable all the standard scripts, and be extensible for
> additional scripts.  However, I would like it to be easier to disable
> individual scripts, e.g.
> 
> setup-options=no-network
> 
> to allow all but the networking setup.
> 
> Any suggestions or thoughts here would be great.

This sounds like a good idea.  

Thinking about this reminds me that I never did understand the
distinction being made between "setup" and "exec" scripts.  The man
page schroot.conf does not enlighten me, and schroot ships with only
one exec script (00check) that just logs info and looks basically like
a debugging aid (it looks like it was derived from setup.d/00check, or
vice-versa).



Earlier in the thread, I mooted an option to toggle mounting:

> >> > So: rather than a new chroot type, why not introduce a new option, say
> >> > "auto-mount", for this?

This seems to me completely unnecessary if "setup-options" is
implemented.


Regards,
-Steve


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to