Re: recommended libs

2019-11-04 Thread Achim Gratz via devel
Udo van den Heuvel via devel writes:
> Can anybody mention which libraries in the chroot I should have for
> ntpsec's ntpd?

> ldd /usr/sbin/ntpd
linux-vdso.so.1 (0x7ffd0dafc000)
libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x7fcfd5415000)
libssl.so.1.1 => /usr/lib64/libssl.so.1.1 (0x7fcfd5383000)
libm.so.6 => /lib64/libm.so.6 (0x7fcfd523e000)
librt.so.1 => /lib64/librt.so.1 (0x7fcfd5233000)
libcap.so.2 => /usr/lib64/libcap.so.2 (0x7fcfd522c000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x7fcfd520a000)
libc.so.6 => /lib64/libc.so.6 (0x7fcfd5041000)
libdl.so.2 => /lib64/libdl.so.2 (0x7fcfd503c000)
/lib64/ld-linux-x86-64.so.2 (0x7fcfd57a)

(that will look different on your system)

> Things are working now but perhaps functionality can improve with the
> right software in lib64.

I don't think ntpd uses dlopen, so only the dynamically linked libraries
need to be there.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

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


Re: recommended libs

2019-11-04 Thread Hal Murray via devel


devel@ntpsec.org said:
> Can anybody mention which libraries in the chroot I should have for ntpsec's
> ntpd? 

ldd will tell you.

[murray@hgm raw]$ ldd /usr/local/sbin/ntpd
linux-vdso.so.1 (0x7ffdde1b6000)
libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x7f0ef209f000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x7f0ef2009000)
libm.so.6 => /lib64/libm.so.6 (0x7f0ef1ec3000)
librt.so.1 => /lib64/librt.so.1 (0x7f0ef1eb9000)
libcap.so.2 => /lib64/libcap.so.2 (0x7f0ef1eb2000)
libseccomp.so.2 => /lib64/libseccomp.so.2 (0x7f0ef1e69000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x7f0ef1e46000)
libc.so.6 => /lib64/libc.so.6 (0x7f0ef1c8)
libz.so.1 => /lib64/libz.so.1 (0x7f0ef1c66000)
libdl.so.2 => /lib64/libdl.so.2 (0x7f0ef1c6)
/lib64/ld-linux-x86-64.so.2 (0x7f0ef240a000)
[murray@hgm raw]$ 


-- 
These are my opinions.  I hate spam.



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


Re: recommended libs

2019-11-04 Thread Udo van den Heuvel via devel
On 04-11-2019 16:10, Udo van den Heuvel via devel wrote:

> Question:
> 
> Can anybody mention which libraries in the chroot I should have for
> ntpsec's ntpd?
> Things are working now but perhaps functionality can improve with the
> right software in lib64.

FWIW: so far I see these being used:

# fuser -v *
 USERPID ACCESS COMMAND
/chroot/ntpd/lib64/libnss_dns.so.2:
 ntp   26263 m ntpd
/chroot/ntpd/lib64/libnss_systemd.so.2:
 ntp   26263 m ntpd
/chroot/ntpd/lib64/libresolv.so.2:
 ntp   26263 m ntpd
#


Udo

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


recommended libs

2019-11-04 Thread Udo van den Heuvel via devel
On 03-11-2019 17:53, Achim Gratz via devel wrote:
> Alternatively, sysfs lets you know the device number in a
> perhaps more script-friendly version:
> 
>> cat /sys/devices/virtual/pps/pps0/dev
> 249:0

Thanks, I'll find a way to script that for the chroot.

Question:

Can anybody mention which libraries in the chroot I should have for
ntpsec's ntpd?
Things are working now but perhaps functionality can improve with the
right software in lib64.

Kind regards,
Udo
___
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel