View previous topic :: View next topic |
Author |
Message |
nein Guru

Joined: 14 Nov 2003 Posts: 346 Location: Spain
|
Posted: Tue Sep 14, 2004 2:36 pm Post subject: question about ntp-client [solved] |
|
|
Hi all,
I have read that ntp-client is used to update the clock when booting and ntpd to adjust the clock while the system is running.
If so, why is ntp-client a service with a script in /etc/init.d that starts a service that keeps running ? Shouldn't it be a script that is run at boot time once and not a daemon ? what does it do after the initial update ?
Can somebody help me ? Thanks in advance
Last edited by nein on Thu Jan 13, 2005 4:13 pm; edited 1 time in total |
|
Back to top |
|
 |
biznatch Apprentice


Joined: 23 Jul 2004 Posts: 220 Location: Wichita, KS
|
Posted: Tue Sep 14, 2004 3:12 pm Post subject: |
|
|
Sometimes people want to get ntp updates without running a ntp server (for security reasons). I believe the client service is used for that. _________________ While your waiting for your post to be answered, please help with unanswered posts. |
|
Back to top |
|
 |
nein Guru

Joined: 14 Nov 2003 Posts: 346 Location: Spain
|
Posted: Tue Sep 14, 2004 5:29 pm Post subject: |
|
|
Thanks for your reply
So does running both ntpd and ntp-client make any sense ?
Does ntp-client also update the time after the boot process ? |
|
Back to top |
|
 |
markkuk Guru

Joined: 29 Nov 2002 Posts: 446
|
Posted: Tue Sep 14, 2004 7:09 pm Post subject: Re: question about ntp-client |
|
|
nein wrote: | why is ntp-client a service with a script in /etc/init.d that starts a service that keeps running ? Shouldn't it be a script that is run at boot time once and not a daemon ? what does it do after the initial update ? |
ntp-client is a script that gets run at boot time once, it doesn't start any daemons and simply exits after the initial update. |
|
Back to top |
|
 |
nein Guru

Joined: 14 Nov 2003 Posts: 346 Location: Spain
|
Posted: Wed Sep 15, 2004 7:22 am Post subject: |
|
|
I was confused because
/etc/init.d/ntp-client status
says "started" and I thought it left something running (but as the ps command shows I was wrong)
Thanks for your help |
|
Back to top |
|
 |
|