Comment 15 for bug 83604

Revision history for this message
Mika Wahlroos (mpw) wrote :

Pedro,

That's a good catch. However, I don't suppose that change is going to happen for hardy since ubuntu-minimal still seems to depend on ntpdate in the current development branch. The time-admin package in hardy still seems to generate an empty /etc/ntp.conf when the synchronize button is pressed, causing further synchronization attempts to fail. Since hardy is going to be a LTS release, this functionality may be broken for a long time, and a temporary workaround (not trying to use ntp.conf or its relatives if they're empty) is easy. Getting rid of ntpdate may be the long term solution for upcoming Ubuntu releases, of course.

Even if we fixed time-admin, where the actual bug is (creating the empty configuration file), such a file would still remain in systems where a buggy time-admin has been used before. Thus working around it in the ntpdate configuration is probably the simplest way to get ntpdate working reliably, and it's also pretty much non-destructive (why would you want to have and use an empty ntp configuration file in the first place?).

The patch I attached earlier was for gutsy. I'm now attaching a similar patch for hardy.