-
Notifications
You must be signed in to change notification settings - Fork 217
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
MIB-II: Check for presence of /proc/net/if_inet6 file. #190
Comments
Or maybe, is there way how to set proper flag to |
@bvanassche any suggestion? |
bvanassche
pushed a commit
that referenced
this issue
Nov 10, 2020
…onally See also #190 [ bvanassche: modified variable names and source code comment ]
A slightly modified patch has been applied. Please take a look. |
Looks good. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Recently, I've received complains from our customers, why is snmpd logging ERROR messages about failing opening of /proc/net/if_inet6 file on systems, where IPv6 support is intentionally disabled.
After closer look to the source code I've found, snmpd is just trying to open /proc/net/if_inet6, but when it fails, it doesn't check, whether the failure was due of lack of access rights or due of missing /proc/net/if_inet6 file.
I believe, following patch can be beneficial for users, which are using net-snmp package build with --enable-ipv6 option on systems without actual IPv6 capabilities and don't want to be bothered with error message about if_inet6 file open failure.
What is your opinion on this solution? Any comment is welcome.
The text was updated successfully, but these errors were encountered: