On Wed, 27 Feb 2019 14:05:03 +0100 Vincent Blut wrote:

[...]
> On Mon, Feb 25, 2019 at 10:07:28PM +0100, Francesco Poli wrote:
[...]
> >Nothing is added to /var/log/messages when chrony fails to start.
> 
> Ok so I think I can reproduce this issue on a Debian Buster i386 virtual 
> machine. However, to double check that I’m facing the same issue as 
> yours, I’d like you to:
> 
> - stop the chronyd daemon
> # service chrony stop
> 
> - install strace
> # apt install strace
> 
> - use the log directive in chrony.conf (“log measurements” alone 
>   suffices to trigger the issue)
> 
> - execute strace on chronyd
> # strace -o chronyd_debug.txt chronyd -d -F -1
> 
> - don’t forget to attach the chronyd_debug.txt file when you answer ;-)

  # strace -o /tmp/chronyd_debug.txt chronyd -d -F -1
  2019-02-27T21:11:34Z chronyd version 3.4 starting (+CMDMON +NTP +REFCLOCK 
+RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
  2019-02-27T21:11:34Z Frequency -63.045 +/- 0.023 ppm read from 
/var/lib/chrony/chrony.drift
  2019-02-27T21:11:34Z Loaded seccomp filter
  Bad system call

File chronyd_debug.txt is attached (gzipped).

[...]
> >So I tried to think about the differences between the box where it
> >fails, and the box where it works.
> >
> >The first difference is the architecture:
> > • the box where it fails is i386
> 
> Indeed, this is due to a missing syscall needed for this architecture 
> (and probably some other 32-bit plateforms) in the seccomp filter.

Ah, that's it (maybe).

> 
> > • the box where it works is amd64
> >However, I suspect that chrony level of abstraction is high enough to
> >make this difference immaterial... Or am I wrong?
> 
> See Above.

OK, so I was wrong!   ;-)

> 
> >The second difference is the init system and might be more relevant:
> > • the box where it fails runs with sysvinit as PID 1
> > • the box where it works runs with systemd as PID 1
> 
> I think it is safe to exclude PID 1 as the cause of this issue.

Funny that I was completely off-track in the search for the relevant
difference...   :p

> 
> Thanks for yout time,

Thanks to you, for your helpfulness and patience!


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: chronyd_debug.txt.gz
Description: application/gzip

Attachment: pgpVwiGGV5WSm.pgp
Description: PGP signature

Reply via email to