[Swan-dev] set systemd variables to aovid SIGABORT
andrew.cagney at gmail.com
Thu Jul 21 17:54:13 UTC 2016
- mk/config.mk, adjacent to the existing SD_TYPE code, is a better home
- I'm not understanding the need for the XXX_DEFAULT indirection, just:
SD_RESTART_TYPE ?= "always"
SD_RESTART_TYPE = xxx
diff --git a/mk/userland-cflags.mk b/mk/userland-cflags.mk
index 5b6a41c..bcc61f0 100644
@@ -109,6 +109,24 @@ USERLAND_CFLAGS+=-DIPSEC_VARDIR=\"$(FINALVARDIR)\"
+ifeq ($(origin SD_RESTART_TYPE_DEFAULT),undefined)
+ifeq ($(origin SD_PLUTO_OPTIONS_DEFAULT),undefined)
+ifeq ($(origin SD_WATCHDOGSEC_DEFAULT),undefined)
On 21 July 2016 at 12:50, Antony Antony <antony at phenome.org> wrote:
> While debugging pluto, running in gdb, I noticed on F22 systemd could send sigabort. To disable it I set WatchdogSec=0 d 0 in Makefile.inc.local I set
> While working at it I also exposed a couple of more variables in Makefile.inc.local . These are useful to developing/debugging. I would like to see this patch, or a revised one, applied. Any ideas/objections?
> Another recent systemd effect I notice is "intermittently", after a make install or install-base, I get this message " Run 'systemctl daemon-reload' to reload units." and ./eastinit.sh fail.
> [root at east basic-pluto-01]# ./eastinit.sh
> Warning: ipsec.service changed on disk. Run 'systemctl daemon-reload' to reload units.
> Redirecting to: systemctl start ipsec.service
> Failed to start ipsec.service: Unit ipsec.service is masked.
> PS: this is how SIGABRT looks like in gdb which looks like
> Program received signal SIGABRT, Aborted.
> 0x00007f99af0c2b93 in epoll_wait () at ../sysdeps/unix/syscall-template.S:84
> 84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
> (gdb) bt
> #0 0x00007f99af0c2b93 in epoll_wait ()
> at ../sysdeps/unix/syscall-template.S:84
> #1 0x00007f99afe7f4b8 in epoll_dispatch (base=0x555850e1e1b0,
> tv=<optimized out>) at epoll.c:407
> #2 0x00007f99afe69add in event_base_loop (base=0x555850e1e1b0, flags=0)
> at event.c:1607
> #3 0x000055584ea49294 in main_loop ()
> at /home/build/libreswan/programs/pluto/server.c:628
> #4 0x000055584ea49643 in call_server ()
> at /home/build/libreswan/programs/pluto/server.c:742
> Swan-dev mailing list
> Swan-dev at lists.libreswan.org
More information about the Swan-dev