Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583826 - net-misc/ndisc6 clutters log with debug output
Summary: net-misc/ndisc6 clutters log with debug output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-22 23:42 UTC by David Klaftenegger
Modified: 2016-05-24 19:29 UTC (History)
0 users

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


Attachments
ndisc6-1.0.2-r1.ebuild (ndisc6-1.0.2-r1.ebuild,735 bytes, text/plain)
2016-05-22 23:42 UTC, David Klaftenegger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Klaftenegger 2016-05-22 23:42:39 UTC
Created attachment 435004 [details]
ndisc6-1.0.2-r1.ebuild

When using net-misc/ndisc6 to receive both IPv6 address and DNS server settings through router advertisements, rndssd insists in logging the expiry time of the DNS server every second.


logfile entries all look like this:

May 22 23:04:37 HOSTNAME rdnssd[1128]: 0:             IPV6OFDNSSERVER expires at INCREASINGNUMBER


This is caused by a debug line in the source code, guarded by #ifndef NDEBUG.
However, NDEBUG is not set by default.

To set it --disable-assert must be passed to ./configure.

The attached ebuild has QA issues, but fixes my immediate problem of filling up my harddisks with useless messages.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2016-05-24 19:29:13 UTC
commit 4be5d5a2bea026d64eae4170c4f54a62c15c2075
Author: Michael Weber <xmw@gentoo.org>
Date:   Tue May 24 21:27:05 2016 +0200

    net-misc/ndisc6: remove debug output with USE=-debug (bug 583826, thanks David Klaftenegger).
    
    Package-Manager: portage-2.2.28

net-misc/ndisc6/ndisc6-1.0.2-r1.ebuild