[SOLVED]Source games not loading community content on custom servers: Audio
Hello, this is not a help request, but I felt like sharing this with everyone who likes to play older source games with modded Comunity servers. Most of the content loads fine, except for audio. That is because SELinux is blocking the MP3 Encoder from the source engine!
Solution:Jump to solution
So what you will need to do is just allow source games to use the MP3 Encoder. Like this:
```
ausearch -c 'hl2_linux' --raw | audit2allow -M my-hl2linux
semodule -i my-hl2linux.pp...
1 Reply
Solution
So what you will need to do is just allow source games to use the MP3 Encoder. Like this:
Here is a brief explanation of what the above snippet does:
1. Loads the logs for hl2_linux where it says execheap was denied, and uses those to create a policy file.
2. Loads the policy module into SELinux to allow unconfined access to execheap for Source games.
Make sure to run the game at least once without the fix, because the command relies on the logs to create the rule to allow access.
If you ever want to roll this policy back, you can run the following command:
semodule -r my-hl2linux