[GNC] Gnucash Flatpak 3.2 Mysql issue

Geert Janssens geert.gnucash at kobaltwit.be
Tue Sep 4 03:13:07 EDT 2018


Op dinsdag 4 september 2018 08:35:08 CEST schreef Adrien Monteleone:
> While --share=network should give you access to unix-sockets, I don’t think
> that includes access to ‘/etc/hosts’ which lies outside of the sandbox
> therefore, I’d suspect the reference to ‘localhost’ is not resolving, so
> only the actual IP address will work.
> 
> Regards,
> Adrien
> 
An interesting observation. This can be tested by adding --filesystem=/etc/
hosts:ro to the flatpak invocation.

My guess was the unix socket would not be available to the flatpak. Reading 
the footnote on the flatpak Sandbox Permissions page http://docs.flatpak.org/
en/latest/sandbox-permissions-reference.html#f2 on the other hand suggests 
what you also indicate: --share=network should give access to unix-sockets 
(I'm not sure why flatpak makes that "abstract" Unix sockets though).

Geert




More information about the gnucash-user mailing list