Closed carlcsaposs-canonical closed 1 year ago
Q: will it affect OCI somehow?
Q: will it affect OCI somehow?
It shouldn't—the OCI directories like /etc/mysqlrouter
are at the actual path /etc/mysqlrouter
, not nested inside a folder as it is in the snap
Issue
Directories that use bind mounts cannot be deleted & re-created (they will not be remounted) The mysql-router vm charm deletes directories to clean up configuration & state when the mysql<->mysqlrouter relation is broken
Solution
Use symlinks instead of bind mounts
Context
https://forum.snapcraft.io/t/snap-layouts/7207/33