[ntp:questions] why does ntpq return zero even on failures?

Stormy stormy1777 at yahoo.com
Mon Jun 13 08:28:14 UTC 2011


Understood.  This is such a trivial bug to reproduce, wanted to get a confirmation b4 filing the bug.. anyways, now filed this:

http://bugs.ntp.org/show_bug.cgi?id=1943

Regards.

--- On Sun, 6/12/11, Harlan Stenn <stenn at ntp.org> wrote:

> From: Harlan Stenn <stenn at ntp.org>
> Subject: Re: [ntp:questions] why does ntpq return zero even on failures?
> To: "Stormy" <stormy1777 at yahoo.com>
> Cc: "Harlan Stenn" <stenn at ntp.org>, questions at lists.ntp.org
> Date: Sunday, June 12, 2011, 9:24 PM
> > Harlan,
> > 
> > which is why I sent it to bugs list first, however it
> was rejected without an
> > y explanation with:
> > 
> > "Your request to the bugs mailing list
> > 
> >     Posting of your message titled
> "ntpq return code upon failures"
> > 
> > has been rejected by the list moderator.  The
> moderator gave the
> > following reason for rejecting your request:
> > 
> > "The best venue for your question is the
> comp.protocols.time.ntp
> > Usenet newsgroup.
> > 
> > If you don't have NNTP access please use Google Groups
> or the
> > questions at lists.ntp.org
> mailing list (which is gatewayed to the NTP
> > newsgroup)."
> 
> I did not see that message from you, so I do not know its
> content.
> 
> I was suggesting you open a bug report, which is done from
> http://bugs.ntp.org .
> 
> We don't have enough volunteers to take emails to bugs@ and
> turn them in
> to bug reports.  The next problem is we like to have
> the "reporter"
> of a problem let us know if we've fixed the problem, and
> while we can
> easily do that with our bugzilla, we do not have a good way
> to get that
> feedback from email reports.
> 
> H
> > --- On Sun, 6/12/11, Harlan Stenn <stenn at ntp.org>
> wrote:
> > 
> > > From: Harlan Stenn <stenn at ntp.org>
> > > Subject: Re: [ntp:questions] why does ntpq return
> zero even on failures?
> > > To: "Stormy" <stormy1777 at yahoo.com>
> > > Cc: questions at lists.ntp.org
> > > Date: Sunday, June 12, 2011, 5:29 PM
> > > Stormy wrote:
> > > > why does ntpq return zero even on failures?
> > > > 
> > > > # ntpq -p abcdefgh
> > > > Name or service not known
> > > > # echo $?
> > > > 0
> > > > 
> > > > other failures, like timeouts, etc. still
> always exit
> > > code is zero.
> > > 
> > > Sounds to me like an item for http://bugs.ntp.org .
> > > 
> > > H
> > > 
> 



More information about the questions mailing list