Package: ntp
Version: 1:4.2.8p11+dfsg-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Noticing that time had drifted when running new kernels:

12 Jun 12:07:53 
ntpdate[5469]: step time server 192.231.203.132 offset 142.937367 sec

12 Jun 12:20:18 
ntpdate[6483]: step time server 192.231.203.132 offset 1.474986 sec

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

As shown above, drifted close to 1.5 seconds in less than 15 minutes.

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: buster/sid
  APT prefers experimental
  APT policy: (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE= (charmap=UTF-8), LANGUAGE=en_GB 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages ntp depends on:
ii  adduser    3.117
ii  libc6      2.27-3
ii  libcap2    1:2.25-1.2
ii  libedit2   3.1-20180525-1
ii  libopts25  1:5.18.12-4
ii  libssl1.1  1.1.0h-4
ii  lsb-base   9.20170808
ii  netbase    5.4
ii  tzdata     2018e-1

Versions of packages ntp recommends:
ii  perl  5.26.2-6
ii  sntp  1:4.2.8p11+dfsg-1

Versions of packages ntp suggests:
pn  ntp-doc  <none>

-- Configuration Files:
/etc/init.d/ntp changed:
PATH=/sbin:/bin:/usr/sbin:/usr/bin
. /lib/lsb/init-functions
DAEMON=/usr/sbin/ntpd
PIDFILE=/var/run/ntpd.pid
test -x $DAEMON || exit 5
if [ -r /etc/default/ntp ]; then
        . /etc/default/ntp
fi
if [ -e /run/ntp.conf.dhcp ]; then
        NTPD_OPTS="$NTPD_OPTS -c /run/ntp.conf.dhcp"
fi
LOCKFILE=/run/lock/ntpdate
RUNASUSER=ntp
UGID=$(getent passwd $RUNASUSER | cut -f 3,4 -d:) || true
if test "$(uname -s)" = "Linux"; then
        NTPD_OPTS="$NTPD_OPTS -u $UGID"
fi
case $1 in
        start)
                log_daemon_msg "Starting NTP server" "ntpd"
                if [ -z "$UGID" ]; then
                        log_failure_msg "user \"$RUNASUSER\" does not exist"
                        exit 1
                fi
                ntpdate 192.231.203.132
                (
                        flock -w 180 9
                        start-stop-daemon --start --quiet --oknodo --pidfile 
$PIDFILE --startas $DAEMON -- -p $PIDFILE $NTPD_OPTS
                ) 9>$LOCKFILE
                log_end_msg $?
                ;;
        stop)
                log_daemon_msg "Stopping NTP server" "ntpd"
                start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE 
--retry=TERM/30/KILL/5 --exec $DAEMON
                log_end_msg $?
                rm -f $PIDFILE
                ;;
        restart|force-reload)
                $0 stop && sleep 2 && $0 start
                ;;
        try-restart)
                if $0 status >/dev/null; then
                        $0 restart
                else
                        exit 0
                fi
                ;;
        reload)
                exit 3
                ;;
        status)
                status_of_proc $DAEMON "NTP server"
                ;;
        *)
                echo "Usage: $0 
{start|stop|restart|try-restart|force-reload|status}"
                exit 2
                ;;
esac


-- no debconf information

Reply via email to