Calling MicroK8s commands with remote HOME

Hi,

Calling microk8s.* commands as a user with remotely mounted HOME results in an error and in an apparmor DENIAL.

[ 1759.337103] audit: type=1400 audit(1562265968.949:140): apparmor="DENIED" operation="open" profile="/snap/core/7270/usr/lib/snapd/snap-confine" name="/Users/" pid=20727 comm="snap-confine" requested_mask="r" denied_mask="r" fsuid=1100 ouid=0

I suspect this is something already known but I cannot find a good explanation on why this is happening and what is a good approach around it. What can the snap do about it?

For reference, here is the issue on github: https://github.com/ubuntu/microk8s/issues/532

Thanks

there is: