Re: [chrony-users] Configuring chrony debian service - BBB

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


OK thanks. I believe that was the option I specified but I'll try it again (I have the source for version 3.2). I recently loaded the latest BBB debian image and already did an apt-get chrony. I will run the configure script as follows:

./configure --prefix=/usr --sysconfdir=/etc/chrony

With the expection that this will configure the chrony binaries to get installed in /usr/sbin (this is what the Installation web page indicates) and the executable will look for chrony.conf in /etc/chrony. Then I'll run a make install as root and see how it goes.

Maybe I just misspelled something last time.


On Mon, Nov 27, 2017 at 10:31 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
On Mon, Nov 27, 2017 at 10:16:58AM -0500, Joe Smith wrote:
> In setting up chrony on a BeagleBone Black, I initially pulled down the
> package using apt-get but found that package is not built with PPS support.
> That package from apt-get puts the chrony.conf file in /etc/chrony. However
> when I built it from source and did the make install, chrony is looking for
> chrony.conf in /etc. I think I prefer the file to be in /etc/chrony but
> couldn't seem to figure out how to make that happen. I used what appeared
> to be the right option in the configure script for specifying the location
> of the config file but that didn't appear to have any affect. I ultimately
> ended up creating a soft link in /etc in order to get things working.

The default location of chrony.conf can be specified before building
with the --sysconfdir option. In your case it should be:

../configure --sysconfdir=/etc/chrony

If that doesn't work, it's a bug.

--
Miroslav Lichvar

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




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