Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document /etc/hosts setup for localhost and loopback addresses #246

Open
laeti-tia opened this issue Mar 14, 2024 · 3 comments
Open

Document /etc/hosts setup for localhost and loopback addresses #246

laeti-tia opened this issue Mar 14, 2024 · 3 comments
Assignees

Comments

@laeti-tia
Copy link
Member

Following the discussion and corrections from perfsonar/toolkit#448 and other related issues, we discovered that the different distros we support don't have the same localhost entries for the loopback interfaces, both v4 and v6. This can be even different depending on what IP support is enabled at installation time.

We should document that to function properly, perfSONAR needs a localhost entry in /etc/hosts pointing at both the IPv4 loopback and IPv6 loopback.

@mfeit-internet2
Copy link
Member

mfeit-internet2 commented Mar 14, 2024

One or the other should be sufficient. It occurs to me that we no longer need to be tied to localhost now that I have code to fish out the loopback addresses. The requirement then would be that there has to be at least one loopback address.

@laeti-tia
Copy link
Member Author

localhost is also used in other places than pScheduler, I guess these would need to use your new library function to be independent of that.

@mfeit-internet2
Copy link
Member

Wrote an issue on that: perfsonar/pscheduler#1415

The code should be short enough that rubber stamping it into other packages shouldn't be a big deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

4 participants