Bug 667561 - SNTP -P is not working
Summary: SNTP -P is not working
Status: RESOLVED DUPLICATE of bug 658255
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Milestone 5 of 6
Hardware: x86-64 SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Peter Varkoly
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 09:01 UTC by Forgotten User UiLQSAEfTt
Modified: 2011-02-04 06:42 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User UiLQSAEfTt 2011-01-27 09:01:48 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110103 Fedora/3.6.13-1.fc14 Firefox/3.6.13

linux-oznb:~ # ntpdate ntp1.ptb.de
       !!!!!!!!!!!!!!  WARNING !!!!!!!!!!!!!!!!!!

The ntpdate program is deprecated and should not be used any more.  To
quote the upstream ntp developers:

  "The functionality ntpdate offered is now provided by the ntpd daemon
  itself.  If you call ntpd with the command line option -q it will
  retrieve the current time and set it accordingly."

Please check the Network Time Protocol (NTP) daemon man page and
  http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate
for further information.

You can replace the ntpdate call with "rcntp ntptimeset" to achieve an
inital poll of the servers specified in /etc/ntp.conf.

The program /usr/sbin/sntp offers comparable functionality to ntpdate.
Specifically
  sntp -P no -r pool.ntp.org
is equivalent to
  ntpdate pool.ntp.org

For further details please refer to the man page of sntp.
/usr/sbin/sntp: illegal option -- F
sntp - standard SNTP program - Ver. 4.2.6p2
USAGE:  sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...
  Flg Arg Option-Name    Description
   -4 no  ipv4           Force IPv4 DNS name resolution
   -6 no  ipv6           Force IPv6 DNS name resolution
   -d no  normalverbose  Normal verbose
   -K Str kod            KoD history filename
   -p no  syslog         Logging with syslog
   -l Str filelog        Log to specified logfile
   -s no  settod         Set (step) the time with settimeofday()
   -j no  adjtime        Set (slew) the time with adjtime()
   -b Str broadcast      Use broadcasts to the address specified for synchronisation
   -t Num timeout        Specify the number of seconds to wait for broadcasts
   -a Num authentication Enable authentication with the key auth-keynumber
   -k Str keyfile        Specify a keyfile. SNTP will look in this file for the key specified with -a
      opt version        Output version information and exit
   -? no  help           Display extended usage information and exit
   -! no  more-help      Extended usage information passed thru pager
   -> opt save-opts      Save the option state to a config file
   -< Str load-opts      Load options from a config file

Options are specified by doubled hyphens and their name
or by a single hyphen and the flag character.

please send bug reports to:  http://bugs.ntp.org, bugs@ntp.org
linux-oznb:~ # sntp -P no -r ntp1.ptb.de
sntp: illegal option -- P
sntp - standard SNTP program - Ver. 4.2.6p2
USAGE:  sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...
  Flg Arg Option-Name    Description
   -4 no  ipv4           Force IPv4 DNS name resolution
   -6 no  ipv6           Force IPv6 DNS name resolution
   -d no  normalverbose  Normal verbose
   -K Str kod            KoD history filename
   -p no  syslog         Logging with syslog
   -l Str filelog        Log to specified logfile
   -s no  settod         Set (step) the time with settimeofday()
   -j no  adjtime        Set (slew) the time with adjtime()
   -b Str broadcast      Use broadcasts to the address specified for synchronisation
   -t Num timeout        Specify the number of seconds to wait for broadcasts
   -a Num authentication Enable authentication with the key auth-keynumber
   -k Str keyfile        Specify a keyfile. SNTP will look in this file for the key specified with -a
      opt version        Output version information and exit
   -? no  help           Display extended usage information and exit
   -! no  more-help      Extended usage information passed thru pager
   -> opt save-opts      Save the option state to a config file
   -< Str load-opts      Load options from a config file

Options are specified by doubled hyphens and their name
or by a single hyphen and the flag character.

please send bug reports to:  http://bugs.ntp.org, bugs@ntp.org


Reproducible: Always

Steps to Reproduce:
1. ntpdate <server> gives me hints to run sntp wioth -P
2. run sntp with -P
3.
Comment 1 Forgotten User UiLQSAEfTt 2011-01-28 07:41:01 UTC
Milestone 6/6 looks different... I can't select Milestone 6/6 in this interface

linux-oznb:~ # ntpdate ntp1.ptb.de
       !!!!!!!!!!!!!!  WARNING !!!!!!!!!!!!!!!!!!

The ntpdate program is deprecated and should not be used any more.  To
quote the upstream ntp developers:

  "The functionality ntpdate offered is now provided by the ntpd daemon
  itself.  If you call ntpd with the command line option -q it will
  retrieve the current time and set it accordingly."

Please check the Network Time Protocol (NTP) daemon man page and
  http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate
for further information.

You can replace the ntpdate call with "rcntp ntptimeset" to achieve an
inital poll of the servers specified in /etc/ntp.conf.

The program /usr/sbin/sntp offers comparable functionality to ntpdate.
Specifically
  sntp -p no -r pool.ntp.org
is equivalent to
  ntpdate pool.ntp.org

For further details please refer to the man page of sntp.
/usr/sbin/sntp: illegal option -- F
sntp - standard SNTP program - Ver. 4.2.6p3
USAGE:  sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...
linux-oznb:~ # sntp -p no -r ntp1.ptb.de
28 Jan 08:39:49 sntp[22051]: Started sntp
28 Jan 08:39:49 sntp[22051]: Error looking up no: Name or service not known
28 Jan 08:39:49 sntp[22051]: Error looking up -r: Name or service not known
2011-01-28 08:39:49.786677 (-0100) +0.004630 +/- 0.001617 secs
Comment 2 Peter Varkoly 2011-02-04 06:42:17 UTC
duplicate

*** This bug has been marked as a duplicate of bug 658255 ***