EDIT: replaced with current status
I’ve implemented most of this in:
- https://github.com/snapcore/snapd/pull/4008 contains the automatic creation of directories (in writable areas)
- https://github.com/snapcore/snapd/pull/4068 contains the implementation of the new “source” attribute and of the new automatic renaming of clashing mount entries.
I need to add one more patch to make plugs and slots symmetric but I need to ponder about that still. I plan to write some spread tests to ensure this really works but those will only be possible once 4008 and yet-unproposed overlayfs PR is merged.