Each run of a snap app leak directories in /tmp

Bug #1593141 reported by Jean-Baptiste Lallement
8
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.hello.hello_*
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.1000_snap.hello.hello_1eQqie/
/tmp/snap.1000_snap.hello.hello_1eQqie/
/tmp/snap.1000_snap.hello.hello_1eQqie/tmp

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This has been fixed long ago, when I changed snap-confine to clean up after itself properly.

Changed in snappy:
status: New → Fix Released
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.