Skip to content

Instantly share code, notes, and snippets.

@blt
Created August 3, 2011 20:52
Show Gist options
  • Save blt/1123741 to your computer and use it in GitHub Desktop.
Save blt/1123741 to your computer and use it in GitHub Desktop.
open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 6
fstat(6, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
poll([{fd=6, events=POLLIN}], 1, 10) = 1 ([{fd=6, revents=POLLIN}])
read(6, "\311\362C:\257\315:\265\32\245H\310)O\207B\311P9\253:\375\271>?\36\356\231\0032\316\343", 32) = 32
close(6) = 0
getuid() = 0
gettimeofday({1312404696, 528209}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat("/var/lib/puppet/ssl/certs/teacup.carepilot.com.pem", 0x7ffff2dbf5e0) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGVTALRM, {0x7fa7149212d0, [], SA_RESTORER, 0x7fa7146e3f60}, {SIG_DFL, [], 0}, 8) = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fa70f0d4000
mprotect(0x7fa70f0d4000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fa70f8d3ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fa70f8d49d0, tls=0x7fa70f8d4700, child_tidptr=0x7fa70f8d49d0) = 2646
futex(0x7fa714bd4164, FUTEX_WAIT_PRIVATE, 1, NULL) = 0
futex(0x7fa714bd4130, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x7fa714bd4130, FUTEX_WAKE_PRIVATE, 1) = 0
brk(0x160a000) = 0x160a000
gettimeofday({1312404696, 529456}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {5739, 796298787}) = 0
clock_gettime(CLOCK_MONOTONIC, {5739, 796348673}) = 0
select(0, [], [], [], {0, 0}) = 0 (Timeout)
socket(PF_NETLINK, SOCK_RAW, 0) = 6
bind(6, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(6, {sa_family=AF_NETLINK, pid=2630, groups=00000000}, [12]) = 0
gettimeofday({1312404696, 529892}, NULL) = 0
sendto(6, "\24\0\0\0\26\0\1\3\330\2649N\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(6, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"0\0\0\0\24\0\2\0\330\2649NF\n\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 108
recvmsg(6, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0\330\2649NF\n\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 128
recvmsg(6, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\330\2649NF\n\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(6) = 0
stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=91, ...}) = 0
open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=324, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa714e0a000
read(6, "127.0.0.1\tlocalhost localhost.lo"..., 4096) = 324
read(6, "", 4096) = 0
close(6) = 0
munmap(0x7fa714e0a000, 4096) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 6
fcntl(6, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(6, {sa_family=AF_INET, sin_port=htons(8140), sin_addr=inet_addr("50.18.185.96")}, 16) = -1 EINPROGRESS (Operation now in progress)
clock_gettime(CLOCK_MONOTONIC, {5739, 797941874}) = 0
select(8, [], [6], [6], {119, 998356}) = 1 (out [6], left {99, 335})
connect(6, {sa_family=AF_INET, sin_port=htons(8140), sin_addr=inet_addr("50.18.185.96")}, 16) = -1 ETIMEDOUT (Connection timed out)
fcntl(6, F_SETFL, O_RDWR) = 0
close(6) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
clock_gettime(CLOCK_MONOTONIC, {5760, 796477309}) = 0
select(0, [], [], [], {0, 0}) = 0 (Timeout)
brk(0x15fc000) = 0x15fc000
futex(0x7fa714bd4104, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x7fa714bd4100, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x7fa70f8d49d0, FUTEX_WAIT, 2646, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1312404717, 530347}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\33[1;35merr: Could not request ce"..., 80err: Could not request certificate: Connection timed out - connect(2)) = 80
write(1, "\n", 1
) = 1
gettimeofday({1312404717, 530794}, NULL) = 0
sendto(5, "<27>Aug 3 20:51:57 puppet-agent"..., 104, MSG_NOSIGNAL, NULL, 0) = 104
gettimeofday({1312404717, 531085}, NULL) = 0
select(0, NULL, NULL, NULL, {30, 0}^C <unfinished ...>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment