On Ubuntu 22.04, and using PgAdmin 9.14
I am getting errors like this :
[147831:0505/135754.597408:ERROR:dbus/object_proxy.cc:572] Failed to
call method: org.freedesktop.DBus.ListNames: object_path=
/org/freedesktop/DBus: org.freedesktop.DBus.Error.AccessDenied: An
AppArmor policy prevents this sender from sending this message to this
recipient; type="method_call", sender=":1.678" (uid=1000 pid=147831
comm="/snap/pgadmin4/23/usr/pgadmin4/bin/pgadmin4 --no-s"
label="snap.pgadmin4.pgadmin4 (enforce)")
interface="org.freedesktop.DBus" member="ListNames" error name="(unset)"
requested_reply="0" destination="org.freedesktop.DBus" (bus)
It is also the case that I cannot import data into PGAdmin - as the
application claims it can't find /usr/bin/pqsql, despite the fact that
the file is there and executable - i assume that there is some sort of
sandbox applied preventing PGAdmin accessing the system features
How do I resolve this ?