SHARE
TWEET

Strace: 'ipsec statusall' on LXD

adosztal Jul 6th, 2018 11 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. execve("/usr/sbin/ipsec", ["ipsec", "statusall"], 0x7fff1ff7e6a8 /* 12 vars */) = 0
  2. brk(NULL)                               = 0x5627a8d59000
  3. access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
  4. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  5. openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
  6. fstat(4, {st_mode=S_IFREG|0644, st_size=23056, ...}) = 0
  7. mmap(NULL, 23056, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f4884980000
  8. close(4)                                = 0
  9. access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
  10. openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 4
  11. read(4, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 832) = 832
  12. fstat(4, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0
  13. mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f488497e000
  14. mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f488436e000
  15. mprotect(0x7f4884555000, 2097152, PROT_NONE) = 0
  16. mmap(0x7f4884755000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1e7000) = 0x7f4884755000
  17. mmap(0x7f488475b000, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f488475b000
  18. close(4)                                = 0
  19. arch_prctl(ARCH_SET_FS, 0x7f488497f540) = 0
  20. mprotect(0x7f4884755000, 16384, PROT_READ) = 0
  21. mprotect(0x5627a8101000, 8192, PROT_READ) = 0
  22. mprotect(0x7f4884986000, 4096, PROT_READ) = 0
  23. munmap(0x7f4884980000, 23056)           = 0
  24. getuid()                                = 0
  25. getgid()                                = 0
  26. getpid()                                = 334
  27. rt_sigaction(SIGCHLD, {sa_handler=0x5627a7ef8200, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f48843acf20}, NULL, 8) = 0
  28. geteuid()                               = 0
  29. brk(NULL)                               = 0x5627a8d59000
  30. brk(0x5627a8d7a000)                     = 0x5627a8d7a000
  31. getppid()                               = 332
  32. stat("/root", {st_mode=S_IFDIR|0700, st_size=96, ...}) = 0
  33. stat(".", {st_mode=S_IFDIR|0700, st_size=96, ...}) = 0
  34. openat(AT_FDCWD, "/usr/sbin/ipsec", O_RDONLY) = 4
  35. fcntl(4, F_DUPFD, 10)                   = 10
  36. close(4)                                = 0
  37. fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
  38. geteuid()                               = 0
  39. getegid()                               = 0
  40. rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  41. rt_sigaction(SIGINT, {sa_handler=0x5627a7ef8200, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f48843acf20}, NULL, 8) = 0
  42. rt_sigaction(SIGQUIT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  43. rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f48843acf20}, NULL, 8) = 0
  44. rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
  45. rt_sigaction(SIGTERM, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f48843acf20}, NULL, 8) = 0
  46. read(10, "#! /bin/sh\n# prefix command to r"..., 8192) = 7774
  47. pipe([4, 5])                            = 0
  48. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f488497f810) = 335
  49. close(5)                                = 0
  50. read(4, "Linux\n", 128)                 = 6
  51. read(4, "", 128)                        = 0
  52. close(4)                                = 0
  53. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 335
  54. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=335, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  55. rt_sigreturn({mask=[]})                 = 335
  56. pipe([4, 5])                            = 0
  57. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f488497f810) = 336
  58. close(5)                                = 0
  59. read(4, "4.15.0-24-generic\n", 128)     = 18
  60. read(4, "", 128)                        = 0
  61. close(4)                                = 0
  62. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 336
  63. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=336, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  64. rt_sigreturn({mask=[]})                 = 336
  65. stat("/var/run/charon.pid", {st_mode=S_IFREG|0644, st_size=4, ...}) = 0
  66. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f488497f810) = 337
  67. wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 337
  68. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=337, si_uid=0, si_status=SIGSEGV, si_utime=0, si_stime=0} ---
  69. rt_sigreturn({mask=[]})                 = 337
  70. write(2, "Segmentation fault\n", 19Segmentation fault
  71. )    = 19
  72. stat("/var/run/starter.charon.pid", {st_mode=S_IFREG|0644, st_size=4, ...}) = 0
  73. pipe([4, 5])                            = 0
  74. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f488497f810) = 338
  75. close(5)                                = 0
  76. read(4, "204\n", 128)                   = 4
  77. read(4, "", 128)                        = 0
  78. close(4)                                = 0
  79. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 338
  80. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=338, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  81. rt_sigreturn({mask=[]})                 = 338
  82. openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
  83. fcntl(2, F_DUPFD, 10)                   = 11
  84. close(2)                                = 0
  85. fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
  86. dup2(4, 2)                              = 2
  87. close(4)                                = 0
  88. kill(204, SIG_0)                        = 0
  89. dup2(11, 2)                             = 2
  90. close(11)                               = 0
  91. exit_group(0)                           = ?
  92. +++ exited with 0 +++
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top