On Tue, 2016-09-27 at 09:25 -0400, Michael Hall wrote: > Set SQLITE_TMPDIR=/tmp and it should be happy. > > TMPDIR isn't explicitly set in the snap's runtime environment, which is > why sqlite falls back to /var/tmp > > /tmp is mounted into your snap's runtime, and sqlite will try > SQLITE_TMPDIR before TMPDIR, so setting that ensures that it won't > impact anything other than sqlite. >
Hmmm, we used to export TMPDIR but it seems that it was dropped when moving to snap reexec. Can you file a bug so that sqlite users don't have to worry about SQLITE_TMPDIR unless they want to? I think the bug is simply: 'please set TMPDIR=/tmp when launching snaps' Thanks! > > Michael Hall > [email protected] > > On 09/26/2016 08:15 PM, Leo Arias wrote: > > > > Hello, > > > > I'm trying to snap mapbox > > studio: https://gist.github.com/elopio/d4e84e0d921151a68445a15d8dbc6ced > > > > It's failing when I try to create a map because sqlite tries to write to > > /var/tmp. According to [1], sqlite uses $TMPDIR before trying to use > > /var/tmp, so this is weird. > > > > Is anybody around with more sqlite knowledge who can help me? > > > > pura vida. > > > > [1] https://www.sqlite.org/tempfiles.html > > > > -- > > ¡paz y baile! > > http://www.ubuntu.com > > > > -- Jamie Strandboge | http://www.canonical.com
signature.asc
Description: This is a digitally signed message part
-- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
