Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppArmor restarted without it being a requirement #556

Open
naudefj opened this issue Nov 28, 2024 · 1 comment
Open

AppArmor restarted without it being a requirement #556

naudefj opened this issue Nov 28, 2024 · 1 comment

Comments

@naudefj
Copy link

naudefj commented Nov 28, 2024

CloudPanel version(s) affected

2.5.0

Description

In "/var/lib/dpkg/info/cloudpanel.postinst", it is clear that AppArmor is a requirement on Ubuntu, yet it is not installed or mentioned in the installation instructions.

if [ "$OS_NAME" = "Ubuntu" ]; then
echo "alias /var/lib/mysql/ -> /home/mysql/," >> /etc/apparmor.d/tunables/alias
systemctl restart apparmor
fi

How to reproduce

Install on Ubuntu 24.04 without AppArmor.

Possible Solution

Make AppArmor a requirement for Ubuntu systems.

Additional Context

No response

@naudefj
Copy link
Author

naudefj commented Nov 29, 2024

The same issue is noted at https://green.cloud/docs/how-to-fix-errorcloudpanel-couldnt-be-installed-on-ubuntu-22-04-lts/
Where the solution is listed as:

$ apt install default-mta
$ apt install apparmor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant