Skip to content
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

check_ntp_peer: does not allow unix socket for "-H" #1597

Open
waja opened this issue Jun 6, 2019 · 0 comments
Open

check_ntp_peer: does not allow unix socket for "-H" #1597

waja opened this issue Jun 6, 2019 · 0 comments

Comments

@waja
Copy link
Member

waja commented Jun 6, 2019

In Debian we got the following bug reported:

the help text for the "-H" option states:

 -H, --hostname=ADDRESS
     Host name, IP Address, or unix socket (must be an absolute path)

but it uses "is_host()" to test for a valid ip address or dns-hostname.
This behavior has not changed between 2.2-3 (stretch) and 2.2-6 (sid).

It should either not say "unix socket" in the help text or allow the
usage of unix sockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant