systemd watchdog start-up not working correctly on Sabayon/Gentoo

Daniele Rondina geaaru at gmail.com
Tue May 14 10:31:54 CEST 2019


On Mon, 2019-05-13 at 15:56 -0400, Alan DeKok wrote:
> On May 13, 2019, at 1:58 PM, Daniele Rondina <geaaru at gmail.com>
> wrote:
> > I follow "systemctl start-up not working correctly" thread because
> > I'mtrying to integrate systemd watchdog support to Gentoo/Sabayon
> > distro.
> > Currently, I'm testing Freeradius v3.0.x-HEAD with systemd-239 but
> > itseems that notifications returned to systemd aren't correct.
> 
>  Was FreeRADIUS built with systemd support?

Yes, of course. Hereinafter the details about built-in modules:

# radiusd -v -xxxx
Tue May 14 10:20:19 2019 : Info: radiusd: FreeRADIUS Version 3.0.20
(git #136ba4541), for host x86_64-pc-linux-gnu, built on May 14 2019 at
03:54:59
Tue May 14 10:20:19 2019 : Debug: Server was built with: 
Tue May 14 10:20:19 2019 : Debug:   accounting               : yes
Tue May 14 10:20:19 2019 : Debug:   authentication           : yes
Tue May 14 10:20:19 2019 : Debug:   ascend-binary-attributes : yes
Tue May 14 10:20:19 2019 : Debug:   coa                      : yes
Tue May 14 10:20:19 2019 : Debug:   control-socket           : yes
Tue May 14 10:20:19 2019 : Debug:   detail                   : yes
Tue May 14 10:20:19 2019 : Debug:   dhcp                     : yes
Tue May 14 10:20:19 2019 : Debug:   dynamic-clients          : yes
Tue May 14 10:20:19 2019 : Debug:   osfc2                    : no
Tue May 14 10:20:19 2019 : Debug:   proxy                    : yes
Tue May 14 10:20:19 2019 : Debug:   regex-pcre               : yes
Tue May 14 10:20:19 2019 : Debug:   regex-posix              : no
Tue May 14 10:20:19 2019 : Debug:   regex-posix-extended     : no
Tue May 14 10:20:19 2019 : Debug:   session-management       : yes
Tue May 14 10:20:19 2019 : Debug:   stats                    : yes
Tue May 14 10:20:19 2019 : Debug:   systemd                  : yes
Tue May 14 10:20:19 2019 : Debug:   tcp                      : yes
Tue May 14 10:20:19 2019 : Debug:   threads                  : yes
Tue May 14 10:20:19 2019 : Debug:   tls                      : yes
Tue May 14 10:20:19 2019 : Debug:   unlang                   : yes
Tue May 14 10:20:19 2019 : Debug:   vmps                     : yes
Tue May 14 10:20:19 2019 : Debug:   developer                : no
Tue May 14 10:20:19 2019 : Debug: Server core libs:
Tue May 14 10:20:19 2019 : Debug:   freeradius-server        : 3.0.20
Tue May 14 10:20:19 2019 : Debug:   talloc                   : 2.2.*
Tue May 14 10:20:19 2019 : Debug:   ssl                      : 1.0.2r
release
Tue May 14 10:20:19 2019 : Debug:   pcre                     : 8.41
2017-07-05
Tue May 14 10:20:19 2019 : Debug: Endianness:
Tue May 14 10:20:19 2019 : Debug:   little
Tue May 14 10:20:19 2019 : Debug: Compilation flags:
Tue May 14 10:20:19 2019 : Debug:   cppflags : 
Tue May 14 10:20:19 2019 : Debug:   cflags   : -I. -Isrc -include
src/freeradius-devel/autoconf.h -include src/freeradius-devel/build.h
-include src/freeradius-devel/features.h -include src/freeradius-
devel/radpaths.h -fno-strict-aliasing -Wno-date-time -O2 -march=x86-64
-pipe -g -Wall -std=c99 -D_GNU_SOURCE -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -DNDEBUG -DIS_MODULE=1
Tue May 14 10:20:19 2019 : Debug:   ldflags  :  -Wl,-O1 -Wl,--as-needed
Tue May 14 10:20:19 2019 : Debug:   libs     : -lcrypto -lssl -ltalloc
-lpcre -lcap -lresolv -ldl -lpthread -lreadline
Tue May 14 10:20:19 2019 : Debug:   
Tue May 14 10:20:19 2019 : Info: FreeRADIUS Version 3.0.20

In any case, the log reported in the previous email print this message:
May 13 19:53:04 radius radiusd[8093]: Mon May 13 19:53:04 2019 : Debug:
Emitting systemd watchdog notification
that is available inside sd_watchdog_event function when
HAVE_SYSTEMD_WATCHDOG is defined. So, from compilation side seems all
correct.

# ldd /usr/sbin/radiusd | grep systemd
	libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007ff59acd7000)

I will investigate.
Thanks


More information about the Freeradius-Users mailing list