daily pastebin goal
15%
SHARE
TWEET

Strace: 'ipsec statusall' on KVM

adosztal Jul 6th, 2018 (edited) 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. execve("/usr/sbin/ipsec", ["ipsec", "statusall"], 0x7ffee838c828 /* 22 vars */) = 0
  2. brk(NULL)                               = 0x55fb57b34000
  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) = 3
  6. fstat(3, {st_mode=S_IFREG|0644, st_size=23242, ...}) = 0
  7. mmap(NULL, 23242, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1993a24000
  8. close(3)                                = 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) = 3
  11. read(3, "\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(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0
  13. mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1993a22000
  14. mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1993412000
  15. mprotect(0x7f19935f9000, 2097152, PROT_NONE) = 0
  16. mmap(0x7f19937f9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f19937f9000
  17. mmap(0x7f19937ff000, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f19937ff000
  18. close(3)                                = 0
  19. arch_prctl(ARCH_SET_FS, 0x7f1993a23540) = 0
  20. mprotect(0x7f19937f9000, 16384, PROT_READ) = 0
  21. mprotect(0x55fb56960000, 8192, PROT_READ) = 0
  22. mprotect(0x7f1993a2a000, 4096, PROT_READ) = 0
  23. munmap(0x7f1993a24000, 23242)           = 0
  24. getuid()                                = 0
  25. getgid()                                = 0
  26. getpid()                                = 1677
  27. rt_sigaction(SIGCHLD, {sa_handler=0x55fb56757200, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f1993450f20}, NULL, 8) = 0
  28. geteuid()                               = 0
  29. brk(NULL)                               = 0x55fb57b34000
  30. brk(0x55fb57b55000)                     = 0x55fb57b55000
  31. getppid()                               = 1675
  32. stat("/root", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
  33. stat(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
  34. openat(AT_FDCWD, "/usr/sbin/ipsec", O_RDONLY) = 3
  35. fcntl(3, F_DUPFD, 10)                   = 10
  36. close(3)                                = 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=0x55fb56757200, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f1993450f20}, 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=0x7f1993450f20}, 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=0x7f1993450f20}, NULL, 8) = 0
  46. read(10, "#! /bin/sh\n# prefix command to r"..., 8192) = 7774
  47. pipe([3, 4])                            = 0
  48. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1993a23810) = 1678
  49. close(4)                                = 0
  50. read(3, "Linux\n", 128)                 = 6
  51. read(3, "", 128)                        = 0
  52. close(3)                                = 0
  53. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1678
  54. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1678, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  55. rt_sigreturn({mask=[]})                 = 1678
  56. pipe([3, 4])                            = 0
  57. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1993a23810) = 1679
  58. close(4)                                = 0
  59. read(3, "4.15.0-23-generic\n", 128)     = 18
  60. read(3, "", 128)                        = 0
  61. close(3)                                = 0
  62. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1679
  63. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1679, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  64. rt_sigreturn({mask=[]})                 = 1679
  65. stat("/var/run/charon.pid", {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
  66. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1993a23810) = 1680
  67. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1680
  68. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1680, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  69. rt_sigreturn({mask=[]})                 = 1680
  70. stat("/var/run/starter.charon.pid", {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
  71. pipe([3, 4])                            = 0
  72. clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1993a23810) = 1681
  73. close(4)                                = 0
  74. read(3, "1491\n", 128)                  = 5
  75. read(3, "", 128)                        = 0
  76. close(3)                                = 0
  77. wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1681
  78. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1681, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
  79. rt_sigreturn({mask=[]})                 = 1681
  80. openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
  81. fcntl(2, F_DUPFD, 10)                   = 11
  82. close(2)                                = 0
  83. fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
  84. dup2(3, 2)                              = 2
  85. close(3)                                = 0
  86. kill(1491, SIG_0)                       = 0
  87. dup2(11, 2)                             = 2
  88. close(11)                               = 0
  89. exit_group(0)                           = ?
  90. +++ 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