Cannot connect to a postgresql database
Alexander Larsson
alexl at redhat.com
Tue Dec 15 07:30:20 UTC 2015
On mån, 2015-12-14 at 23:50 +0100, Murray Cumming wrote:
> I've managed to build a Glom package with xdg-app, though I'm not
> ready
> to put it in a repo yet. Here is the manifest:
> https://git.gnome.org/browse/glom/tree/glom-xdg-app-builder
>
> This builds all kinds of funky dependencies, including boost,
> postgresql and mysql.
>
> There is one problem which I'll mention just in case you know
> immediately what's happening. It looks like the postgresql client API
> is hanging when trying to connect to the postgresql server (which
> Glom
> starts an instance of). I think it's using a TCP connection.
>
> Is inter-process TCP communication something that should work in the
> xdg-app environment?
Did you give the app network access (--share=network)?
You may also need ipc access (--share=ipc), although its mainly for old
systemV shared memory, so probably not needed.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's an unconventional moralistic inventor from the 'hood. She's a
strong-willed mute magician's assistant who can talk to animals. They
fight crime!
More information about the xdg-app
mailing list