openembedded/meta-openembedded

Issues running ntpsec on kirkstone

Opened this issue · 2 comments

Hi,
seems to be that the ntpsec meta layer builds fine but does not run as expected. Once the process is started, even in command line, ntpd hangs right after locking in RAM and never proceeds.

root@cyclone5:~# ntpd -d 5 -D 5 -n
2022-04-04T16:16:22 ntpd[467]: INIT: ntpd ntpsec-1.2.1: Starting
2022-04-04T16:16:22 ntpd[467]: INIT: Command line: ntpd -d 9 -D 9 -n
2022-04-04T16:16:22 ntpd[467]: INIT: precision = 2.050 usec (-19)
2022-04-04T16:16:22 ntpd[467]: INIT: successfully locked into RAM

I am working on a de0-nano-soc fpga, but that seems not to be the issue. All other features seem to be building fine.

Any idea?

So, I found my own answer. The issue apparently come from building with seccomp enabled. This seems to be a know bug with glibc. One quick fix is to disable seccomp, but probably a better patch is needed

kraj commented

Usually this just means some syscall is filtered