Comment 5 for bug 1996090

Revision history for this message
Michael Vogt (mvo) wrote : Re: Python in core22-base snap on bionic fails importing ssl module

Thanks, I can reproduce this on 18.04, doing::
$ sudo snap install test-snapd-sh-core22
$ test-snapd-sh-core22.sh -c 'python3 -c "import ssl"'
is enough to trigger it. Fwiw, this works fine on a 22.04 host.

However on 18.04 I see a bunch of apparmor="DENIED" messages for operation="file_mmap". And indeed running it in devmode works. So it looks like our confinement needs updating (but it's bit unclear why only on 18.04 but not on 22.04) :/