mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
AppArmor restarted without it being a requirement #160
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @naudefj on 11/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