Auto-connect request for datashare

Hello @alexmurray, thanks for the review!

I tried first without these interfaces but it looks like ElasticSearch needed them to start correctly:

I reviewed them again:

  • system-observe I thought this was needed but after disconnecting it, I can see ElasticSearch starts normally. Sorry, I should have checked earlier!
  • mount-observe is required by ElasticSearch to inspect the quota information. When initializing, ElasticSearch needs to gather information about the system and ensure the cluster is healthy. For instance, it checks the available disk space. Not connecting this interface triggers a java.io.IOException: Mount point not found error.

I corrected the snapcraft.yml following your advice. The latest revision is here:

https://dashboard.snapcraft.io/snaps/datashare/revisions/8/

Thanks again!