hey @ogra,
I used a KVM of ubuntu 22.04(on my popOS) to install the snap . Unfortunately, it had similar results
(used the install script recommended by you(https://github.com/xwiki-contrib/packaging-snap) )
journalctl logs:
Aug 11 17:31:48 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219308.304:218): apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“snap.xwiki.hook.install” pid=8481 comm=“apparmor_parser”
Aug 11 17:31:48 vm2-Standard-PC-Q35-ICH9-2009 audit[8482]: AVC apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“snap.xwiki.start” pid=8482 comm=“apparmor_parser”
Aug 11 17:31:48 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219308.448:219): apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“snap.xwiki.start” pid=8482 comm=“apparmor_parser”
Aug 11 17:31:48 vm2-Standard-PC-Q35-ICH9-2009 audit[8483]: AVC apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“snap.xwiki.stop” pid=8483 comm=“apparmor_parser”
Aug 11 17:31:48 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219308.620:220): apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“snap.xwiki.stop” pid=8483 comm=“apparmor_parser”
Aug 11 17:31:49 vm2-Standard-PC-Q35-ICH9-2009 audit[8503]: AVC apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name="/snap/snapd/15177/usr/lib/snapd/snap-confine" pid=8503 comm=“apparmor_parser”
Aug 11 17:31:49 vm2-Standard-PC-Q35-ICH9-2009 audit[8503]: AVC apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name="/snap/snapd/15177/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=8503 comm=“apparmor_parser”
Aug 11 17:31:49 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219309.748:221): apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name="/snap/snapd/15177/usr/lib/snapd/snap-confine" pid=8503 comm=“apparmor_parser”
Aug 11 17:31:49 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219309.748:222): apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name="/snap/snapd/15177/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=8503 comm=“apparmor_parser”
Aug 11 17:31:49 vm2-Standard-PC-Q35-ICH9-2009 audit[8505]: AVC apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“snap.xwiki.hook.install” pid=8505 comm=“apparmor_parser”
Aug 11 17:31:49 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219309.960:223): apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“snap.xwiki.hook.install” pid=8505 comm=“apparmor_parser”
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 audit[8506]: AVC apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“snap.xwiki.start” pid=8506 comm=“apparmor_parser”
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219310.148:224): apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“snap.xwiki.start” pid=8506 comm=“apparmor_parser”
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 audit[8507]: AVC apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“snap.xwiki.stop” pid=8507 comm=“apparmor_parser”
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219310.344:225): apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“snap.xwiki.stop” pid=8507 comm=“apparmor_parser”
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 audit[8509]: AVC apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“snap-update-ns.xwiki” pid=8509 comm=“apparmor_parser”
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 kernel: audit: type=1400 audit(1660219310.352:226): apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“snap-update-ns.xwiki” pid=8509 comm=“apparmor_parser”
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 systemd[1]: Started snap.xwiki.hook.install.eb3eb781-a3a5-4b63-9b4e-cfdd417217d2.scope.
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 systemd[1]: tmp-snap.rootfs_LnZjaI.mount: Deactivated successfully.
Aug 11 17:31:50 vm2-Standard-PC-Q35-ICH9-2009 systemd[1]: snap.xwiki.hook.install.eb3eb781-a3a5-4b63-9b4e-cfdd417217d2.scope: Deactivated successfully.
Aug 11 17:31:51 vm2-Standard-PC-Q35-ICH9-2009 sudo[8362]: pam_unix(sudo:session): session closed for user root
will try it on another machine running different os