Inspired by the amazing sad servers, this is an attempt to create deterministic (and a bit random) learning environments for linux troubleshooting using Gitpod.
This is intended to run this entirely in gitpod, so please run it there.
Find the process that's writing to /var/log/bad.log
and stop it. There are five that are running (each a copy of a python script), and each startup randomizes which one is writing to that particular log file.
Once you've found and killed the guilty process, go ahead and test it by running:
find /var/log/bad.log -mmin -0.1
If the command has no output, you've successfully killed the right process!