Each run of a snap app leak directories in /tmp
Bug #1593141 reported by
Jean-Baptiste Lallement
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
snapd:
Installed: 2.0.8+16.10
Test Case:
1. In a terminal execute the following commands:
$ sudo snap install hello
$ for x in $(seq 10); do hello; done
$ ls -ld ls -ld /tmp/snap.$(id -u)_snap.
2. Verify the output of the last command
Expected result
It returns nothing
Actual result
It returns at least 10 directories with the following content
⟫ sudo find /tmp/snap.
/tmp/snap.
/tmp/snap.
To post a comment you must log in.
This has been fixed long ago, when I changed snap-confine to clean up after itself properly.