Lunar and i brewed the idea of having what I called later "general vserver delegation". In looking at a cleaner way of implementing #38 (actually thinking about a better name for the variable), we figured it would be nice to allow vservers to control things like their EXCLUDE lists and the EMAIL address reports are sent two.
The general idea would be that when metche would look into a vserver, it would source the /etc/metche.conf of that vserver. Now of course, care must be taken because that would mean that the vserver would be to execute code outside the master context, once per 5 minutes, nothing less. :)
There's the idea of sourcing the file through a vserver exec incantation:
eval vserver $name exec 'env -i sh -c '. /etc/metche.conf ; env''
but that still allows the vserver to leak environment to the master context. Maybe a sed or manual parsing of the file? Or just some variables?
Anyways, the general principle would be interesting to implement.
Maybe it would be safer to do it in python, by setting builtins to none, as is done in some MoinMoin? macros.