System.ComponentModel.Win32Exception: SELinux execheap probe failed! Please ensure Everest has this permission, then try again
This occurs due to a permission error on Linux systems running SELinux, such as Fedora. To resolve this, use the following steps to allow Celeste to have the permissions it needs:
- Open a terminal window on the computer the crash happened on and run
sudo cat /var/log/audit/audit.log | grep -a execheap | grep -a Celeste
- This searches the SELinux logs for entries showing that it denied Celeste
execheap, which is a permission that .NET needs to function properly.
- If you see an output like
type=AVC msg=audit(1702580366.688:3126): avc: denied { execheap } for pid=353681 comm="Celeste" ..., then continue with these steps. If you get an error or no output, follow the instructions below to report the issue.
- This output indicates that such entries exist in the logs, indicating that Celeste was indeed denied this permission.
- Run
sudo cat /var/log/audit/audit.log | grep -a execheap | grep -a Celeste | sudo audit2allow -M everest_core_fix
- This finds the same entries as before in the SELinux logs, and then creates a rule that tells SELinux to allow Celeste to have this permission.
- Run
sudo semodule -i everest_core_fix.pp
- This enables the rule that was created in the previous step, allowing Celeste to have the
execheap permission.
After this Celeste should run without issue.
After following these steps, try launching Celeste again. If the issue is not resolved, please report this on Discord.