The DoS is an interesting point but it is difficult to solve generally in that when creating a per-snap tmpfs, we must choose a default size and that feature would need design (note, snaps already have the ability to fill up the tmpfs by creating different files in /run and we've said that resource exhaustion would be handled via store reviews).
To unblock this bug I think we should focus on the plan I outlined but keep your point in mind as a future enhancement. Thanks!
The DoS is an interesting point but it is difficult to solve generally in that when creating a per-snap tmpfs, we must choose a default size and that feature would need design (note, snaps already have the ability to fill up the tmpfs by creating different files in /run and we've said that resource exhaustion would be handled via store reviews).
To unblock this bug I think we should focus on the plan I outlined but keep your point in mind as a future enhancement. Thanks!