RE: [Cooker] ntp-4.1.1a-1mdk

2002-08-17 Thread Paul Carroll

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of David Eastcott
 Sent: Thursday, August 15, 2002 11:39 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Cooker] ntp-4.1.1a-1mdk
 
 
 On Thursday 15 August 2002 09:31 am, you wrote:
 [...]
 
  IIRC, the ntp page says ntpdate is deprecated, since its 
 functionality
  can now be duplicated with ntp (or ntpd, I forget)...
 
 Yes you can (ntpd), but if the local clock is too far out, it 
 will never 
 lock-in and properly adjust the system time.
 

You can force this with the -g switch 

 If the local clock is not too far out, the ntpd may take up 
 to 2000 seconds 
 to sync the system time.  ntpdate (inconjunction with the 
 step-tickers file) 
 was/is used to force an initial step change in system time 
 before starting 
 ntpd so that ntpd can actully do its function with in a short 
 period of time 
 after being started.


Regards

Paul Carroll
email: [EMAIL PROTECTED]
web:  http://www.subantarctic.org.uk

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com
Comment: This certifies that this email was sent by Paul Carroll

iQA/AwUBPV4yxqLqOrkI0GlTEQJFPQCeK0OoumlQB8b1br1QHa58LHpFocEAn21U
mmcm1SPhSQzR7ijCOIXFZXZc
=sNUq
-END PGP SIGNATURE-






Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Tibor Pittich

On 15. aug 2002 00:59, Oden Eriksson wrote:

 I have updated the ntp package, either use attached patch, get the package at 
 http://d-srv.com/Cooker/, or ignore the whole thing...

it is possible to split this package into two(?) parts? ntp-server,
ntp-clients..

many machines is synced via ntp protocol, but not all want be a ntp
server;)
-- 
Linux 2.4.19-1mdk 
Mandrake Linux release 9.0 (Cooker) for i586 
11:06am up 1 day, 15 min, 1 user, load average: 0.02, 0.01, 0.00 



msg70607/pgp0.pgp
Description: PGP signature


Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Oden Eriksson

On torsdagen den 15 augusti 2002 05.09 Tibor Pittich wrote:
 On 15. aug 2002 00:59, Oden Eriksson wrote:
  I have updated the ntp package, either use attached patch, get the
  package at http://d-srv.com/Cooker/, or ignore the whole thing...

 it is possible to split this package into two(?) parts? ntp-server,
 ntp-clients..

 many machines is synced via ntp protocol, but not all want be a ntp
 server;)

Excellent idea!

I'll try to fix it and hope it will be accepted.

-- 
Regards // Oden Eriksson
Deserve-IT Networks - http://d-srv.com




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Walser

--- Oden Eriksson [EMAIL PROTECTED] wrote:
 On torsdagen den 15 augusti 2002 05.09 Tibor Pittich
 wrote:
  On 15. aug 2002 00:59, Oden Eriksson wrote:
   I have updated the ntp package, either use
 attached patch, get the
   package at http://d-srv.com/Cooker/, or ignore
 the whole thing...
 
  it is possible to split this package into two(?)
 parts? ntp-server,
  ntp-clients..

And some want to be both, the two wouldn't conflict
would they?

  many machines is synced via ntp protocol, but not
 all want be a ntp
  server;)
 
 Excellent idea!
 
 I'll try to fix it and hope it will be accepted.

I don't think it needs to be seperate packages.  Just
have the server configuration commented out in
ntp.conf, or install the server config in ntp.server
and a comment about that in the header of ntp.conf
(which would be a client config)

Granted you can use in.timed as the time server (I'm
doing this now), but it'd be nice to use ntpd.

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Eastcott

On Thursday 15 August 2002 11:27 am, you wrote:
 On torsdagen den 15 augusti 2002 05.09 Tibor Pittich wrote:
  On 15. aug 2002 00:59, Oden Eriksson wrote:
   I have updated the ntp package, either use attached patch, get the
   package at http://d-srv.com/Cooker/, or ignore the whole thing...
 
  it is possible to split this package into two(?) parts? ntp-server,
  ntp-clients..

On those nachines not wanting to be a server, would it not just be a matter 
of chkconfig --del ntpd?

 
  many machines is synced via ntp protocol, but not all want be a ntp
  server;)

 Excellent idea!

 I'll try to fix it and hope it will be accepted.

Be kinda interesting to know how you propose to split package?





Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Tibor Pittich

On 15. aug 2002 06:41, David Eastcott wrote:

  I'll try to fix it and hope it will be accepted.

 Be kinda interesting to know how you propose to split package?

if i can propose, my idea is:
ntp-server - which might be contain: ntpd binar, ntp.conf, ntp.keys,
 and documentation
ntp-clients - which also might be contain: ntpq, ntpdate

ntp-server can be required ntp-clients (because ntpd start script needed
 ntpdate for initial synchronyze..

thanks for interesting about this
-- 
Linux 2.4.19-1mdk 
Mandrake Linux release 9.0 (Cooker) for i586 
3:55pm up 1 day, 5:04, 4 users, load average: 0.06, 0.01, 0.00 



msg70670/pgp0.pgp
Description: PGP signature


Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Walser

--- Tibor Pittich [EMAIL PROTECTED] wrote:
 On 15. aug 2002 06:41, David Eastcott wrote:
 
   I'll try to fix it and hope it will be accepted.
 
  Be kinda interesting to know how you propose to
 split package?
 
 if i can propose, my idea is:
 ntp-server - which might be contain: ntpd binar,
 ntp.conf, ntp.keys,
 and documentation
 ntp-clients - which also might be contain: ntpq,
 ntpdate

ntpd is a client too, what you're proposing doesn't
actually make any sense.

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Tibor Pittich

Da 15. aug 2002 o 07:22, David Walser napsal(a):

  ntp-clients - which also might be contain: ntpq,
  ntpdate

 ntpd is a client too, what you're proposing doesn't
 actually make any sense.

i think, if program is running as daemon (ntpd) and provide any service
then it is server. client is, imho, only standalone application, which
can _only_ using this service, but not provide further.

p.s.: you call named as client too?;)
-- 
Linux 2.4.19-1mdk 
Mandrake Linux release 9.0 (Cooker) for i586 
4:30pm up 1 day, 5:39, 4 users, load average: 0.03, 0.03, 0.00 



msg70676/pgp0.pgp
Description: PGP signature


Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Oden Eriksson

On torsdagen den 15 augusti 2002 10.22 David Walser wrote:
 --- Tibor Pittich [EMAIL PROTECTED] wrote:
  On 15. aug 2002 06:41, David Eastcott wrote:
I'll try to fix it and hope it will be accepted.
  
   Be kinda interesting to know how you propose to
 
  split package?
 
  if i can propose, my idea is:
  ntp-server - which might be contain: ntpd binar,
  ntp.conf, ntp.keys,
  and documentation
  ntp-clients - which also might be contain: ntpq,
  ntpdate

 ntpd is a client too, what you're proposing doesn't
 actually make any sense.

Actually it does since the current setup provides both client and server 
meaning a possible security issue on port 123.

Chears.
-- 
Regards // Oden Eriksson
Deserve-IT Networks - http://d-srv.com




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Adam Williamson

On Thu, 2002-08-15 at 15:01, Tibor Pittich wrote:
 On 15. aug 2002 06:41, David Eastcott wrote:
 
   I'll try to fix it and hope it will be accepted.
 
  Be kinda interesting to know how you propose to split package?
 
 if i can propose, my idea is:
 ntp-server - which might be contain: ntpd binar, ntp.conf, ntp.keys,
and documentation
 ntp-clients - which also might be contain: ntpq, ntpdate
 
 ntp-server can be required ntp-clients (because ntpd start script needed
ntpdate for initial synchronyze..

IIRC, the ntp page says ntpdate is deprecated, since its functionality
can now be duplicated with ntp (or ntpd, I forget)...
-- 
adamw





Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Walser

--- Tibor Pittich [EMAIL PROTECTED] wrote:
 i think, if program is running as daemon (ntpd) and
 provide any service
 then it is server. client is, imho, only standalone
 application, which
 can _only_ using this service, but not provide
 further.
 
 p.s.: you call named as client too?;)

You're confusing client/server with daemon/program. 
ntpd is usually run as a client, syncing time with a
time server.

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Walser

--- Adam Williamson [EMAIL PROTECTED] wrote:
 IIRC, the ntp page says ntpdate is deprecated, since
 its functionality
 can now be duplicated with ntp (or ntpd, I
 forget)...

Not sure what you're referring to, but rdate does the
job, so ntpdate still isn't needed :o)

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Walser

--- Oden Eriksson [EMAIL PROTECTED] wrote:
 Actually it does since the current setup provides
 both client and server 
 meaning a possible security issue on port 123.

Unless you changed something in your 4.1.1a, the
current setup doesn't allow you to use ntpd as a
server, you have to run xinetd+in.timed for that.

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Eastcott

On Thursday 15 August 2002 02:40 pm, you wrote:
 --- Adam Williamson [EMAIL PROTECTED] wrote:
  IIRC, the ntp page says ntpdate is deprecated, since
  its functionality
  can now be duplicated with ntp (or ntpd, I
  forget)...

 Not sure what you're referring to, but rdate does the
 job, so ntpdate still isn't needed :o)

Currently, the ntpd init script makes use of the ntpdate command to reset the 
hardware clock prior to starting the ntpd daemon (as recommend by the ntp web 
pages deep in than the one referenced above) so that the ntpd daemon does not 
have to work so hard to slew the kernel time.  Not sure if it does anything 
for the ntpd daemon

Although you can use rsync, if the the ntp package is installed and you are 
using ntpd, why not use the ntpdate command.




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Eastcott

On Thursday 15 August 2002 09:31 am, you wrote:
[...]

 IIRC, the ntp page says ntpdate is deprecated, since its functionality
 can now be duplicated with ntp (or ntpd, I forget)...

Yes you can (ntpd), but if the local clock is too far out, it will never 
lock-in and properly adjust the system time.

If the local clock is not too far out, the ntpd may take up to 2000 seconds 
to sync the system time.  ntpdate (inconjunction with the step-tickers file) 
was/is used to force an initial step change in system time before starting 
ntpd so that ntpd can actully do its function with in a short period of time 
after being started.




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread David Eastcott

On Thursday 15 August 2002 08:01 am, you wrote:
 On 15. aug 2002 06:41, David Eastcott wrote:
   I'll try to fix it and hope it will be accepted.
 
  Be kinda interesting to know how you propose to split package?

 if i can propose, my idea is:
 ntp-server - which might be contain: ntpd binar, ntp.conf, ntp.keys,
and documentation
 ntp-clients - which also might be contain: ntpq, ntpdate

 ntp-server can be required ntp-clients (because ntpd start script needed
ntpdate for initial synchronyze..

 thanks for interesting about this

In the systems I look after, we have two systems acting as both clients 
(syncing to external time standards) and as servers (suppling a reference 
time to all the internal systems.  Splitting things into two packages or more 
simply means I end up installing them all so that I can get the daemon and 
tools needed.

I am not sure that anything is gained by splitting it up...




Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Chuck Shirley

On Thursday 15 August 2002 16:41, David Walser wrote:
--- Oden Eriksson [EMAIL PROTECTED] wrote:
 Actually it does since the current setup provides
 both client and server 
 meaning a possible security issue on port 123.

Unless you changed something in your 4.1.1a, the
current setup doesn't allow you to use ntpd as a
server, you have to run xinetd+in.timed for that.

Is this right?  I use ntpd on 9 machines on my home lan.
One checks with US Naval Obeservatory, then all others
synchronize with him, and I did nothing strange to the
configuration of ntp, or xinetd.  I only have allowed
any system on the home lan to connect to any service
on the firewall (the one who sync's with USNO).

-- Chuck

 +-% He's a real  UNIX Man $-+-+
  \  Sitting in his UNIX LAN  \  Charles A. Shirley \
   \ Making all his UNIX plans \   cashirley (at) comcast (dot) net  \
+--# For  nobody @--+-+






Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Ryan Little

On Thu, 2002-08-15 at 08:41, David Eastcott wrote:
 On Thursday 15 August 2002 11:27 am, you wrote:
  On torsdagen den 15 augusti 2002 05.09 Tibor Pittich wrote:
   On 15. aug 2002 00:59, Oden Eriksson wrote:
I have updated the ntp package, either use attached patch, get the
package at http://d-srv.com/Cooker/, or ignore the whole thing...
  
   it is possible to split this package into two(?) parts? ntp-server,
   ntp-clients..
 
 On those nachines not wanting to be a server, would it not just be a matter 
 of chkconfig --del ntpd?

Of course you could, but why have servers installed on a system if your
never going to use them? (think of all the morons out there who are
running default installs of other distros where every server and
service is turned on by default) This my friends is called BLOAT. Not
that I think we need MORE packages, but I think it's the lesser of two
evils.
 
  
   many machines is synced via ntp protocol, but not all want be a ntp
   server;)
 
  Excellent idea!
 
  I'll try to fix it and hope it will be accepted.
 
 Be kinda interesting to know how you propose to split package?
you could use the same src rpm tree, but create two packages, you build
the whole thing, but at the end of build you run a script that:

For client.rpm - only make installs the client binary and config files
for server.rpm - make installs server and server config files.

For anything common that they both require, I'd suggest you include it
in the client.rpm and have the server.rpm REQUIRE the client rpm,
alternatively you could create a THIRD package with ntp-common but I'd
recommend against that, there are to many damn packages to keep track of
as it is...

just my two cents...
Ryan 






Re: [Cooker] ntp-4.1.1a-1mdk

2002-08-15 Thread Ryan Little

On Thu, 2002-08-15 at 10:01, Tibor Pittich wrote:
 On 15. aug 2002 06:41, David Eastcott wrote:
 
   I'll try to fix it and hope it will be accepted.
 
  Be kinda interesting to know how you propose to split package?
 
 if i can propose, my idea is:
 ntp-server - which might be contain: ntpd binar, ntp.conf, ntp.keys,
and documentation
 ntp-clients - which also might be contain: ntpq, ntpdate
 
 ntp-server can be required ntp-clients (because ntpd start script needed
ntpdate for initial synchronyze..
 
 thanks for interesting about this


Excellent idea, I tried to say the same thing but you made it make more
sense :) And you could build the whole thing from the same rpm source
tree with two different spec files (one for server package, one for
client package)
 -- 
 Linux 2.4.19-1mdk 
 Mandrake Linux release 9.0 (Cooker) for i586 
 3:55pm up 1 day, 5:04, 4 users, load average: 0.06, 0.01, 0.00