After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 158548 - time-admin removes space after server name in /etc/ntp.conf
time-admin removes space after server name in /etc/ntp.conf
Status: RESOLVED FIXED
Product: gnome-system-tools
Classification: Deprecated
Component: time-admin
1.0.0
Other Linux
: Normal normal
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2004-11-17 10:34 UTC by Joe McCann
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Joe McCann 2004-11-17 10:34:57 UTC
Before choosing some extra servers with the time-admin tool, my ntp.conf server
section looks like this:

server gilbreth.ecn.purdue.edu prefer
server ntp-0.cso.uiuc.edu

After adding a server, the config is altered to look like this:

server gilbreth.ecn.purdue.eduprefer
server ntp-0.cso.uiuc.edu
server ntp1.cs.wisc.edu

The whitespace between the first server name and prefer is removed, altering the
config and causing the option to go unused and the server name to be incorrect
Comment 1 Joe McCann 2004-12-08 06:32:38 UTC
This seems to be reproducible upstream with another gentoo user.
http://bugs.gentoo.org/show_bug.cgi?id=71235
Comment 2 Mike Gardiner 2004-12-08 09:25:31 UTC
I can also confirm this (tested on two machines), the spaces are mangled. It
seems to be that somewhere in gst_replace_join_all, all of the spaces in the
value are ignored.
Comment 3 Carlos Garnacho 2004-12-10 19:01:05 UTC
Fixed in CVS