Comment 7 for bug 20960

Revision history for this message
Hidde Brugmans (hcbrugmans-deactivatedaccount) wrote :

for me:

hidde@system:~$ apt-cache show ntpdate |grep Version:
Version: 1:4.2.0a+stable-8ubuntu1

root@system:~# sh -x /etc/init.d/ntpdate start
+ PATH=/sbin:/bin
+ test -f /usr/sbin/ntpdate
+ test -f /etc/default/ntpdate
+ . /etc/default/ntpdate
++ NTPSERVERS=ntp.ubuntulinux.org
++ NTPOPTIONS=-u
+ test -n ntp.ubuntulinux.org
+ . /lib/lsb/init-functions
+ case "$1" in
+ log_begin_msg 'Synchronizing clock to ntp.ubuntulinux.org...'
+ '[' -z 'Synchronizing clock to ntp.ubuntulinux.org...' ']'
+ type usplash_write
+ usplash_write 'TEXT Synchronizing clock to ntp.ubuntulinux.org...'
+ echo ' * Synchronizing clock to ntp.ubuntulinux.org...'
 * Synchronizing clock to ntp.ubuntulinux.org...
+ /usr/sbin/ntpdate -b -s -u ntp.ubuntulinux.org
+ log_end_msg 0
+ '[' -z 0 ']'
+ type usplash_write
+ '[' 0 -eq 0 ']'
+ usplash_write 'SUCCESS ok'
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
++ /usr/bin/tput cols
+ COLS=129
+ '[' -n 129 ']'
++ /usr/bin/expr 129 - 7
+ COL=122
++ /us'/bin/tput cuu1
++ /usr/bin/tput hpa 122
+ END='
                                          '
++ /usr/bin/tput hpa 0
' START='
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 0 -eq 0 ']'
                                          [ ok ]'+ return 0
+ exit 0
root@system:~#

root@system:~# strace -o strace.txt -tt /usr/sbin/ntpdate -b -s -u
ntp.ubuntulinux.org
root@system:~#

uploading strace