JUST A QUICK WORK-AROUND:
If on ubuntu 24 LTS, having ran apt full-upgrade on it to make ceph squid 
stable 19.2.0, and apparmor profile MongoDB Compass is the only profile with 
space in its name you can just do the following to work around this, especially 
on the node with the issue, but probably good to apply to all nodes for 
consistency.

#1 check profiles with spaces: sudo nano
/sys/kernel/security/apparmor/profiles , do not edit, just read, do not
mind the (unconfined), the space in between it and the profile does not
count.

~> sudo systemctl disable apparmor
~>sudo systemctl stop apparmor;sudo systemctl status apparmor
~> sudo mkdir /etc/apparmor.d/disabled/
~> sudo mv /etc/apparmor.d/MongoDB_Compass /etc/apparmor.d/disabled/

Then reboot and check whether the issue is solved. If it is Not, probably wise 
to reverse the action by:
~> sudo mv /etc/apparmor.d/disabled/MongoDB_Compass /etc/apparmor.d/

And then the below you do either way, whether solved or not (unless you want to 
keep apparmor disabled and risk the consequences):
~> sudo systemctl enable apparmor
~> sudo systemctl start apparmor;sudo systemctl status apparmor
Then reboot and check whether everything is still functional.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085616

Title:
  ceph 'failed to probe daemons or devices' due to apparmor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2085616/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to