Mount-control namespace


I’m building a snap that automatically mounts USB drives for other snaps and I’ve tried two approaches:

  • Using /mnt or /media: The problem here is that I cannot create the mount points. the solution would be to use system-files interface
  • With content interface: It only mounts in snap namespace ignoring the plug declaration (namespace: host)

Would be better to use the first approach?

Is there a bug in mount-control interface?

Thank you in advance.