Franco Martelli wrote:
> Bob Proulx ha scritto:
> > Franco Martelli wrote:
> >> I installed both ntpdate and rdate packages but automatic date
> >> and time update of KDE digital clock on the desktop doesn't
> >> work. Do I need package like kdesudo in order to make things
> >> working?
> > 
> > No.  Your choice of packages is unfortunate.  A mistake.  Instead 
> > install 'ntp'.
> 
> But I used strings command to looking for in kcm_clock.so (for
> investigation) and its output suggest me to install ntpdate or rdate
> in order to obtain digital clock automatically updated.
> 
> # strings /usr/lib/kde4/kcm_clock.so|sort|less
> 
> then hit "/" to enter in search mode and type "ntpdate" less will
> point to the following string:
> 
> No NTP utility has been found. Install 'ntpdate' or 'rdate' command to
> enable automatic updating of date and time.

I am impressed that you used strings to find the text notes in that
library!  Very clever.  However those are just hints left there by the
programmer of that library.  And those are notes that are buried quite
deep.  They won't have had as much review.

> Should I ask to KDE or QT related mailing list?

I would file a bug against that library asking that the hints included
in it be updated.  The hints are providing bad advice.  Because
"stepping" the clock is never desirable.

However the way you found that hint is unusual.  I don't know how that
hint would be shown to the user normally.  It might never be shown to
the user.  In which case it would be hard to call that a bug.

> Thanks in advance for any answer.

In my not so humble opinion the hint advice offered by kcm_clock.so is
bad advice.  It advises to install programs that are designed to step
the clock.  Stepping the clock during normal runtime operation of the
system is bad and causes other problems.

I think it should advise correcting the clock more generically.
Because any specific advise today may be stale and obsolete in the
future.  Packages change and technologies move forward.  Embedding
high level system advise in a low level library seems prone to
becoming out of sync.

I would purge rdate and ntpdate and install ntp as I recommended in
the previous email.

  # apt-get purge ntpdate rdate
  # apt-get install ntp

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to