Hello Ogra,
My bad! Here are the details:
I’m traying to build a snap for Konversation using this snapcraft.yaml https://pastebin.com/GRefdQZr.
It’s being created properly, then:
snap install kde-frameworks-5
snap connect konversation:kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot
but the connection es not being created. this is what my logs says,
[23622.849120] audit: type=1400 audit(1498088831.086:52): apparmor=“DENIED” operation=“open” profile=“snap.konversation.konversation” name="/usr/share/locale/" pid=15819 comm=“konversation” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[23883.651588] audit: type=1400 audit(1498089090.734:53): apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“snap.konversation.konversation” pid=15883 comm="apparmor_parser
apparently apparmor is denying the connection or something alike.
What I have tried?
I mounted the snap in test mode and after that mounted the kf5 snap inside “prime/kde” (where i suposed it should be). And it worked !
That’s why I suspect that it’s something related to snap.
Cheers