Modify

Ticket #1907 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

ebox runs ntpd as root and cannot create ntp.drift.TEMP or update ntp.drift

Reported by: p.elsie Owned by: jsoriano@…
Milestone: 2.0.X Component: ntp
Severity: normal Keywords:
Cc:

Description

Using Lucid with 1.5.1 and ebox-ntp enabled, /var/lib/ntp/ntp.drift always contains 0.00

if you run 'ps aux |grep ntpd'

root 16888 0.0 0.3 4420 1680 ? Ss 15:49 0:00 /usr/sbin/ntpd -n -g

The logs /var/log/syslog and /var/log/daemon.log contain:

May 24 15:01:24 va51dt8100box ntpd[2623]: can't open /var/lib/ntp/ntp.drift.TEMP: Permission denied

If you disable ebox-ntp then ntp runs normally

Attachments

Change History

comment:1 Changed 3 years ago by lelik

Still not fixed

comment:2 Changed 3 years ago by jacalvo@…

  • Owner changed from jsalamero@… to jsoriano@…

comment:3 Changed 3 years ago by jacalvo@…

  • Milestone set to 2.0.X

comment:4 Changed 2 years ago by jacalvo@…

  • Owner changed from jsoriano@… to jsoriano@…

comment:5 Changed 2 years ago by jsoriano@…

  • Status changed from new to closed
  • Resolution set to worksforme

I cannot reproduce this issue with the current version.

comment:6 Changed 2 years ago by Joeg1484

  • Status changed from closed to reopened
  • Resolution worksforme deleted

Happens on mine with ebox-ntp module running:

tail -c 10000 /var/log/syslog |grep ntp

Feb 4 11:45:53 wolfserver ntpd[4027]: can't open /var/lib/ntp/ntp.drift.TEMP: Permission denied

ps aux |grep ntpd root 4027 0.0 0.1 4408 1700 ? Ss 10:45 0:00 /usr/sbin/ntpd -n -g

comment:7 Changed 2 years ago by jsoriano@…

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [20463]) NN: Drift can be recalculated now, fixes #1907

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.