Project

General

Profile

Actions

Bug #18837

closed

testnode can end up with no ntpd on xenial

Added by Dan Mick about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Xenial suffers from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806556. Basically: the locking protocol between /etc/init.d/ntp and /etc/network/if-up.d/ntpdate was broken by changing the latter but not the former to use flock instead of lockfile-create. On 'ifup', if-up.d/ntpdate is invoked for eth0 for both its v4 and v6 addresses, and they race against one another, often resulting in ntpdate not running, or ntpd not being restarted. It's fixed in Debian version 1:4.2.8p7, but xenial has 1:4.2.8p4.

Since I'm about to make teuthology do the 'run ntpdate to sync time' on boot, this xenial script is just getting in the way anyway, so, just remove it.

Actions #1

Updated by Dan Mick about 7 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF