Summary: | net-misc/dhcpcd-5.5.3 filling syslog with radvd ads | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Harris Landgarten <harrisl> |
Component: | [OLD] Core system | Assignee: | William Hubbs <williamh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, roy |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Only log RA when new, expires or different |
Description
Harris Landgarten
2012-02-08 01:18:10 UTC
dhcpcd-5.5.4 is now in the tree. Please let me know if this still occurs. Still getting the repeating log entries with 5.5.4 Roy, Do you have any ideas about what is causing this? Thanks, William His router is broadcasting an IPv6 RA every 30 seconds, dhcpcd acts on this and logs it and runs the hooks script to re-configure RDNSS and DNSSL from the RA if needed, ala RFC 6106. Basically this RFC and dhcpcd compliance allows for a fully auto configued stateless IPv6 stack without the hassle for DHCPv6. The only way to avoid logging it is to check that the latest RA received is 100% the same as the last one and nothing about it has expired. Roy, Is this check you mention something that you would add to dhcpcd, or should I just close this bug as invalid since dhcpcd is working as it is designed? sudo grep "Router Advertisement" /var/log/messages | wc -l 25465 This is since Feb 5. Created attachment 301267 [details, diff]
Only log RA when new, expires or different
Well, it is by design and thus not a bug.
However, some routers maybe spammy by default.
Please note that we do actually run the hooks script to every RA though.
Please test the attached patch and verify :)
Patch works for me. Thanks. This is fixed in dhcpcd-5.5.4. |