Dnia 2013-11-29, o godz. 17:33:18 "Paul B. Henson" <[email protected]> napisał(a):
> On Fri, Nov 29, 2013 at 09:49:03AM +0100, Lars Wendler wrote:
>
> > I think there's some confusion on what the -d option actually does, so
> > let me cite the relevant parts from "man 8 ntpd":
> [...]
> > Now let's discuss if this can be considered as "debug mode" or not.
>
> Let me cite the relevant code ;) :
>
> ntpd.c:
> while ((ch = getopt(argc, argv, "df:nsSv")) != -1) {
> switch (ch) {
> case 'd':
> lconf.debug = 1;
>
> The person that wrote the code clearly intended -d to enable debugging. We
> can discuss exactly what enabling debugging does, but I really don't think
> there's any question as to whether or not -d should be considered debug
> mode...
You know, usually it's enough to ping upstream. AFAIR there was
a similar problem in irqbalance, and they have added plain
'--foreground' for us.
--
Best regards,
Michał Górny
signature.asc
Description: PGP signature
