-
Notifications
You must be signed in to change notification settings - Fork 90
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
Disabling dynamic interface updates is impossible with POSIX capabilities #23
Comments
I realize that
|
Would you please open up an "enhancement" request for this issue at bugs.ntp.org? |
Hi @israel-lugo - yes, bugs.ntp.org is the better place for this. We'll be looking at your issue after 4.2.8p11 comes out. |
Hello,
I am using ntpd on a Linux router, with a large routing table and many Netlink messages going on. I want to disable dynamic interface updates, due to a constant error "routing socket reports: No buffer space available". I don't really need it, as new interfaces come up perhaps once a year.
The manpage states that one is supposed to be able to disable dynamic interface list updating, by setting
-U 0
. Except that is impossible: in ntpd/ntpd.c:ntpdmain(), lines 1063-1075 determine whether dynamic updates are performed:These are the only two references to
disable_dynamic_updates
anywhere in the file. It is never set to 1 anywhere. The only way this is set to 1 would be if we don't have POSIX capabilities and are running non-root. Settinginterface_interval
to 0 makes absolutely no difference in this case.The text was updated successfully, but these errors were encountered: