Hi, I’m currently setting up a Rocky Linux mirror and noticed in the official guide that the “Site Password” is “used by the report_mirrors script.” Could someone explain what the report_mirrors script actually does? I want to understand its role in the mirror setup.
I think we are talking about the same document there @wonchan. One is in the GitHub repository, and one is the rendering of that GitHub document in the web content.
My apologies, you are correct. It seems I was looking at the same document after all.
In that case, my question is about the “Creating a site” section. It asks for a “Site Password” and says it’s “used by the report_mirrors script.” Could you please explain what the report_mirrors script is and what its purpose is?
That’s probably for the mirror manager side to be able to check if you are up-to-date or not. If when checked that your mirror is not synchronising regularly enough, then it’s effectively an unreliable mirror. Such a situation then makes things look bad when not enough mirrors are synced, and makes it difficult for people to update their systems. At which point, those out-of-date mirrors need to be removed from the mirrorlist (temporarily) until they resolve their sync issues and ensure they keep up-to-date regularly.
“you make this anything you want”, means you choose the password that you want to use for this function/feature. Just like when you register on a site you choose your own password for your login.