Re: Anybody running ntpsec on Alpine Linux musl?

2018-04-07 Thread Hal Murray via devel
It's working now.  The problem was seccomp with various help from operator 
errors to confuse debugging.


-- 
These are my opinions.  I hate spam.



___
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel


Anybody running ntpsec on Alpine Linux musl?

2018-04-07 Thread Hal Murray via devel

We've had a couple of bug reports involving musl.  One recent.  I think they 
were on Alpine Linux, so I setup a box to see what would happen.

I've got things setup so it builds, but it doesn't run.  Is anybody actually 
running ntpsec on Alpine Linux?

Anybody recognize this?

Note that there is none of our code on the stack.

...
 7 Apr 19:15:28 ntpd[23229]: PROTO: 0.0.0.0 c012 02 freq_set kernel 0.00 
PPM
 7 Apr 19:15:28 ntpd[23229]: PROTO: 0.0.0.0 c011 01 freq_not_set
 7 Apr 19:15:28 ntpd[23229]: PROTO: 0.0.0.0 c016 06 restart

Program received signal SIGSYS, Bad system call.
0x752f3285cc67 in __stdio_write () from /lib/ld-musl-x86_64.so.1
(gdb) bt
#0  0x752f3285cc67 in __stdio_write () from /lib/ld-musl-x86_64.so.1
#1  0x752f32aa0908 in __bss_start () from /lib/ld-musl-x86_64.so.1
#2  0x003c in ?? ()
#3  0x77e78302784e in ?? ()
#4  0x0001 in ?? ()
#5  0x0020 in ?? ()
#6  0x752f32a9f2c0 in ?? () from /lib/ld-musl-x86_64.so.1
#7  0x0001 in ?? ()
#8  0x0001 in ?? ()
#9  0x77e78302784e in ?? ()
#10 0x77e78302784e in ?? ()
#11 0x001f in ?? ()
#12 0x752f3285e927 in __fwritex () from /lib/ld-musl-x86_64.so.1
#13 0x in ?? ()
(gdb) 


-- 
These are my opinions.  I hate spam.



___
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel