TL;DR - disabling apparmor helps
Details: for the first deny it needs: /usr/sbin/kopano-server r,
The next I'm blocked on is: [2339582.514893] audit: type=1400 audit(1511271117.945:2210): apparmor="DENIED" operation="connect" info="Failed name lookup - disconnected path" error=-13 namespace="root//lxd-bionic-i386-interactive-no-conf_<var-lib-lxd>" profile="/usr/sbin/kopano-server" name="run/mysqld/mysqld.sock" pid=25026 comm="kopano-server" requested_mask="wr" denied_mask="wr" fsuid=113 ouid=112
For that it already has #include <abstractions/mysql> but the disconnected path kills that
TL;DR - disabling apparmor helps
Details: sbin/kopano- server r,
for the first deny it needs:
/usr/
The next I'm blocked on is: 7.945:2210) : apparmor="DENIED" operation="connect" info="Failed name lookup - disconnected path" error=-13 namespace= "root// lxd-bionic- i386-interactiv e-no-conf_ <var-lib- lxd>" profile= "/usr/sbin/ kopano- server" name="run/ mysqld/ mysqld. sock" pid=25026 comm="kopano- server" requested_mask="wr" denied_mask="wr" fsuid=113 ouid=112
[2339582.514893] audit: type=1400 audit(151127111
For that it already has #include <abstractions/ mysql> but the disconnected path kills that