Open Bastler96 opened 2 years ago
can you share details of what app you're running in the lxc container. I've gotten this error when trying to run some apps in non privileged lxc containers (on x84 cloud envs) so I don't think it's related to this repo
can you try on a x86 proxmox and post results?
Try reinstalled apparmor https://gitlab.com/apparmor/apparmor
Hi! I completely reinstalled debian arm64 and followed the instructions for manual installation. I downloaded the images here and tested Ubuntu, Debian and Fedora. Run into the same problem. I tested the deault and cloud versions. Can I see somewhere if an error occurred somewhere during the installation of Pimox? Thanks for your help
Reinstalling apparmor fixed the issue for me! What I did:
apparmor_parser --version
that new version is indeed 3.1.0
Edit: Full Bash Script to Update App Armor Parser and Library
#!/bin/bash -e
apt install -y bison flex swig autoconf automake libtool gettext git python3.9-dev python3-setuptools
git clone https://gitlab.com/apparmor/apparmor.git /tmp/apparmor || true
cd /tmp/apparmor
git checkout apparmor-3.1
export PYTHONPATH=$(realpath libraries/libapparmor/swig/python)
export PYTHON=/usr/bin/python3.9
export PYTHON_VERSION=3.9
export PYTHON_VERSIONS=python3.9
cd ./libraries/libapparmor
sh ./autogen.sh
sh ./configure --prefix=/usr --with-perl --with-python
make
#make check
make install
cd ../../parser
make
#make check
make install
apparmor_parser --version
echo $?
Do not forget to make the script executable and run as root.
Hi!
I downloaded Debian Bullseye arm64 from here and installed it on a Raspberry PI 4GB. https://raspi.debian.net/tested-images/
Then I installed Pimox following the instructions for Manual installation. However, when I want to start an LXC container, the following error message appears in the web interface:
Tried it again on the command line:
To me it looks like apparmor is installed. What is apparmor used for? Could someone help me?
Thanks for your support!