with overlayfs on /tmp: cannot open base directory /tmp/snap.hello-world: Permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Incomplete
|
Undecided
|
Unassigned | ||
snapd |
Triaged
|
Undecided
|
Zygmunt Krynicki | ||
Debian |
New
|
Undecided
|
Unassigned |
Bug Description
`snap run hello-world` (and other snaps) does not work on our debian 10 live distro where `/tmp` is an overlayfs mount with upperdir on another tmps (mounted with noatime,defaults, i.e. not noexec or similar). The failure is "cannot open base directory /tmp/snap.
audit: type=1400 audit(158792425
Without the overlay on /tmp everything does work normally.
description: | updated |
Changed in snapd: | |
assignee: | nobody → Zygmunt Krynicki (zyga) |
Changed in snapd: | |
status: | New → Triaged |
It is not possible to confine and mitigate overlayfs at the moment.
What are you trying to do? Why is your /tmp an overlayfs, instead of a tmpfs? It should be a tmpfs mount, and should fresh and clean on each boot.