<div dir="ltr">Ah ofcourse `sudo ipsec restart` helps. But I'm hesitant to use it since it breaks existing connections.<div><br></div><div>Would strace help, pasted it below:</div><div><br></div><div>sudo strace ipsec update<br>execve("/usr/sbin/ipsec", ["ipsec", "update"], 0x7ffebdb60588 /* 20 vars */) = 0<br>brk(NULL) = 0x55c1e8416000<br>access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)<br>access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)<br>openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=47015, ...}) = 0<br>mmap(NULL, 47015, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8447a9f000<br>close(3) = 0<br>access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)<br>openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3<br>read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\311\0\0\0\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0644, st_size=170784, ...}) = 0<br>mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8447a9d000<br>mmap(NULL, 2267936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8447658000<br>mprotect(0x7f844767d000, 2097152, PROT_NONE) = 0<br>mmap(0x7f844787d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f844787d000<br>close(3) = 0<br>access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)<br>openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3<br>read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\16\0\0\0\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0644, st_size=14560, ...}) = 0<br>mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8447454000<br>mprotect(0x7f8447457000, 2093056, PROT_NONE) = 0<br>mmap(0x7f8447656000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f8447656000<br>close(3) = 0<br>access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)<br>openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3<br>read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\35\2\0\0\0\0\0"..., 832) = 832<br>fstat(3, {st_mode=S_IFREG|0755, st_size=2030928, ...}) = 0<br>mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f8447063000<br>mprotect(0x7f844724a000, 2097152, PROT_NONE) = 0<br>mmap(0x7f844744a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f844744a000<br>mmap(0x7f8447450000, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8447450000<br>close(3) = 0<br>mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8447a9a000<br>arch_prctl(ARCH_SET_FS, 0x7f8447a9a740) = 0<br>mprotect(0x7f844744a000, 16384, PROT_READ) = 0<br>mprotect(0x7f8447656000, 4096, PROT_READ) = 0<br>mprotect(0x7f844787d000, 16384, PROT_READ) = 0<br>mprotect(0x55c1e668d000, 16384, PROT_READ) = 0<br>mprotect(0x7f8447aab000, 4096, PROT_READ) = 0<br>munmap(0x7f8447a9f000, 47015) = 0<br>openat(AT_FDCWD, "/dev/tty", O_RDWR|O_NONBLOCK) = 3<br>close(3) = 0<br>brk(NULL) = 0x55c1e8416000<br>brk(0x55c1e8437000) = 0x55c1e8437000<br>openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=1683056, ...}) = 0<br>mmap(NULL, 1683056, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f84478ff000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=2995, ...}) = 0<br>read(3, "# Locale name alias data base.\n#"..., 4096) = 2995<br>read(3, "", 4096) = 0<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0<br>mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8447aaa000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=26376, ...}) = 0<br>mmap(NULL, 26376, PROT_READ, MAP_SHARED, 3, 0) = 0x7f8447aa3000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0<br>mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8447aa2000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0<br>mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8447aa1000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0<br>mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8447aa0000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0<br>mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8447a9f000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0<br>mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f84478fe000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0<br>mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f84478fd000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0<br>mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f84478fc000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=1516558, ...}) = 0<br>mmap(NULL, 1516558, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8446ef0000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0<br>mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f84478fb000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0<br>mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f84478fa000<br>close(3) = 0<br>openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3<br>fstat(3, {st_mode=S_IFREG|0644, st_size=199772, ...}) = 0<br>mmap(NULL, 199772, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f84478c9000<br>close(3) = 0<br>getuid() = 0<br>getgid() = 0<br>geteuid() = 0<br>getegid() = 0<br>rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0<br>ioctl(-1, TIOCGPGRP, 0x7ffdff79c184) = -1 EBADF (Bad file descriptor)<br>sysinfo({uptime=17179, loads=[23456, 22400, 23552], totalram=14677884928, freeram=11554000896, sharedram=2469888, bufferram=277266432, totalswap=7516188672, freeswap=7516188672, procs=448, totalhigh=0, freehigh=0, mem_unit=1}) = 0<br>rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0<br>rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0<br>rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0<br>rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0<br>rt_sigaction(SIGTSTP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0<br>rt_sigaction(SIGTTIN, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0<br>rt_sigaction(SIGTTOU, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0<br>rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>uname({sysname="Linux", nodename="hn1-kkafka", ...}) = 0<br>getcwd("/home/karkrish", 4096) = 15<br>getpid() = 4884<br>getppid() = 4882<br>getpid() = 4884<br>getpgrp() = 4881<br>ioctl(2, TIOCGPGRP, [4881]) = 0<br>rt_sigaction(SIGCHLD, {sa_handler=0x55c1e63e1790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, 8) = 0<br>prlimit64(0, RLIMIT_NPROC, NULL, {rlim_cur=55845, rlim_max=55845}) = 0<br>rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0<br>openat(AT_FDCWD, "/usr/sbin/ipsec", O_RDONLY) = 3<br>stat("/usr/sbin/ipsec", {st_mode=S_IFREG|0755, st_size=7774, ...}) = 0<br>ioctl(3, TCGETS, 0x7ffdff79c110) = -1 ENOTTY (Inappropriate ioctl for device)<br>lseek(3, 0, SEEK_CUR) = 0<br>read(3, "#! /bin/sh\n# prefix command to r"..., 80) = 80<br>lseek(3, 0, SEEK_SET) = 0<br>prlimit64(0, RLIMIT_NOFILE, NULL, {rlim_cur=125*1024, rlim_max=125*1024}) = 0<br>fcntl(255, F_GETFD) = -1 EBADF (Bad file descriptor)<br>dup2(3, 255) = 255<br>close(3) = 0<br>fcntl(255, F_SETFD, FD_CLOEXEC) = 0<br>fcntl(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)<br>fstat(255, {st_mode=S_IFREG|0755, st_size=7774, ...}) = 0<br>lseek(255, 0, SEEK_CUR) = 0<br>read(255, "#! /bin/sh\n# prefix command to r"..., 7774) = 7774<br>pipe([3, 4]) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0<br>lseek(255, -6800, SEEK_CUR) = 974<br>clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f8447a9aa10) = 4885<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>rt_sigaction(SIGCHLD, {sa_handler=0x55c1e63e1790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, {sa_handler=0x55c1e63e1790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, 8) = 0<br>close(4) = 0<br>read(3, "Linux\n", 128) = 6<br>read(3, "", 128) = 0<br>close(3) = 0<br>--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4885, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---<br>wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 4885<br>wait4(-1, 0x7ffdff79b550, WNOHANG, NULL) = -1 ECHILD (No child processes)<br>rt_sigreturn({mask=[]}) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>rt_sigaction(SIGINT, {sa_handler=0x55c1e63de160, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=0x55c1e63de160, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>read(255, "IPSEC_NAME=\"strongSwan\"\nIPSEC_VE"..., 7774) = 6800<br>pipe([3, 4]) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0<br>lseek(255, -6741, SEEK_CUR) = 1033<br>clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f8447a9aa10) = 4886<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>rt_sigaction(SIGCHLD, {sa_handler=0x55c1e63e1790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, {sa_handler=0x55c1e63e1790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, 8) = 0<br>close(4) = 0<br>read(3, "5.4.0-1046-azure\n", 128) = 17<br>--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4886, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---<br>wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 4886<br>wait4(-1, 0x7ffdff79b450, WNOHANG, NULL) = -1 ECHILD (No child processes)<br>rt_sigreturn({mask=[]}) = 17<br>read(3, "", 128) = 0<br>close(3) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>rt_sigaction(SIGINT, {sa_handler=0x55c1e63de160, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=0x55c1e63de160, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>read(255, "\n# where the private directory a"..., 7774) = 6741<br>brk(0x55c1e8458000) = 0x55c1e8458000<br>stat("/var/run/starter.charon.pid", {st_mode=S_IFREG|0644, st_size=5, ...}) = 0<br>fcntl(1, F_GETFD) = 0<br>fcntl(1, F_DUPFD, 10) = 10<br>fcntl(1, F_GETFD) = 0<br>fcntl(10, F_SETFD, FD_CLOEXEC) = 0<br>dup2(2, 1) = 1<br>fcntl(2, F_GETFD) = 0<br>fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0<br>write(1, "Updating strongSwan IPsec config"..., 43Updating strongSwan IPsec configuration...<br>) = 43<br>dup2(10, 1) = 1<br>fcntl(10, F_GETFD) = 0x1 (flags FD_CLOEXEC)<br>close(10) = 0<br>pipe([3, 4]) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0<br>lseek(255, -171, SEEK_CUR) = 7603<br>clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f8447a9aa10) = 4887<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>rt_sigaction(SIGCHLD, {sa_handler=0x55c1e63e1790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, {sa_handler=0x55c1e63e1790, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f84470a2040}, 8) = 0<br>close(4) = 0<br>read(3, "4941\n", 128) = 5<br>--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4887, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---<br>wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 4887<br>wait4(-1, 0x7ffdff79b290, WNOHANG, NULL) = -1 ECHILD (No child processes)<br>rt_sigreturn({mask=[]}) = 5<br>read(3, "", 128) = 0<br>close(3) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>rt_sigaction(SIGINT, {sa_handler=0x55c1e63de160, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, {sa_handler=0x55c1e63de160, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f84470a2040}, 8) = 0<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>kill(4941, SIGHUP) = 0<br>rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0<br>rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0<br>exit_group(0) = ?<br>+++ exited with 0 +++<br><div><br></div><div>--karuna</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 11, 2021 at 6:13 PM Noel Kuntze <noel.kuntze@thermi.consulting> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm sorry, I'm at mit wit's end. Try restarting the daemon. Maybe that helps.<br>
<br>
Am 12.05.21 um 02:33 schrieb Karuna Sagar Krishna:<br>
> Not sure if I fully understand. Did you mean to say - remove `auto=route` from default connection and add `auto=add` to each connection section? If yes, I made this change manually to ipsec.conf, ran `sudo ipsec update` but the status has not changed and I'm not able to ping the nodes.<br>
><br>
> --karuna<br>
><br>
><br>
> On Tue, May 11, 2021 at 5:13 PM Noel Kuntze <noel.kuntze@thermi.consulting> wrote:<br>
><br>
> Oh. Right. You need to add auto=add to the configs. In your case, it's probably good if you'd change your script to add that to the conns inserted.<br>
><br>
> Am 12.05.21 um 01:55 schrieb Karuna Sagar Krishna:<br>
> > Shortened the connection names and changed the order (attached). Tried various orders and shorter names. Each time ran `sudo ipsec update` followed by `sudo ipsec statusall`. The status did not change each time; the status still shows the old name for established connection. And there is nothing specific to this experiment in the logs.<br>
> ><br>
> > --karuna<br>
> ><br>
><br>
<br>
<br>
</blockquote></div>