Dhcpcd writes wrong path to ntp.drift file in ntp.conf

Bug #789 reported by Kakel on 2005-05-25
4
Affects Status Importance Assigned to Milestone
dhcpcd (Ubuntu)
Medium
Unassigned

Bug Description

Dhcpcd writes the following line to /etc/ntp.conf:

driftfile /etc/ntp.drift

In Ubuntu 5.05, ntpd runs as user ntp and thus lacks permission to create the specified file

Dhcpcd writes the following line to /etc/ntp.conf:

driftfile /etc/ntp.drift

In Ubuntu 5.05, ntpd runs as user ntp and thus lacks permission to create the specified file. Write permission in the directory is necessary as ntpd regularly creates a new file ntp.drift.TEMP and then moves it to ntp.drift.

This may be solved by letting dhcpcd write the line in accordance to Ubuntu's default configuration:

driftfile /var/lib/ntp/ntp.drift

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers