TMPDIR not availalble for snappy services
Bug #1457839 reported by
Michael Vogt
on 2015-05-22
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Snappy |
Critical
|
John Lenton | ||
| | 15.04 |
Critical
|
John Lenton | ||
| | ubuntu-core-launcher (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
Snappy sets TMPDIR but that dir is not created for services.
This prevents starting and sometimes even installing snaps that have services.
Related branches
lp:~chipaca/snap-confine/unshare
- Tyler Hicks: Approve on 2015-05-20
- Michael Vogt: Approve on 2015-05-08
- Jamie Strandboge: Pending requested 2015-05-06
-
Diff: 173 lines (+68/-10)5 files modifieddebian/usr.bin.ubuntu-core-launcher (+7/-0)
src/Makefile (+1/-1)
src/main.c (+38/-1)
src/utils.c (+13/-7)
src/utils.h (+9/-1)
lp:~chipaca/snap-confine/mktmpdir
- Michael Vogt: Approve on 2015-05-22
-
Diff: 51 lines (+31/-3)1 file modifiedsrc/main.c (+31/-3)
Michael Vogt (mvo)
on 2015-05-22
| Changed in snappy: | |
| status: | New → In Progress |
| importance: | Undecided → High |
| Michael Terry (mterry) wrote : | #1 |
Alexander Sack (asac)
on 2015-05-29
| description: | updated |
| Changed in snappy: | |
| importance: | High → Critical |
Ricardo Salveti (rsalveti)
on 2015-05-31
| Changed in snappy: | |
| assignee: | nobody → John Lenton (chipaca) |
| Michael Vogt (mvo) wrote : | #2 |
@Michael Terry: the fact that TMPDIR is not there is bug #1462903 - its a side-effect of running ubuntu-
Ricardo Salveti (rsalveti)
on 2015-06-11
| Changed in snappy: | |
| status: | In Progress → Fix Released |
To post a comment you must log in.


You tested with a snappy "binary" command (i.e. not a service)? I tested last week with a simple shell script that printed TMPDIR, TEMPDIR, and SNAP_APP_TMPDIR. Only the last two were set.