Comment 25 for bug 751531

Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: [Bug 751531] Re: Add support for rootfs post-processing in l-m-c

On Fri, Jan 20, 2012 at 12:07 PM, Alexandros Frantzis <email address hidden> wrote:
> I would argue for not running the script inside the rootfs (although my
> initial branch did just this), as this decreases the generality of the
> feature. For example, if the script is running inside the chroot, how
> would you copy files into the chroot?

Yeah, that would also be something to consider.

The good thing about running it in the chroot is that we don't need to
care about security issues at the host side that much. If we allow the
script to also touch the host system, we just need to be careful by
not allowing sudo access that easily.