snap commands create increasing number of temporary files in /tmp
Bug #1954461 reported by
Hao Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Recently we found an issue that each time a snap command runs a few temporary directories are created and would not be removed later, which caused over the time the number of inode in /tmp folder is 100%.
# ls -l /tmp/|wc -l
6
# ls -l /tmp
total 0
drwx------ 5 root root 100 Dec 10 16:15 netplan-
drwx------ 2 root root 40 Dec 10 16:15 netplan_z147ddv1
# snap get core -d
# ls -l /tmp/|wc -l
9
# ls -l /tmp
total 0
drwx------ 5 root root 100 Dec 10 16:15 netplan-
drwx------ 5 root root 100 Dec 10 16:18 netplan-
drwx------ 2 root root 40 Dec 10 16:18 netplan_hd2w8v9j
drwx------ 2 root root 40 Dec 10 16:15 netplan_z147ddv1
Regards,
Hao
description: | updated |
description: | updated |
To post a comment you must log in.
What version of snapd was this with?