Sorry about that - I hadn't realised that this was caused by issues at
tuxfamily.org
> On 8 Apr 2024, at 08:39, Bryan Christianson wrote:
>
> I just refreshed my local copy of chrony and noticed I was a couple of weeks
> behind in patches. Prior to the move to gitlab t
.
Regards, Bryan
--
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
57+01:00 logging: add log severity to
> file log prefix when debug is enabled
>
> 2 changed files:
> • logging.c
> • ntp_io_linux.c
>
> —
> View it on GitLab.
> You're receiving this email because of your account on gitlab.com. Manage all
> notifications · Help
Brya
The chrony project has moved from tuxfamily.org to chrony-project.org. Reflect
these changes in the macOS startup files and documentation.
---
contrib/bryan_christianson_1/README.txt | 24 +--
...plist => org.chrony-project.chronyc.plist} | 2 +-
...plist => org.chrony-proj
bscribe" in the subject.
> For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
> subject.
> Trouble? Email listmas...@chrony.tuxfamily.org.
>
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.
Thank you Miroslav
All fixed and clean compile now
> On 17/04/2023, at 9:43 PM, Miroslav Lichvar wrote:
>
> It should be fixed now. Thanks for the report.
>
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "uns
versions of C and is not supported in C2x
[-Wdeprecated-non-prototype]
5 warnings generated.
--
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamil
G)
2023-03-31T21:49:47Z Disabled control of system clock
2023-03-31T21:49:47Z Fatal error : Could not open socket
/var/run/chrony.clk.tty.usbserial-1420.sock
When I run as root it works fine, but is at odds with the documentation.
I am using the current git head to build chrony.
--
Bryan Chris
c->extpps = RCL_GetDriverOption(instance, "extpps") ? 1 : 0;
>
> + phc->path = Malloc(strlen(path));
> + strcpy(phc->path, path);
> +
> phc->clock = HCL_CreateInstance(0, 16,
> UTI_Log2ToDouble(RCL_GetDriverPoll(instance)),
>
TIME_BITS) && _TIME_BITS == 64
typedef int32_t alt_time_t;
@@ -75,6 +76,7 @@ struct alt_timeval {
alt_suseconds_t tv_usec;
};
#endif
+#endif
static void read_sample(int sockfd, int event, void *anything)
{
> On 19/01/2023, at 6:14 AM, Bryan Christianson wrote:
>
> Hi Miro
---
> commit badaa83c319ae5a0bef872d1e7a55bf1260c1b84
> Author: Miroslav Lichvar
> Date: Wed Jan 18 16:14:10 2023 +0100
>
>refclock: convert mismatched timeval in SOCK messages
>
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org
ent. My main concern
was there would be an overflow or memory leak but clearly thats not the case.
Thanks,
Bryan
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help
ks good to see what looks like a
memory leak, but maybe it's insignificant.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "
> On 20/04/2021, at 6:40 PM, Miroslav Lichvar wrote:
>
> Thanks. I'll shorten the subject a bit if that's ok with you.
No problem. Thanks Miroslav.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsu
Early beta releases of macOS Big Sur had a signed/unsigned error in Apple's
implementation of ntp_adjtime. Apple have since fixed this error and the
workaround is no longer required.
---
sys_timex.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/sys_timex.c b/sys_timex.c
index 9a8504e
ch a development and I hope it goes ahead.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
s seem
to be working OK.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
ith i << 16 -
> it didnt like i being a -ve number, so I made the additional tweak of i * (1
> << 16)
>
> Bryan Christianson
> br...@whatroute.net
>
>
>
>
> --
> To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with
> "
k - thanks for the explanation.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
onyd already does that, so that seemed
like a better place to make the change.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with &quo
directive that allows the default to be overridden.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subj
I have configured both appear to
be working fine.
Apple have yet to either acknowledge or fix the signed/unsigned bug in macOS
11, so I guess we're stuck with the workaround for now.
Thanks so much for your all work in preparing this - it's been a long hard road.
Bryan Christianson
br
l tweak of i * (1 << 16)
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
Extend the frequency range in the test to cover negative frequencies.
---
test/kernel/ntpadjtime.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/kernel/ntpadjtime.c b/test/kernel/ntpadjtime.c
index d6be154..4af96b4 100644
--- a/test/kernel/ntpadjtime.c
+++ b/test/k
On macOS 11.0 (Big Sur) beta, ntp_adjtime() incorrectly returns timex.freq as
an unsigned number. This patch is a workaround for the bug and should be
removed when Apple fix the problem (assuming they will).
---
sys_timex.c | 23 +--
1 file changed, 21 insertions(+), 2 deleti
macOS 11.0 (Big Sur) beta incorrectly returns timex.freq as an unsigned number.
This patch is a workaround for the bug and should be removed when Apple fix the
problem (assuming they will). The patch also extends the ntpadjtime test to
cover negative frequencies.
---
sys_timex.c |
d this
in chrony.
Maybe the test case in chrony should also look at -ve frequencies?
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
ling interval, you should see in the tracking log when the
> offset jumped.
Thank you Miroslav - I'll get on to this tomorrow.
--
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the sub
tation of ntp_adjtime() that somehow causes the clock to jump by random
intervals. I would really appreciate help in building a *simple* program to be
able to demonstrate this to Apple in a new bug report.
Thanks, Bryan
--
Bryan Christianson
br...@whatroute.net
chronyd-debug.txt.gz
Description: GNU Zip compressed data
/en.wikipedia.org/wiki/Timed , a standard from the mid 1980s that as far
as I am aware is used by no-one else.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ.
have submitted a 'Feedback' report to Apple about this, but they are
notoriously unresponsive. If anyone on the list is able to suggest a workaround
I'd be most grateful.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org wit
> On 10/07/2020, at 7:07 PM, Miroslav Lichvar wrote:
>
> On Fri, Jul 10, 2020 at 08:50:27AM +1200, Bryan Christianson wrote:
>> Minor glitch with these patches on macOS
>
> And all other non-Linux systems, I presume.
Thanks for getting it fixed.
Bryan Christianso
f5bf44ea0e2c532 (commit)
> via a3436c26f0e8e2c679bc045e35d8e3905de39456 (commit)
> via b0f5024d560aba9bf2dcef62af57336013e86cee (commit)
> via eae4b2abe596f63b705cc0c0815efef211c9e821 (commit)
> via ff03b813b00bf60c41725b7f3886f5d79c5e689f (commit)
> from 4e747da4b
, 0, __darwin_obsz(str), __VA_ARGS__)
^
1 warning generated.
> On 11/06/2020, at 1:39 AM, g...@tuxfamily.net wrote:
>
> This is an automated email from git. It was generated because a ref
> change was pushed to the "chrony/chrony.git" reposito
mpiler is:
bryan@number9 chronyd-pristine % clang --version
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Any one have any suggestion
t;
Thank you very much for the update. Glad to know it's not my setup/firewall etc.
--
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfam
chrony.conf with:
> server time.cloudflare.com nts ntsport 1234 iburst
>
> server nts.ntp.se nts ntsport 4443 iburst
>
&
e "privops.h"
> #include "util.h"
>
> -#ifdef HAVE_MACOS_SYS_TIMEX
> #include
> +
> +#ifdef HAVE_MACOS_SYS_TIMEX
> #include "sys_netbsd.h"
>
> static int have_ntp_adjtime = 0;
>
> On Mon, Mar 16, 2020 at 9:38 AM Miroslav Li
> On 16/03/2020, at 11:10 PM, Miroslav Lichvar wrote:
>
> On Fri, Mar 13, 2020 at 08:33:00AM +1300, Bryan Christianson wrote:
>> Earlier versions of macOS do not provide clock_gettime(). This patch checks
>> for clock_gettime() at run-time and falls back to gettimeofda
Earlier versions of macOS do not provide clock_gettime(). This patch checks for
clock_gettime() at run-time and falls back to gettimeofday() if the symbol is
not present.
---
sys_macosx.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/sys_macosx.c b/sys_ma
Earlier versions of macOS do not provide clock_gettime(). This patch checks for
clock_gettime() at run-time and falls back to gettimeofday() if the symbol is
not present.
---
local.c | 8
sys_macosx.c | 25 +
sys_macosx.h | 1 +
3 files changed, 34 inserti
Earlier versions of macOS do not provide clock_gettime(). This patch checks for
clock_gettime() at run-time and falls back to gettimeofday() if the symbol is
not present.
---
local.c | 4
sys_macosx.c | 25 +
sys_macosx.h | 1 +
3 files changed, 30 insertions(
Thanks Miroslav
> On 10/03/2020, at 9:26 PM, Miroslav Lichvar wrote:
>
> On Tue, Mar 10, 2020 at 06:45:46PM +1300, Bryan Christianson wrote:
>> gcc -mmacosx-version-min=10.10 -Wmissing-prototypes -Wall
>> -I/Users/bryan/Software-Swift5/chronyd/Crypt/opt/include -o doc
", referenced from:
_main in docheck-5b59e0.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any help appreciated.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@ch
e on how to test that hypothesis.
I'm quite happy to include a sleep detection launchd daemon with chronycontrol,
which already has the mechanisms for installation/removal/starting/stopping of
privileged programs.
--
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email c
On 25/07/2019, at 7:57 PM, Miroslav Lichvar wrote:
>
> On Thu, Jul 25, 2019 at 04:50:58AM +1200, Bryan Christianson wrote:
>> Hi Miroslav
>> Minor warning generated by compiler on macOS.
>
> Ok, that means macOS doesn't support those socket flags. The warning
=4
-Wmissing-prototypes -Wall -pthread -c socket.c
socket.c:147:1: warning: unused function 'check_socket_flag' [-Wunused-function]
check_socket_flag(int sock_flag, int fd_flag, int fs_flag)
^
1 warning generated.
--
Bryan Christianson
br...@whatroute.net
--
To unsubscribe e
st/simulation/133-hwtimestamp |6 +-
> test/unit/test.c | 2 +-
> test/unit/util.c| 15 -
> util.c | 109 +---
> util.h |5 +-
> 20 files changed, 1785 insertions(+), 1205 deletions(-)
> create
| 131
> test/simulation/133-hwtimestamp |6 +-
> test/unit/test.c| 2 +-
> test/unit/util.c| 15 -
> util.c | 109 +---
> util.h |5 +-
> 20 files changed, 17
Remove the runtime checking of adjtime(). adjtime() was broken in beta releases
of macOS 10.13 but is ok now.
---
sys_macosx.c | 42 ++
1 file changed, 2 insertions(+), 40 deletions(-)
diff --git a/sys_macosx.c b/sys_macosx.c
index 00ce302..807d62e 100644
atch done tonight.
--
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
; The source code can be downloaded here:
> https://download.tuxfamily.org/chrony/chrony-3.4.tar.gz
>
> MD5 and SHA1 sums:
> 7170e750469c198fc6784047d6f71144 chrony-3.4.tar.gz
> fa41e595e7041a9deda76a69e970a023091474f6 chrony-3.4.tar.gz
>
> --
> Miroslav Lichvar
Brya
--
> To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with
> "unsubscribe" in the subject.
> For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
> subject.
> Trouble? Email listmas...@chrony.tuxfamily.org.
>
Bryan
> On 9/12/2017, at 6:10 PM, Gerriet M. Denkmann wrote:
>
>
>
>> On 9 Dec 2017, at 10:31, Bryan Christianson wrote:
>>
>> If you have not disabled timed by specifying an unknown ip address or
>> hostname in the Date&Time System preferences pane,
bscribe email chrony-dev-requ...@chrony.tuxfamily.org with
> "unsubscribe" in the subject.
> For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
> subject.
> Trouble? Email listmas...@chrony.tuxfamily.org.
>
Bryan Christianson
br...@what
if
this is set the Mac will from time to time wake up, perform a number of tasks
and then sleep again. Maybe this is the reason you are seeing all these wakeups.
I don't have access to a laptop to check this behaviour and in fact leave my
Mac Mini always on (with display sleep).
only solution I have been able to come up with is to enable
automatic time adjustments and then set the NTP server name to some fictitious
name that has no IP address. After changing the name, then once again disable
automatic time adjustments. timed will continue to run but fail in its
at
ut source code changes that’s fine with me.
>
Maybe you could just start chronyd but with the listening port (123) blocked in
your firewall. When your system clock has been set by the external source and
chronyc is reporting it as OK, then open the port to allow external requests.
Bryan Christian
I got notification from Apple today about the adjtime() bug - they asked me to
test and sign off as fixed. It all seems to be working as expected so I closed
the ticket. Easy enough to re-open if we encounter problems down the track.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe
On some systems, passing NULL as the first argument to adjtime, will result in
returning the amount of adjustment outstanding from a previous call to
adjtime().
On macOS this is not allowed and the adjtime call will fault. We can simulate
the behaviour of the other systems by cancelling the cur
)
+LOG_FATAL("adjtime() failed");
+
+ if (PRV_AdjustTime(&remadj, NULL) < 0)
+LOG_FATAL("adjtime() failed");
+#else
if (PRV_AdjustTime(NULL, &remadj) < 0)
LOG_FATAL("adjtime() failed");
+#endif
adjustment_remaining = UTI_TimevalToDouble(
ecause it is the same hardware
in both cases. Maybe I need to test that a little more to see if its a real or
imaginary (on my part) difference.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
change to the
previous results in maximum skew.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Tro
Attempting to step the system clock by using the -q option with chronyd would
fail.
---
main.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/main.c b/main.c
index 5c6a281..b93a883 100644
--- a/main.c
+++ b/main.c
@@ -448,8 +448,13 @@ int main
sched_priority = p
> On 31/07/2017, at 8:32 PM, Miroslav Lichvar wrote:
>
> On Mon, Jul 31, 2017 at 05:08:33PM +1200, Bryan Christianson wrote:
>> I was just looking at using the -q option before actually running the daemon.
>
> Have you considered using the initstepslew directive? I
the clock, the null driver is
invoked and that returns a failed code.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help&q
from 760285218f2dc0a86da23b059ab0ef1b5b0e0f03 (commit)
Thank you Miroslav. All good on macOS 10.12 and 10.13(beta)
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-
> On 13/07/2017, at 11:10 PM, Miroslav Lichvar wrote:
>
> On Thu, Jul 13, 2017 at 12:18:02PM +1200, Bryan Christianson wrote:
>> macOS 10.13 will implement the ntp_adjtime() system call, allowing better
>> control over the system clock than is possible with the existing adj
macOS 10.13 will implement the ntp_adjtime() system call, allowing better
control over the system clock than is possible with the existing adjtime()
system call.
chronyd will support both the older and newer calls, enabling binary code to
run without recompilation on macOS 10.9 through macOS 10.13
new version of chrony to get the benefit of a fixed kernel.
And failing that, then as you say, another #ifdef
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
#x27;m assuming Apple will get around to fixing the bug so I figured we don't want
to add anything code will be difficult to remove at a later date.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
i
0 (256) 0 (4096) 0 (65536) 0
(1048576)
1048576 us : 16 (16) 256 (256) 500 (4096) 500 (65536) 5000
(1048576)
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the
> On 11/07/2017, at 2:49 AM, Miroslav Lichvar wrote:
>
> On Mon, Jul 10, 2017 at 08:03:19PM +1200, Bryan Christianson wrote:
>>
>> +With the exception of macOS 10.12 and earlier, all systems have operating
>> system
>
> Would it better to say "all suppo
macOS 10.13 will implement the ntp_adjtime() system call, allowing better
control over the system clock than is possible with the existing adjtime()
system call.
chronyd will support both the older and newer calls, enabling binary code to
run without recompilation on macOS 10.9 through macOS 10.13
---
> 10 files changed, 99 insertions(+), 55 deletions(-)
>
>
> hooks/post-receive
> --
> chrony/chrony.git
>
> --
> To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with
> "unsubscribe" in the subject.
> For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
> subject.
> Trouble? Email listmas...@chrony.tuxfamily.org.
>
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
be some version specific configuration.
Yes - I think this is the cleanest solution. Then there is no need to check for
. If it is missing then the tool chain is broken.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscr
macOS 10.13 will implement the ntp_adjtime() system call, allowing better
control over the system clock than is possible with the existing adjtime()
system call.
chronyd will support both the older and newer calls, enabling binary code to
run without recompilation on macOS 10.9 through macOS 10.13
cific options and we
can easily find out what works and what doesn't.
B
> On 20/04/2017, at 12:01 AM, Miroslav Lichvar wrote:
>
> On Wed, Apr 19, 2017 at 11:53:45PM +1200, Bryan Christianson wrote:
>> It looks good on macOS Sierra 10.12.4
>> FYI - Here is the output
| 8 ++--
> 4 files changed, 33 insertions(+), 10 deletions(-)
>
>
> hooks/post-receive
> --
> chrony/chrony.git
>
> --
> To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with
> "unsubscribe" in the subject.
> For help email chrony-dev-
tss_chars) ||
~ ^ ~
ntp_core.c:1521:29: warning: comparison of unsigned enum expression < 0 is
always false [-Wtautological-compare]
inst->local_tx.source < 0 || inst->local_tx.source >= sizeof (tss_chars))
--
Bryan Christianson
br...@whatroute.net
isions listed above that are new to this repository have
> not appeared on any other notification email; so we list those
> revisions in full, below.
Compiles and runs with no problems on macOS Sierra
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.
network activity associated with processes and
chronyd looks a little stark with just its name and no image.
I have absolutely no talent in designing icons, hence the request.
—
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with
clock_gettime() will be ignored even if it is present
---
configure | 23 +++
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/configure b/configure
index 9857295..d1fee97 100755
--- a/configure
+++ b/configure
@@ -85,6 +85,7 @@ For better control, use the options
> On 22/08/2016, at 8:14 PM, Miroslav Lichvar wrote:
>
> On Mon, Aug 22, 2016 at 10:49:30AM +1200, Bryan Christianson wrote:
>> We need to make sure that chrony compiled on macOS 10.12 (or later) will
>> still run on versions earlier than macOS 10.12
>
> Hm, is that
ToTimespec(&tv, ts);
+ } else {
+if (clock_gettime(CLOCK_REALTIME, ts) < 0)
+ LOG_FATAL(LOGF_Local, "clock_gettime() failed : %s", strerror(errno));
+ }
+}
+#endif
+
+/* == */
#endif
Bryan Christianson
br...@whatroute.net
--
To
> On 20/08/2016, at 4:28 AM, Bryan Christianson wrote:
>
> I found the new headers - looks like full support for clock_gettime() in
> macOS 10.12
>
>
> Now I know what the problem is, I’ll have to figure out how to setup my IDE
> to use the old headers :)
>
I t
ROHIBITED
__TVOS_PROHIBITED __WATCHOS_PROHIBITED
int clock_settime(clockid_t __clock_id, const struct timespec *__tp);
Couldn’t find anything other than adjtime() for clock adjustment.
Now I know what the problem is, I’ll have to figure out how to setup my IDE to
use the old headers :)
Bryan Christ
GF_Local, "gettimeofday() failed : %s", strerror(errno));
UTI_TimevalToTimespec(&tv, ts);
#endif
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ
> On 20/08/2016, at 3:38 AM, Miroslav Lichvar wrote:
>
> On Sat, Aug 20, 2016 at 02:32:33AM +1200, Bryan Christianson wrote:
>>> local: add support for clock_gettime()
>>>
>>> Use clock_gettime() to read the system clock in nanosecond resolution.
&g
are system calls that will return nanosec resolution, but we are still
stuck with adjtime() for adjustment.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@ch
> On 4/08/2016, at 8:36 PM, Miroslav Lichvar wrote:
>
> On Thu, Aug 04, 2016 at 08:08:07PM +1200, Bryan Christianson wrote:
>> From the the release of macOS Sierra (Version 10.12) the Macintosh
>> operating system is called 'macOS'
>
> Thanks for the pa
Just an FYI
All seems to be OK. Existing (compiled on El Capitan) chrony binaries run fine
on 10.12
Chrony also compiles and runs with no issues on 10.12 using the beta versions
of the development tools (Xcode 8).
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev
an_christianson_1/README.txt
@@ -1,16 +1,16 @@
-Notes for installing chrony on MacOS X
+Notes for installing chrony on macOS
Author: Bryan Christianson (br...@whatroute.net)
These files are for those admins/users who would prefer to install chro
f very small floating-point numbers in command packets
>
> Removed features
>
> * Drop documentation in Texinfo format
>
> --
> Miroslav Lichvar
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "
++
> test/simulation/115-cmdmontime |2 +-
> 13 files changed, 94 insertions(+), 145 deletions(-)
>
>
> hooks/post-receive
> --
> chrony/chrony.git
>
> --
> To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with
> "unsubscribe" in the subject.
> For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
> subject.
> Trouble? Email listmas...@chrony.tuxfamily.org.
>
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
> examples/chrony.keys.example | 15 ++--
> keys.c | 18 ++++-
> keys.h|1 +
> ntp_core.c|9 ++-
> pktlength.c |8 +-
> reference.c | 13 +---
> 15 files changed
> On 25/01/2016, at 11:36 PM, Miroslav Lichvar wrote:
>
> On Sat, Jan 23, 2016 at 08:56:23AM +1300, Bryan Christianson wrote:
>> Many compiler warnings from this patch on OS X
>
>> gcc -O2 -g -Wmissing-prototypes -Wall -pthread -c pktlength.c
>> pktlength.c:58:3
xtend initialisation tests
>
> commit 0a9d75bfb87d31f8ff287955df89ed10294c5cd2
> Author: Miroslav Lichvar
> Date: Tue Jan 19 16:52:52 2016 +0100
>
>pktlength: rework code to use tables
>
> commit 070f2706b7dd6a324472c443f4a24dfcb34d1be7
> Author: Miros
The desired offset was being added to the current time instead of being
subtracted.
---
sys_macosx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys_macosx.c b/sys_macosx.c
index c1592dd..fb2a70e 100644
--- a/sys_macosx.c
+++ b/sys_macosx.c
@@ -248,7 +248,7 @@ apply_step_o
you on Mac OS X?
Apart from the initialisation problem, it all seems to be working OK.
Bryan Christianson
br...@whatroute.net
--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe"
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the
subject.
Trouble? Email listmas...@chrony.tuxfamily.org.
1 - 100 of 198 matches
Mail list logo