Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402621 - net-misc/dhcpcd-5.5.3 filling syslog with radvd ads
Summary: net-misc/dhcpcd-5.5.3 filling syslog with radvd ads
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 01:18 UTC by Harris Landgarten
Modified: 2012-03-02 16:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Only log RA when new, expires or different (dhcpcd-nospam.diff,2.70 KB, patch)
2012-02-08 18:45 UTC, Roy Marples
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2012-02-08 01:18:10 UTC
ever since the upgrade to 5.5.3 I have been getting:

eth0: Router Advertisement from fe80::207:e9ff:fe00:aa89

messages in the log approximately every 30 seconds even though I already have an ipv6 ip.

Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2012-02-08 02:39:09 UTC
dhcpcd-5.5.4 is now in the tree. Please let me know if this still
occurs.
Comment 2 Harris Landgarten 2012-02-08 03:49:47 UTC
Still getting the repeating log entries with 5.5.4
Comment 3 William Hubbs gentoo-dev 2012-02-08 04:47:15 UTC
Roy,

Do you have any ideas about what is causing this?

Thanks,

William
Comment 4 Roy Marples 2012-02-08 09:09:01 UTC
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.
Comment 5 William Hubbs gentoo-dev 2012-02-08 16:16:14 UTC
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?
Comment 6 Harris Landgarten 2012-02-08 16:59:09 UTC
sudo grep "Router Advertisement" /var/log/messages | wc -l
25465


This is since Feb 5.
Comment 7 Roy Marples 2012-02-08 18:45:43 UTC
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 :)
Comment 8 Harris Landgarten 2012-02-08 19:32:43 UTC
Patch works for me. Thanks.
Comment 9 William Hubbs gentoo-dev 2012-03-02 16:37:32 UTC
This is fixed in dhcpcd-5.5.4.