Question about the `report_mirrors` script and Site Password

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.

Thank you in advance for your help!

Reference: https://github.com/rocky-linux/documentation/blob/main/docs/guides/mirror_management/add_mirror_manager.md

What script do you mean exactly? I don’t see that mentioned here: Adding a Rocky Mirror - Documentation

Or if you have access to the script, what is the content of it? Looking at the script should tell you what it does.

I was referring to the documentation on GitHub:
https://github.com/rocky-linux/documentation/blob/main/docs/guides/mirror_management/add_mirror_manager.md

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.

Thank you for your response, so what should I do if I don’t have Site Password?

“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.

1 Like