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

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


On Thu, Nov 26, 2015 at 02:47:02PM +0000, Peter Humphrey wrote:
> Of course, the simplest thing for me would be just to change rtcsync to 
> rtcfile in chrony.conf, delete all that -r1 stuff and hope no-one else 
> stumbles into the same problem. That might not suit you though.

I looked at the man page of start-stop-daemon and I think I see what
the problem is. The init script shouldn't be using the --background
option. chronyd does fork (unless -d or -n is specified) and if the
foreground process exits before start-stop-daemon finishes its work,
it will think the process died.

Can you try removing that option from the init script?

-- 
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/