On Fri, Dec 05, 2025 at 08:10:13PM +0100, Michael Biebl wrote:
> What this has to do with systemd escapses me. Please elaborate.
I don't think it has anything *directly* to do with systemd. It is merely that
the common feature of all the similar reports I have seen is rsyslog having been
built with --disable-libsystemd (i.e not the Debian default.)
It appears to me that building in this way triggers a buggy interaction
with libfastjson producing
# /usr/sbin/rsyslogd -n -iNONE
/usr/sbin/rsyslogd: Relink `/usr/lib/x86_64-linux-gnu/libfastjson.so.4' with
`/usr/lib/x86_64-linux-gnu/libm.so.6' for IFUNC symbol `modf'
Segmentation fault
If this error message is taken on face value it suggests libfastjson should have
an explicit linker reference to libm. It certainly doesn't appear to:
$ ldd /usr/lib/x86_64-linux-gnu/libfastjson.so
linux-vdso.so.1 (0x00007faac9759000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007faac9400000)
/lib64/ld-linux-x86-64.so.2 (0x00007faac975b000)
I have been trying to create a minimal reproducer, with no success so far.
Do you have any further ideas?
Best wishes
Mark