Control: tags -1 moreinfo Hi Francesco,
On Sun, Feb 24, 2019 at 12:59:21PM +0100, Francesco Poli (wintermute) wrote:
Package: chrony Version: 3.4-2 Severity: important Hello there! Thanks for maintaining this useful package.
You’re welcome!
I've just upgraded to version 3.4-2 and noticed that the daemon failed torestart, due to the mailonchange directive: $ grep -B 1 ^mailonchange /etc/chrony/chrony.conf # Warn root. mailonchange root@localhost 4.0 After reading /usr/share/doc/chrony/NEWS.Debian.gz , I found out that the new system call filter (which is now enabled by default) is incompatible with the mailonchange directive.
That’s correct.
This didn't make me especially happy, since that little local mail message telling me there was a significant time adjustment was nice to have... But, oh well, I can live without it, so I thought "let's get rid of it!". $ grep mailonchange /etc/chrony/chrony.conf gives no output, OK. # service chrony restart Everything seems to be fine, but: $ ps a | grep chrony 10686 pts/1 S+ 0:00 grep chrony the daemon is not running!
Could you please provide the output of `grep -i chrony /var/log/syslog'?
After a bit of investigation, I found out that the log directive: $ grep '^log ' /etc/chrony/chrony.conf log tracking measurements statistics seems to also conflict with the system call filter.
That is not supposed to happen. I’m running some systems with chronyd’s log files and the system call filter enabled with no issues. Could you tell me more about the “logdir” directive in /etc/chrony/chrony.conf?
There are two issues with this. First of all, the NEWS.Debian.gz file does not seem to mention it (the man page also seems to say nothing about it).
Well, let’s first find out where the issue lies.
Secondly, with no mailonchange and no log, chrony seems to have become completely silent: how can I check that it is actually working fine, if I cannot even see which time servers it is tracking?
chronyc provides some useful commands to track what is going on. Run `chronyc help' for an exhaustive list of available commands.
Please let me know whether I misunderstood something and/or whether I am doing something wrong. Thanks for your time! Bye.
Thanks for your report, Vincent
signature.asc
Description: PGP signature