python message after update to ubuntu 20.04 : May 29 08:54:00 dinar-comp kernel: [ 369.424679] audit: type=1400 audit(1590731640.601:54): apparmor="DENIED" operation="file_mmap" profile="fire fox//lsb_release" name="/usr/bin/python3.8" pid=2939 comm="lsb_release" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
there are several places about python:
profile lsb_release { ... #include <abstractions/python> ... /usr/include/python2.[4567]/pyconfig.h r, ... /usr/local/lib/python3.[0-6]/dist-packages/ r, ... /usr/bin/python3.[0-7] mr, ... }
i change this ones, this way:
/usr/local/lib/python3.[0-8]/dist-packages/ r, /usr/bin/python3.[0-8] mr,
i look /etc/apparmor.d/abstractions/python and see that python versions are already appreciated up to 3.9.
python message after update to ubuntu 20.04 : 0.601:54) : apparmor="DENIED" operation= "file_mmap" profile="fire usr/bin/ python3. 8" pid=2939 comm="lsb_release" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
May 29 08:54:00 dinar-comp kernel: [ 369.424679] audit: type=1400 audit(159073164
fox//lsb_release" name="/
there are several places about python:
profile lsb_release { python> include/ python2. [4567]/ pyconfig. h r, local/lib/ python3. [0-6]/dist- packages/ r, bin/python3. [0-7] mr,
...
#include <abstractions/
...
/usr/
...
/usr/
...
/usr/
...
}
i change this ones, this way:
/usr/ local/lib/ python3. [0-8]/dist- packages/ r, bin/python3. [0-8] mr,
/usr/
i look /etc/apparmor. d/abstractions/ python and see that python versions are already appreciated up to 3.9.