Summary: | net-misc/ntp-4.2.8: - ntpd: ./../lib/isc/unix/ifiter_getifaddrs.c:99: unexpected error: // getting interface addresses: getifaddrs: Resource temporarily unavailable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | andcycle-gentoo |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnu |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.ntp.org/show_bug.cgi?id=2646 | ||
See Also: | http://bugs.ntp.org/show_bug.cgi?id=2646 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Proposed patch from bugs.ntp.org |
Description
andcycle-gentoo
2014-12-29 19:44:45 UTC
I am suffering from this issue too, I have applied the proposed patch here: [url]http://bugs.ntp.org/show_bug.cgi?id=2646[/url] Will report back if this remains stable now. Created attachment 398012 [details, diff] Proposed patch from bugs.ntp.org http://bugs.ntp.org/attachment.cgi?id=1132&action=diff This is still up and running with the patch applied. Errors have gone from the ntp log. This behaviour was very consistent, start ntpd and it would serve the time for about 24 hours and then crash with the repeating error messages: 4 Mar 05:10:28 ntpd[27369]: ./../lib/isc/unix/ifiter_getifaddrs.c:99: unexpected error: 4 Mar 05:10:28 ntpd[27369]: getting interface addresses: getifaddrs: Resource temporarily unavailable And then eventually: 4 Mar 05:40:28 ntpd[27369]: Too many errors. Shutting up. 4 Mar 06:00:02 ntpd[27369]: fatal out of memory (4048 bytes) 4 Mar 06:00:02 ntpd[27369]: 0.0.0.0 061d 0d kern kernel time sync disabled After applying the patch I no longer see the error messages. (In reply to Wouter Smeltekop from comment #3) thanks for the patch, looks like that works out, just patched and testing now Still up and running here.. *** Bug 534158 has been marked as a duplicate of this bug. *** should be all set now in the tree; thanks for the report! Commit message: Add patch from upstream for crashes in ntpd http://sources.gentoo.org/net-misc/ntp/files/ntp-4.2.8-ipc-caps.patch?rev=1.1 http://sources.gentoo.org/net-misc/ntp/ntp-4.2.8_p2.ebuild?rev=1.1 |