please set TMPDIR=/tmp when launching snaps
Bug #1628193 reported by
Leo Arias
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Undecided
|
Unassigned | ||
snap-confine (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After trying to snap an application that uses sqlite, following mhall's advice I had to add a wrapper that sets SQLITE_TMPDIR=/tmp. That is a simple workaround, but ugly. It will be better to set TMPDIR, and then sqlite will use that path with no additinal work.
From Jamie S:
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?
To post a comment you must log in.
snap-confine sets up the private tmp and also sets: TMPDIR, TEMPDIR to /tmp.