public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] What's the position on Chrony?
@ 2008-01-27 10:53 Peter Humphrey
  2008-01-27 14:20 ` Mark Shields
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Humphrey @ 2008-01-27 10:53 UTC (permalink / raw
  To: gentoo-user

I want to run chrony on my servers for their smooth correction of system 
time. I have a few questions, however.

1.	Is chrony accurate on P4 and AMD chips? Is it really a useful improvement 
on ntpd? I remember from a few years ago that its developer used to have to 
change his code every time a new CPU chip appeared.

2.	Chrony doesn't like other programs interfering with its own control of 
the clock, so I want to remove both ntpd and clock from the startup 
process. This seems to cause a problem:

3.	How do I substitute chrony for ntp in gentoo's startup scripts? I can 
remove ntpd easily enough, but if I rc-update del clock it gets put back 
into the boot run-level on shutting down. If I then move /etc/init.d/clock 
out of the way and just touch a blank file in its place, I get this:

$ sudo /etc/init.d/chronyd restart
 * Caching service dependencies ...
 *  Can't find service 'clock' needed by 'syslog-ng';  continuing...                          
[ ok ]
 * Stopping chronyd ...                                                                       
[ ok ]
 * Starting chronyd ...                                                                       
[ ok ]

It looks as though the baselayout team are assuming too much; or should I 
just give in and revert to clock and ntpd? Perhaps it just isn't suitable 
for Gentoo - it wouldn't be the first time that an ebuild had appeared for 
a new package before it was ready.

-- 
Rgds
Peter
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] What's the position on Chrony?
  2008-01-27 10:53 [gentoo-user] What's the position on Chrony? Peter Humphrey
@ 2008-01-27 14:20 ` Mark Shields
  2008-01-28  9:36   ` Peter Humphrey
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Shields @ 2008-01-27 14:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1898 bytes --]

On Jan 27, 2008 5:53 AM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:

> I want to run chrony on my servers for their smooth correction of system
> time. I have a few questions, however.
>
> 1.      Is chrony accurate on P4 and AMD chips? Is it really a useful
> improvement
> on ntpd? I remember from a few years ago that its developer used to have
> to
> change his code every time a new CPU chip appeared.
>
> 2.      Chrony doesn't like other programs interfering with its own
> control of
> the clock, so I want to remove both ntpd and clock from the startup
> process. This seems to cause a problem:
>
> 3.      How do I substitute chrony for ntp in gentoo's startup scripts? I
> can
> remove ntpd easily enough, but if I rc-update del clock it gets put back
> into the boot run-level on shutting down. If I then move /etc/init.d/clock
> out of the way and just touch a blank file in its place, I get this:
>
> $ sudo /etc/init.d/chronyd restart
>  * Caching service dependencies ...
>  *  Can't find service 'clock' needed by 'syslog-ng';  continuing...
> [ ok ]
>  * Stopping chronyd ...
> [ ok ]
>  * Starting chronyd ...
> [ ok ]
>
> It looks as though the baselayout team are assuming too much; or should I
> just give in and revert to clock and ntpd? Perhaps it just isn't suitable
> for Gentoo - it wouldn't be the first time that an ebuild had appeared for
> a new package before it was ready.
>
> --
> Rgds
> Peter
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
If you truly don't need clock, you can try modifying the syslog-ng init file
to not require it.

grep -i clock /etc/init.d/syslog-ng --context 2 -n
16-     # kludge for baselayout-1 compatibility
17-     [ -z "${svclib}" ] && config /etc/syslog-ng/syslog-ng.conf
18:     need clock hostname localmount
19-     provide logger
20-}

Remove the 'clock' word and it should let syslog-ng start.


-- 
- Mark Shields

[-- Attachment #2: Type: text/html, Size: 2522 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] What's the position on Chrony?
  2008-01-27 14:20 ` Mark Shields
@ 2008-01-28  9:36   ` Peter Humphrey
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Humphrey @ 2008-01-28  9:36 UTC (permalink / raw
  To: gentoo-user

On Sunday 27 January 2008 14:20:13 Mark Shields wrote:

> Remove the 'clock' word and it should let syslog-ng start.

I'll try that. Thanks for the suggestion.

-- 
Rgds
Peter
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-28  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-27 10:53 [gentoo-user] What's the position on Chrony? Peter Humphrey
2008-01-27 14:20 ` Mark Shields
2008-01-28  9:36   ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox