Re: [chrony-users] What's changed in chrony-2.2?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Wed, Nov 25, 2015 at 10:45:12AM +0000, Peter Humphrey wrote:
> On Wednesday 25 November 2015 10:06:22 Miroslav Lichvar wrote:
> 
> > Hm, bugs that disappear when trying to debug them are the worst kind.
> > 
> > I'd suggest to ask the OpenRC maintainers if they have any idea what
> > could be wrong here or have some hints on how to debug it.
> 
> Maybe I'm going round in circles here, but I've just established that 
> setting rtcsync in chrony.conf causes the error, while setting rtcfile does 
> not. That leads me to suspect the kernel config again, so I'll go and make 
> some coffee...

I suspect that just changes the timing between fork and exit of the
foreground chronyd process, which somehow avoids a race condition. You
could try to put "usleep(100000);" after the go_daemon() call in
main.c in the chrony source code and see if that doesn't "fix" the
problem too.

-- 
Miroslav Lichvar

-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/