Re: [chrony-users] What's changed in chrony-2.2? |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
On Friday 27 November 2015 09:02:42 Miroslav Lichvar wrote:
> 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?
Bull's-eye!
That fixes it neatly.
Would you like me to raise a bug on bugs.gentoo.org or would you rather do
it?
--
Rgds
Peter
--
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.