#Linux permission [fedora, flatpak]

3 messages · Page 1 of 1 (latest)

fiery forge
#

(fedora 39)
the errorLog msg:

System.ComponentModel.Win32Exception (13): SELinux execheap probe failed! Please ensure Everest has this permission, then try again
   at Celeste.Mod.BOOT.Main(String[] args) in /home/vsts/work/1/s/Celeste.Mod.mm/Mod/Everest/BOOT.cs:line 65

what file should i edit and what perm. to give it with chmod command
(the path doesnt exist if i trye to cd in to it)

winged oysterBOT
#

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.

fiery forge
#

tx