Thanks for the feedback. Any suggestions as to how the script should be called, and which options it should have, if any?
On Wed, May 24, 2017 at 1:17 AM, Johannes Schauer <jo...@debian.org> wrote: > Hello all, > > Quoting Ansgar Burchardt (2017-05-24 08:42:37) > > Michael Stapelberg <stapelb...@debian.org> writes: > > > Doing it in a script is one more step. The point of this endavour is to > > > make the setup as simple as possible. > > > > I think creating a chroot in postinst is not good. Mostly because > > maintainer scripts should never fail, but this is too likely to fail > > (for example when there are network connection issues). > > > > Maintainer scripts must also *never* write to user home > > directories. Besides security issues this will also make maintainer > > scripts just fail. > > > > Just providing a script in the existing sbuild package to more easily > > setup a chroot with a standard configuration seems to be the better > > option to me. > > I agree with ansgar on all accounts. > > cheers, josch > -- Best regards, Michael