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

Bug #788 reported by Kakel
10
Affects Status Importance Assigned to Milestone
dhcpcd (Ubuntu)
Invalid
Medium
MOTU

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

Changed in dhcpcd:
status: New → Rejected
Revision history for this message
Christian Reis (kiko) wrote :

Karl, I'm confused. You marked 789 a dupe of this one, but you left an open task on 789 and rejected the one here. Why?

Revision history for this message
Kakel (kakel) wrote :

I submitted the same bug twice by mistake, so I marked one of them as a duplicate. But I don't know why this bug was rejected. It was done by Corey Burger, if I read correctly.

Kakel (kakel)
Changed in dhcpcd:
status: Rejected → New
Revision history for this message
Corey Burger (corey.burger) wrote :

I rejected the bug as I didn't know that malone now had dup support, but didn't want to mark the bug as fixed (as it isn't)

Changed in dhcpcd:
assignee: nobody → motu
Revision history for this message
Barry deFreese (bddebian) wrote :

This bug is well over 1 year old. Does this problem still exist? Thank you.

Revision history for this message
Martin Bergner (martin-bergner) wrote :

Hi, there was no response from the original reporter, I will therefore reject this bug, please reopen it, if the problem still exists

Changed in dhcpcd:
status: Unconfirmed → Rejected
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12051
Submitter: Tapan Karwa (<email address hidden>)

Revision history for this message
Vinay Mahuli (vmahuli) wrote :

This bug was modified by our build bot by mistake. Sorry for inconvenience.

no longer affects: juniperopenstack/trunk
no longer affects: juniperopenstack
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12051
Committed: http://github.org/Juniper/contrail-controller/commit/58d865bc0dfb97b440e25c12da65a4a3ce29cb3d
Submitter: Zuul
Branch: master

commit 58d865bc0dfb97b440e25c12da65a4a3ce29cb3d
Author: Tapan Karwa <email address hidden>
Date: Fri Jun 26 09:17:42 2015 -0700

Add extra checks for Bug788 test in ifmap_xmpp_test.cc

Change-Id: Ifc4c65b5e8fb53d602c2e2219c602cc59b6dc8d0
Closes-Bug: 1469233

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.