Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
strace of switch_brain running on a Meraki MS220-8P (modified firmware)
This file has been truncated, but you can view the full file.
/ # strace -E LD_LIBRARY_PATH=/opt/lib -v -s 1024 /opt/bin/switch_brain
execve("/opt/bin/switch_brain", ["/opt/bin/switch_brain"], ["USER=root", "SHLVL=1", "HOME=/", "TERM=vt100", "PATH=/sbin:/usr/sbin:/bin:/usr/bin", "SHELL=/bin/sh", "PWD=/", "LD_LIBRARY_PATH=/opt/lib"]) = 0
set_thread_area(0x77328ec0) = 0
set_tid_address(0x77321e28) = 404
open("/opt/lib/libmeraki.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_dev=makedev(0x1f, 0x3), st_ino=215, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=2560, st_size=1310343, st_atime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_atime_nsec=0, st_mtime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_mtime_nsec=0, st_ctime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_ctime_nsec=0}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0p]\2\0004\0\0\0\0\0\0\0\7\20\0p4\0 \0\t\0\0\0\0\0\0\0\3\0\0pX\1\0\0X\1\0\0X\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\10\0\0\0\0\0\0pp\1\0\0p\1\0\0p\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\234\317\22\0\234\317\22\0\5\0\0\0\0\0\1\0\1\0\0\0\0\320\22\0\0\320\23\0\0\320\23\0\207.\1\0 =\1\0\6\0\0\0\0\0\1\0\2\0\0\0\210\1\0\0\210\1\0\0\210\1\0\0(\1\0\0(\1\0\0\4\0\0\0\4\0\0\0\7\0\0\0\310\334\23\0\310\334\24\0\310\334\24\0\0\0\0\0\10\0\0\0\4\0\0\0\4\0\0\0P\345td\354\252\21\0\354\252\21\0\354\252\21\0<1\0\0<1\0\0\4\0\0\0\4\0\0\0Q\345td\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0 \2\1\0\0\3\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\260\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\300h\25\0\1\0\0\0\2040\1\0\1\0\0\0\2340\1\0\1\0\0\0\2520\1\0\1\0\0\0\2750\1\0\16\0\0\0004C\1\0\f\0\0\0\4]\2\0\r\0\0\0\0\212\20\0\31\0\0\0\310\334\24\0\33\0\0\0D\0\0\0\32\0\0\0\f\335\24\0\34\0\0\0<\0\0\0\4\0\0\0\260\2\0\0\5\0\0\0P\252\0\0\6\0\0\0 1\0\0\n\0\0\0eC\1\0\v\0\0\0\20\0\0\0\3\0\0\0\320\350\24\0\21\0\0\0,\375\1\0\22\0\0\0h\r\0\0\23\0\0\0\10\0\0\0\1\0\0p\1\0\0\0\5\0\0p\2\0\0\0\6\0\0p\0\0\0\0\n\0\0p\35\0\0\0\21\0\0p\223\7\0\0\22\0\0p)\0\0\0\23\0\0pE\2\0\0\376\377\377o\334\374\1\0\377\377\377o\1\0\0\0\360\377\377o\266\355\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\4\0\0\223\7\0\0\254\6\0\0?\2\0\0B\3\0\0\273\2\0\0m\2\0\0\0\0\0\0\315\1\0\0\0\0\0\0\300\1\0\0A\1\0\0n\2\0\0\306\4\0\0\216\2\0\0i\4\0\0=\5\0\0\0\0\0\0\0\0\0\0\207\4\0\0z\7\0\0#\5\0\0\305\3\0\0\367\3\0\0l\2\0\0\360\2\0\0\0\0\0\0\0\0\0\0\304\0\0\0K\1\0\0{\2\0\0a\0\0\0\0\0\0\0l\4\0\0\240\2\0\0\32\2\0\0006\7\0\0\204\4\0\0\6\0\0\0\232\3\0\0003\2\0\0\220\7\0\0\247\6\0\0\1\4\0\0u\0\0\0R\2\0\0\312\2\0\0;\2\0\0\244\4\0\0p\2\0\0\313\4\0\0\221\2\0\0\314\2\0\0\207\7\0\0004\1\0\0\244\3\0\0\177\2\0\0\211\4\0\0\363\2\0\0\377\6\0\0\334\4\0\0\0\0\0\0", 936) = 936
mmap2(NULL, 1380352, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7712c000
mmap2(0x77269000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12d000) = 0x77269000
mmap2(0x7727c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7727c000
close(3) = 0
open("/opt/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_dev=makedev(0x1f, 0x3), st_ino=214, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=325, st_size=166171, st_atime=1591549902 /* 2020-06-07T17:11:42+0000 */, st_atime_nsec=0, st_mtime=1591549902 /* 2020-06-07T17:11:42+0000 */, st_mtime_nsec=0, st_ctime=1591549902 /* 2020-06-07T17:11:42+0000 */, st_ctime_nsec=0}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\240\275\0\0004\0\0\0\0\0\0\0\7\20\0p4\0 \0\10\0\0\0\0\0\0\0\3\0\0p8\1\0\08\1\0\08\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\10\0\0\0\0\0\0pP\1\0\0P\1\0\0P\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\254\206\2\0\254\206\2\0\5\0\0\0\0\0\1\0\1\0\0\0\254\206\2\0\254\206\3\0\254\206\3\0o\2\0\0\224\4\0\0\6\0\0\0\0\0\1\0\2\0\0\0h\1\0\0h\1\0\0h\1\0\0\360\0\0\0\360\0\0\0\4\0\0\0\4\0\0\0P\345td y\2\0 y\2\0 y\2\0l\2\0\0l\2\0\0\4\0\0\0\4\0\0\0Q\345td\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0 \2\1\0\0\3\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\260\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\300\6\4\0\1\0\0\0\300@\0\0\16\0\0\0\310@\0\0\f\0\0\0004\275\0\0\r\0\0\0000r\2\0\4\0\0\0X\2\0\0\5\0\0\0\204n\0\0\6\0\0\0\344$\0\0\n\0\0\0HA\0\0\v\0\0\0\20\0\0\0\3\0\0\0\320\206\3\0\21\0\0\0\304\272\0\0\22\0\0\0\20\0\0\0\23\0\0\0\10\0\0\0\1\0\0p\1\0\0\0\5\0\0p\2\0\0\0\6\0\0p\0\0\0\0\n\0\0pE\0\0\0\21\0\0p\232\4\0\0\22\0\0p$\0\0\0\23\0\0pM\4\0\0\374\377\377o\0\271\0\0\375\377\377o\r\0\0\0\360\377\377o\314\257\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\4\0\0\232\4\0\0\f\3\0\0S\4\0\0\0\0\0\0P\2\0\0\256\3\0\0\261\3\0\0\0\0\0\0\342\1\0\0\305\0\0\0l\3\0\0\333\3\0\0\0\0\0\0\205\1\0\0\5\2\0\0\274\2\0\0\v\3\0\0W\4\0\0\252\1\0\0\20\3\0\0F\2\0\0\5\1\0\0\0\0\0\0\0\0\0\0\241\0\0\0\20\1\0\0q\2\0\0\0\0\0\0G\4\0\0\0\0\0\0 \3\0\0n\1\0\0\0\0\0\0\0\0\0\0U\3\0\0\0\4\0\0\f\2\0\0|\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\362\2\0\0\0\0\0\0\0\0\0\0\362\3\0\0\0\0\0\0\274\0\0\0=\1\0\0\330\3\0\0\0\0\0\0\206\0\0\0y\0\0\0\220\1\0\0\214\1\0\0\0\0\0\0+\1\0\0\366\0\0\0\264\3\0\0b\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\23\2\0\0\265\3\0\0\313\1\0\0\0\0\0\0O\1\0\0F\0\0\0\253\3\0\0\260\3\0\0\0\0\0\0\364\3\0\0003\4\0\0\216\2\0\0g\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\262\2\0\0Q\4\0\0&\4\0\0\222\4\0\0\346\0\0\0", 936) = 936
mmap2(NULL, 233472, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x770f2000
mmap2(0x7712a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x28000) = 0x7712a000
close(3) = 0
open("/opt/lib/libcrypto.so.1.0.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_dev=makedev(0x1f, 0x3), st_ino=212, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=2752, st_size=1408615, st_atime=1591549973 /* 2020-06-07T17:12:53+0000 */, st_atime_nsec=0, st_mtime=1591549973 /* 2020-06-07T17:12:53+0000 */, st_mtime_nsec=0, st_ctime=1591549973 /* 2020-06-07T17:12:53+0000 */, st_ctime_nsec=0}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320j\3\0004\0\0\0\0\0\0\0\7\20\0p4\0 \0\10\0\0\0\0\0\0\0\3\0\0p8\1\0\08\1\0\08\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\10\0\0\0\0\0\0pP\1\0\0P\1\0\0P\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0,d\24\0,d\24\0\5\0\0\0\0\0\1\0\1\0\0\0,d\24\0,d\25\0,d\25\0;\32\1\0$8\1\0\6\0\0\0\0\0\1\0\2\0\0\0h\1\0\0h\1\0\0h\1\0\0\340\0\0\0\340\0\0\0\4\0\0\0\4\0\0\0P\345td\320c\24\0\320c\24\0\320c\24\0\34\0\0\0\34\0\0\0\4\0\0\0\4\0\0\0Q\345td\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0 \2\1\0\0\3\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\260\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\330\26\0\1\0\0\0\344-\1\0\16\0\0\0\23.\1\0\20\0\0\0\0\0\0\0\f\0\0\0`j\3\0\r\0\0\0\220#\22\0\4\0\0\0H\2\0\0\5\0\0\0\240\204\1\0\6\0\0\0\320\202\0\0\n\0\0\0&.\1\0\v\0\0\0\20\0\0\0\3\0\0\0\20X\26\0\21\0\0\0\310\262\2\0\22\0\0\0\210\267\0\0\23\0\0\0\10\0\0\0\1\0\0p\1\0\0\0\5\0\0p\2\0\0\0\6\0\0p\0\0\0\0\n\0\0p'\t\0\0\21\0\0p\35\20\0\0\22\0\0p$\0\0\0\23\0\0p\257\17\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\20\0\0\35\20\0\0\0\0\0\0\0\0\0\0V\1\0\0\0\0\0\0\0\0\0\0\4\4\0\0r\6\0\0$\10\0\0\0\0\0\0\0\0\0\0|\f\0\0\0\0\0\0\0\0\0\0N\0\0\0\372\r\0\0\0\0\0\0Y\7\0\0\0\0\0\0\3\v\0\0D\v\0\0\200\n\0\0\0\0\0\0`\n\0\0A\5\0\0D\16\0\0\0\0\0\0\31\3\0\0\331\4\0\0\343\t\0\0)\0\0\0\233\17\0\0\0\0\0\0)\v\0\0\0\0\0\08\1\0\0Q\f\0\0\274\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\237\6\0\0\220\f\0\0\312\7\0\0\26\7\0\0\0\0\0\0\357\f\0\0\5\f\0\0\356\6\0\0\323\7\0\0\0\0\0\0\36\f\0\0D\10\0\0M\10\0\0&\n\0\0\0\0\0\0p\17\0\0\362\7\0\0\313\0\0\0H\r\0\0\25\v\0\0\0\0\0\0s\7\0\0\324\v\0\0\0\0\0\0)\n\0\0\0\0\0\0005\f\0\0\227\5\0\0\266\r\0\0\0\0\0\0\0\0\0\0@\n\0\0\0\0\0\0[\r\0\0,\r\0\0\340\5\0\0\235\7\0\0\0\0\0\0\250\17\0\0\0\0\0\0?\5\0\0\210\10\0\0007\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 936) = 936
mmap2(NULL, 1482752, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x76f88000
mmap2(0x770de000, 81920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x146000) = 0x770de000
mmap2(0x770f0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x770f0000
close(3) = 0
open("/opt/lib/libssl.so.1.0.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_dev=makedev(0x1f, 0x3), st_ino=217, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=624, st_size=319179, st_atime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_atime_nsec=0, st_mtime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_mtime_nsec=0, st_ctime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_ctime_nsec=0}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000\302\0\0004\0\0\0\0\0\0\0\7\20\0p4\0 \0\7\0\0\0\0\0\0\0\3\0\0p\30\1\0\0\30\1\0\0\30\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\10\0\0\0\0\0\0p0\1\0\0000\1\0\0000\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0<\233\4\0<\233\4\0\5\0\0\0\0\0\1\0\1\0\0\0<\233\4\0<\233\5\0<\233\5\0\217C\0\0$D\0\0\6\0\0\0\0\0\1\0\2\0\0\0H\1\0\0H\1\0\0H\1\0\0\340\0\0\0\340\0\0\0\4\0\0\0\4\0\0\0Q\345td\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0 \2\1\0\0\3\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\260\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\200S\6\0\1\0\0\0\250H\0\0\1\0\0\0\273H\0\0\16\0\0\0\352H\0\0\20\0\0\0\0\0\0\0\f\0\0\0\270\301\0\0\r\0\0\0\20i\4\0\4\0\0\0(\2\0\0\5\0\0\0$X\0\0\6\0\0\0\344\31\0\0\n\0\0\0\372H\0\0\v\0\0\0\20\0\0\0\3\0\0\0\220\323\5\0\21\0\0\0 \241\0\0\22\0\0\0\230 \0\0\23\0\0\0\10\0\0\0\1\0\0p\1\0\0\0\5\0\0p\2\0\0\0\6\0\0p\0\0\0\0\n\0\0pG\1\0\0\21\0\0p\344\3\0\0\22\0\0p\"\0\0\0\23\0\0p]\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\2\0\0\344\3\0\0\223\1\0\0\234\1\0\0\16\3\0\0d\3\0\0\270\1\0\0A\2\0\0\0\0\0\0^\2\0\0\243\1\0\0P\2\0\0\353\1\0\0U\2\0\0006\3\0\0\346\1\0\0\25\2\0\0\200\0\0\0\273\2\0\0\20\1\0\0\0\0\0\0_\1\0\0\0\0\0\0\224\1\0\0L\1\0\0005\3\0\0T\2\0\0G\2\0\0t\1\0\0\0\0\0\0\307\2\0\0\0\0\0\0_\2\0\0\212\1\0\0\254\2\0\0\374\2\0\0\232\1\0\0\340\0\0\0y\1\0\0\0\0\0\0\266\0\0\0]\1\0\0`\2\0\0\0\0\0\0\222\2\0\0V\2\0\0\0\0\0\0+\3\0\0\0\0\0\0b\3\0\0\224\0\0\0\0\0\0\0/\2\0\0\34\1\0\0\0\0\0\0\0\0\0\0\276\2\0\0?\2\0\0\230\3\0\0\364\1\0\0E\3\0\0\310\3\0\0{\3\0\0R\2\0\0P\0\0\0L\0\0\0\360\1\0\0k\2\0\0*\1\0\08\2\0\0\372\0\0\0\0\0\0\0:\1\0\0\0\0\0\0\35\2\0\0\361\0\0\0\305\1\0\0\350\0\0\0\300\1\0\0W\2\0\0X\2\0\0\375\2\0\0\236\2\0\0\352\1\0\0\244\1\0\0\371\2\0\0\327\2\0\0c\1\0\0Y\2\0\0\352\0\0\0!\2\0\0\0\0\0\0\231\1\0\0\315\0\0\0\210\2\0\0\250\1\0\0", 936) = 936
mmap2(NULL, 385024, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x76f2a000
mmap2(0x76f83000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x49000) = 0x76f83000
close(3) = 0
open("/opt/lib/libpoecore.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_dev=makedev(0x1f, 0x3), st_ino=216, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=91, st_size=46507, st_atime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_atime_nsec=0, st_mtime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_mtime_nsec=0, st_ctime=1591549954 /* 2020-06-07T17:12:34+0000 */, st_ctime_nsec=0}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0P3\0\0004\0\0\0\0\0\0\0\7\20\0p4\0 \0\10\0\0\0\0\0\0\0\3\0\0p8\1\0\08\1\0\08\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\10\0\0\0\0\0\0pP\1\0\0P\1\0\0P\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\234\255\0\0\234\255\0\0\5\0\0\0\0\0\1\0\1\0\0\0\0\260\0\0\0\260\1\0\0\260\1\0\253\5\0\0\320\6\0\0\6\0\0\0\0\0\1\0\2\0\0\0h\1\0\0h\1\0\0h\1\0\0(\1\0\0(\1\0\0\4\0\0\0\4\0\0\0P\345td\240\227\0\0\240\227\0\0\240\227\0\0004\4\0\0004\4\0\0\4\0\0\0\4\0\0\0Q\345td\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0 \2\1\0\0\3\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\260\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\00003\2\0\1\0\0\0\17\26\0\0\1\0\0\0\34\26\0\0\1\0\0\0+\26\0\0\1\0\0\09\26\0\0\16\0\0\0m\26\0\0\f\0\0\0\3442\0\0\r\0\0\0\0\222\0\0\31\0\0\0\340\261\1\0\33\0\0\0\20\0\0\0\32\0\0\0\360\261\1\0\34\0\0\0\20\0\0\0\4\0\0\0\220\2\0\0\5\0\0\0@\23\0\0\6\0\0\0\220\7\0\0\n\0\0\0\215\26\0\0\v\0\0\0\20\0\0\0\3\0\0\0@\263\1\0\21\0\0\0t+\0\0\22\0\0\0@\2\0\0\23\0\0\0\10\0\0\0\1\0\0p\1\0\0\0\5\0\0p\2\0\0\0\6\0\0p\0\0\0\0\n\0\0p\n\0\0\0\21\0\0p\273\0\0\0\22\0\0p'\0\0\0\23\0\0p+\0\0\0\376\377\377oD+\0\0\377\377\377o\1\0\0\0\360\377\377o\316)\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\203\0\0\0\273\0\0\0\0\0\0\0?\0\0\0\0\0\0\08\0\0\0006\0\0\0\211\0\0\0Z\0\0\0,\0\0\0\0\0\0\0\237\0\0\0+\0\0\0/\0\0\0)\0\0\0\261\0\0\0\231\0\0\0\0\0\0\0\252\0\0\0\0\0\0\0\214\0\0\0\0\0\0\0\23\0\0\0\265\0\0\0\6\0\0\0\240\0\0\0007\0\0\0:\0\0\0\17\0\0\0\33\0\0\0\262\0\0\0\263\0\0\0\36\0\0\0\225\0\0\0\26\0\0\0\0\0\0\0>\0\0\0\0\0\0\0\0\0\0\0\250\0\0\0\271\0\0\0\227\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\25\0\0\0h\0\0\0-\0\0\0\266\0\0\0001\0\0\0I\0\0\0\0\0\0\0~\0\0\0U\0\0\0\0\0\0\0\0\0\0\0_\0\0\0\0\0\0\0\223\0\0\0\0\0\0\0\212\0\0\0d\0\0\0002\0\0\09\0\0\0003\0\0\0T\0\0\0\31\0\0\0\0\0\0\0\0\0\0\0&\0\0\0", 936) = 936
mmap2(NULL, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x76f0e000
mmap2(0x76f29000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb000) = 0x76f29000
close(3) = 0
open("/opt/lib/libstdc++.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_dev=makedev(0x1f, 0x3), st_ino=220, st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=2539, st_size=1299787, st_atime=1591561934 /* 2020-06-07T20:32:14+0000 */, st_atime_nsec=0, st_mtime=1591561934 /* 2020-06-07T20:32:14+0000 */, st_mtime_nsec=0, st_ctime=1591561934 /* 2020-06-07T20:32:14+0000 */, st_ctime_nsec=0}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320\v\7\0004\0\0\0\0\0\0\0\7\20\0p4\0 \0\t\0\0\0\0\0\0\0\3\0\0pX\1\0\0X\1\0\0X\1\0\0\30\0\0\0\30\0\0\0\4\0\0\0\10\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0D\3\23\0D\3\23\0\5\0\0\0\0\0\1\0\1\0\0\0\270\17\23\0\270\17\24\0\270\17\24\0\223\305\0\0\260\346\0\0\6\0\0\0\0\0\1\0\2\0\0\0p\1\0\0p\1\0\0p\1\0\0(\1\0\0(\1\0\0\4\0\0\0\4\0\0\0\7\0\0\0\270Z\23\0\270Z\24\0\270Z\24\0\0\0\0\0\20\0\0\0\4\0\0\0\4\0\0\0P\345tdp\252\20\0p\252\20\0p\252\20\0\34w\0\0\34w\0\0\4\0\0\0\4\0\0\0Q\345td\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\20\0\0\0R\345td\270\17\23\0\270\17\24\0\270\17\24\0H\220\0\0H\220\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0 \2\1\0\0\3\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\270\365\3\0\1\0\0\0\300\365\3\0\16\0\0\0\316\365\3\0\f\0\0\0d\v\7\0\r\0\0\0\260B\20\0\31\0\0\0\270Z\24\0\33\0\0\0$\0\0\0\32\0\0\0\334Z\24\0\34\0\0\0\10\0\0\0\4\0\0\0\230\2\0\0\5\0\0\0\340\312\1\0\6\0\0\0pw\0\0\n\0\0\0\313\367\3\0\v\0\0\0\20\0\0\0\3\0\0\0\200\241\24\0\21\0\0\0\24\362\5\0\22\0\0\0hj\0\0\23\0\0\0\10\0\0\0\1\0\0p\1\0\0\0\5\0\0p\2\0\0\0\6\0\0p\0\0\0\0\n\0\0p?\1\0\0\21\0\0p7\25\0\0\22\0\0p(\0\0\0\23\0\0p\212\t\0\0\374\377\377o\34\355\5\0\375\377\377o\"\0\0\0\376\377\377o\304\361\5\0\377\377\377o\1\0\0\0\360\377\377o\254\302\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\375\7\0\0007\25\0\0\361\f\0\0;\2\0\0 \22\0\0f\5\0\0\323\t\0\0\371\24\0\0b\5\0\0q\t\0\0X\6\0\0z\23\0\0\250\10\0\0\362\17\0\0p\t\0\0X\21\0\0<\f\0\0\5\10\0\0\254\t\0\0\301\24\0\0\243\t\0\0a\v\0\0\362\6\0\0004\t\0\0\5\23\0\0\314\23\0\0\314\7\0\0/\7\0\0\316\r\0\0)\20\0\0006\25\0\0\215\10\0\0\0\0\0\0z\f\0\0\177\5\0\0]\16\0\0\"\t\0\0?\1\0\0^\10\0\0]\23\0\0\352\n\0\0'\2\0\0001\r\0\0Z\n\0\0\357\23\0\0\311\n\0\0\33\f\0\0s\7\0\0\377\24\0\0O\r\0\0007\n\0\0\212\n\0\0\275\v\0\0\6\r\0\0\0\0\0\0\0\0\0\0f\17\0\0\326\23\0\0/\10\0\0\273\10\0\0p\23\0\0?\5\0\0\0\0\0\0*\17\0\0\310\16\0\0J\r\0\0\0\0\0\0Y\t\0\0", 936) = 936
mmap2(NULL, 1376256, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x76dbe000
mmap2(0x76efe000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0x76efe000
mmap2(0x76f0c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x76f0c000
close(3) = 0
mprotect(0x76efe000, 40960, PROT_READ) = 0
brk(NULL) = 0x45b000
brk(0x460000) = 0x460000
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 3
read(3, "\371\2>\260", 4) = 4
close(3) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=191, tv_nsec=378880401}) = 0
brk(0x465000) = 0x465000
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([3, 4], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4ff8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 405
close(4) = 0
read(3, "", 4) = 0
close(3) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(405, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 405
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=405, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
open("/dev/board-config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="error: open /dev/board-config\n", iov_len=30}], 1error: open /dev/board-config
) = 30
open("/dev/board-config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="error: open /dev/board-config\n", iov_len=30}], 1error: open /dev/board-config
) = 30
brk(0x466000) = 0x466000
brk(0x467000) = 0x467000
brk(0x468000) = 0x468000
brk(0x469000) = 0x469000
brk(0x46a000) = 0x46a000
brk(0x46b000) = 0x46b000
brk(0x46c000) = 0x46c000
brk(0x46d000) = 0x46d000
brk(0x46e000) = 0x46e000
brk(0x46f000) = 0x46f000
brk(0x470000) = 0x470000
brk(0x471000) = 0x471000
brk(0x472000) = 0x472000
brk(0x473000) = 0x473000
brk(0x474000) = 0x474000
brk(0x475000) = 0x475000
brk(0x476000) = 0x476000
brk(0x477000) = 0x477000
brk(0x478000) = 0x478000
brk(0x479000) = 0x479000
brk(0x47a000) = 0x47a000
brk(0x47b000) = 0x47b000
brk(0x47c000) = 0x47c000
brk(0x47d000) = 0x47d000
open("/proc/cpuinfo", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_dev=makedev(0, 0x3), st_ino=4026531943, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=191 /* 1970-01-01T00:03:11.586693939+0000 */, st_atime_nsec=586693939, st_mtime=191 /* 1970-01-01T00:03:11.586693939+0000 */, st_mtime_nsec=586693939, st_ctime=191 /* 1970-01-01T00:03:11.586693939+0000 */, st_ctime_nsec=586693939}) = 0
read(3, "system type\t\t: V", 16) = 16
read(3, "itesse VCore-III VSC7425\nmachine", 32) = 32
read(3, "\t\t\t: Unknown\nprocessor\t\t: 0\ncpu model\t\t: MIPS 24KEc V5.4\nBogoMIP", 64) = 64
read(3, "S\t\t: 275.45\nwait instruction\t: yes\nmicrosecond timers\t: yes\ntlb_entries\t\t: 16\nextra interrupt vector\t: yes\nhardware watchpoint\t:", 128) = 128
read(3, " yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]\nisa\t\t\t: mips1 mips2 mips32r1 mips32r2\nASEs implemented\t: mips16 dsp\nshadow register sets\t: 1\nkscratch registers\t: 0\npackage\t\t\t: 0\ncore\t\t\t: 0\nVCED exceptions\t\t: not available\nVCEI exceptions", 256) = 256
read(3, "\t\t: not available\n\n", 512) = 19
read(3, "", 493) = 0
close(3) = 0
open("/dev/i2c-1", O_RDWR|O_LARGEFILE) = 3
semget(0x100, 1, IPC_CREAT|IPC_EXCL|0666) = 0
ioctl(1, TIOCGWINSZ, 0x7f9f55f0) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo 7 > /sys/class/gpio/export\n", iov_len=32}], 2echo 7 > /sys/class/gpio/export
) = 32
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([4, 5], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 407
close(5) = 0
read(4, "", 4) = 0
close(4) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(407, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 407
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=407, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/dev/log"}, 12) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=191, tv_nsec=960443578}) = 0
sendto(4, "<13>Jan 1 00:03:11 : +echo 7 > /sys/class/gpio/export\n", 55, 0, NULL, 0) = 55
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo 12 > /sys/class/gpio/export\n", iov_len=33}], 2echo 12 > /sys/class/gpio/export
) = 33
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 409
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(409, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 409
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=409, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=191, tv_nsec=986212887}) = 0
sendto(4, "<13>Jan 1 00:03:11 : +echo 12 > /sys/class/gpio/export\n", 56, 0, NULL, 0) = 56
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo out > /sys/class/gpio/gpio7/direction\n", iov_len=43}], 2echo out > /sys/class/gpio/gpio7/direction
) = 43
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 411
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(411, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 411
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=411, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=192, tv_nsec=12455961}) = 0
sendto(4, "<13>Jan 1 00:03:12 : +echo out > /sys/class/gpio/gpio7/direction\n", 66, 0, NULL, 0) = 66
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo out > /sys/class/gpio/gpio12/direction\n", iov_len=44}], 2echo out > /sys/class/gpio/gpio12/direction
) = 44
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 412
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(412, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 412
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=412, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=192, tv_nsec=37342814}) = 0
sendto(4, "<13>Jan 1 00:03:12 : +echo out > /sys/class/gpio/gpio12/direction\n", 67, 0, NULL, 0) = 67
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo 1 > /sys/class/gpio/gpio7/value\n", iov_len=37}], 2echo 1 > /sys/class/gpio/gpio7/value
) = 37
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 413
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(413, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 413
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=413, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=192, tv_nsec=394358837}) = 0
sendto(4, "<13>Jan 1 00:03:12 : +echo 1 > /sys/class/gpio/gpio7/value\n", 60, 0, NULL, 0) = 60
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo 0 > /sys/class/gpio/gpio12/value\n", iov_len=38}], 2echo 0 > /sys/class/gpio/gpio12/value
) = 38
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 414
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(414, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 414
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=414, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=192, tv_nsec=419172897}) = 0
sendto(4, "<13>Jan 1 00:03:12 : +echo 0 > /sys/class/gpio/gpio12/value\n", 61, 0, NULL, 0) = 61
nanosleep({tv_sec=0, tv_nsec=10000000}, 0x7f9f56b8) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo 1 > /sys/class/gpio/gpio12/value\n", iov_len=38}], 2echo 1 > /sys/class/gpio/gpio12/value
) = 38
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 415
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(415, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 415
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=415, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=192, tv_nsec=454561411}) = 0
sendto(4, "<13>Jan 1 00:03:12 : +echo 1 > /sys/class/gpio/gpio12/value\n", 61, 0, NULL, 0) = 61
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo 0 > /sys/class/gpio/gpio7/value\n", iov_len=37}], 2echo 0 > /sys/class/gpio/gpio7/value
) = 37
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 416
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(416, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 416
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=416, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=192, tv_nsec=811701965}) = 0
sendto(4, "<13>Jan 1 00:03:12 : +echo 0 > /sys/class/gpio/gpio7/value\n", 60, 0, NULL, 0) = 60
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo 1 > /sys/class/gpio/gpio12/value\n", iov_len=38}], 2echo 1 > /sys/class/gpio/gpio12/value
) = 38
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9f4fb8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 417
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(417, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 417
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=417, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=192, tv_nsec=836394101}) = 0
sendto(4, "<13>Jan 1 00:03:12 : +echo 1 > /sys/class/gpio/gpio12/value\n", 61, 0, NULL, 0) = 61
nanosleep({tv_sec=0, tv_nsec=500000000}, 0x7f9f56b8) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56d4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5690) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5694) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5694) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5694) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5694) = 1
nanosleep({tv_sec=0, tv_nsec=50000000}, 0x7f9f5698) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56d4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56bc) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56bc) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56bc) = 1
nanosleep({tv_sec=0, tv_nsec=50000000}, 0x7f9f56c0) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56bc) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5690) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5694) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5694) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5694) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f5694) = 1
nanosleep({tv_sec=0, tv_nsec=50000000}, 0x7f9f5698) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56d4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56bc) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56bc) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56bc) = 1
nanosleep({tv_sec=0, tv_nsec=50000000}, 0x7f9f56c0) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56bc) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56c0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a4) = 1
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9f56a4) = 1
semop(0, [{0, 1, 0}], 1) = 0
open("/MERAKI_MAC", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x10), st_ino=1770, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=18, st_atime=29 /* 1970-01-01T00:00:29.868952412+0000 */, st_atime_nsec=868952412, st_mtime=29 /* 1970-01-01T00:00:29.840952457+0000 */, st_mtime_nsec=840952457, st_ctime=29 /* 1970-01-01T00:00:29.840952457+0000 */, st_ctime_nsec=840952457}) = 0
read(5, "88:15:44:23:11:15\n", 19) = 18
read(5, "", 1) = 0
close(5) = 0
sysinfo({uptime=194, loads=[37568, 14944, 5792], totalram=127102976, freeram=81620992, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=194, loads=[37568, 14944, 5792], totalram=127102976, freeram=81620992, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
stat64("/proc/mounts", {st_dev=makedev(0, 0x3), st_ino=2025, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_atime_nsec=711690543, st_mtime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_mtime_nsec=711690543, st_ctime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_ctime_nsec=711690543}) = 0
open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2025, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_atime_nsec=711690543, st_mtime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_mtime_nsec=711690543, st_ctime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_ctime_nsec=711690543}) = 0
read(5, "rootfs / rootfs ", 16) = 16
read(5, "rw 0 0\ndevtmpfs /dev devtmpfs rw", 32) = 32
read(5, ",relatime,size=61916k,nr_inodes=15479,mode=755 0 0\n/dev/root / s", 64) = 64
read(5, "quashfs ro,relatime 0 0\ndevtmpfs /dev devtmpfs rw,relatime,size=61916k,nr_inodes=15479,mode=755 0 0\nproc /proc proc rw,relatime ", 128) = 128
read(5, "0 0\ndevpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=666 0 0\ntmpfs /dev/shm tmpfs rw,relatime,mode=777 0 0\ntmpfs /tmp tmpfs rw,relatime 0 0\ntmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0\nsysfs /sys sysfs rw,relatime 0 0\nnone /tmp tmpfs rw", 256) = 256
read(5, ",relatime,size=6144k 0 0\n/dev/mtdblock4 /config jffs2 rw,relatime 0 0\n/dev/mtdblock4 /etc jffs2 rw,relatime 0 0\nnone /click click rw,relatime 0 0\nnone /var/db/dhcpcd tmpfs rw,relatime,size=6144k 0 0\n", 512) = 199
read(5, "", 313) = 0
close(5) = 0
statfs64("/storage/.", 96, {f_type=SQUASHFS_MAGIC, f_bsize=131072, f_blocks=54, f_bfree=0, f_bavail=0, f_files=767, f_ffree=0, f_fsid={val=[7939, 0]}, f_namelen=256, f_frsize=131072, f_flags=ST_VALID|ST_RDONLY|ST_RELATIME}) = 0
sysinfo({uptime=194, loads=[37568, 14944, 5792], totalram=127102976, freeram=81620992, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=194, loads=[37568, 14944, 5792], totalram=127102976, freeram=81620992, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=194, loads=[37568, 14944, 5792], totalram=127102976, freeram=81620992, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=194, loads=[37568, 14944, 5792], totalram=127102976, freeram=81620992, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
stat64("/proc/mounts", {st_dev=makedev(0, 0x3), st_ino=2025, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_atime_nsec=711690543, st_mtime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_mtime_nsec=711690543, st_ctime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_ctime_nsec=711690543}) = 0
open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2025, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_atime_nsec=711690543, st_mtime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_mtime_nsec=711690543, st_ctime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_ctime_nsec=711690543}) = 0
read(5, "rootfs / rootfs ", 16) = 16
read(5, "rw 0 0\ndevtmpfs /dev devtmpfs rw", 32) = 32
read(5, ",relatime,size=61916k,nr_inodes=15479,mode=755 0 0\n/dev/root / s", 64) = 64
read(5, "quashfs ro,relatime 0 0\ndevtmpfs /dev devtmpfs rw,relatime,size=61916k,nr_inodes=15479,mode=755 0 0\nproc /proc proc rw,relatime ", 128) = 128
read(5, "0 0\ndevpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=666 0 0\ntmpfs /dev/shm tmpfs rw,relatime,mode=777 0 0\ntmpfs /tmp tmpfs rw,relatime 0 0\ntmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0\nsysfs /sys sysfs rw,relatime 0 0\nnone /tmp tmpfs rw", 256) = 256
read(5, ",relatime,size=6144k 0 0\n/dev/mtdblock4 /config jffs2 rw,relatime 0 0\n/dev/mtdblock4 /etc jffs2 rw,relatime 0 0\nnone /click click rw,relatime 0 0\nnone /var/db/dhcpcd tmpfs rw,relatime,size=6144k 0 0\n", 512) = 199
read(5, "", 313) = 0
close(5) = 0
statfs64("/storage/.", 96, {f_type=SQUASHFS_MAGIC, f_bsize=131072, f_blocks=54, f_bfree=0, f_bavail=0, f_files=767, f_ffree=0, f_fsid={val=[7939, 0]}, f_namelen=256, f_frsize=131072, f_flags=ST_VALID|ST_RDONLY|ST_RELATIME}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81620992, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81620992, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
brk(0x498000) = 0x498000
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81592320, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81592320, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
stat64("/proc/mounts", {st_dev=makedev(0, 0x3), st_ino=2025, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_atime_nsec=711690543, st_mtime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_mtime_nsec=711690543, st_ctime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_ctime_nsec=711690543}) = 0
open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2025, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_atime_nsec=711690543, st_mtime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_mtime_nsec=711690543, st_ctime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_ctime_nsec=711690543}) = 0
read(5, "rootfs / rootfs ", 16) = 16
read(5, "rw 0 0\ndevtmpfs /dev devtmpfs rw", 32) = 32
read(5, ",relatime,size=61916k,nr_inodes=15479,mode=755 0 0\n/dev/root / s", 64) = 64
read(5, "quashfs ro,relatime 0 0\ndevtmpfs /dev devtmpfs rw,relatime,size=61916k,nr_inodes=15479,mode=755 0 0\nproc /proc proc rw,relatime ", 128) = 128
read(5, "0 0\ndevpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=666 0 0\ntmpfs /dev/shm tmpfs rw,relatime,mode=777 0 0\ntmpfs /tmp tmpfs rw,relatime 0 0\ntmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0\nsysfs /sys sysfs rw,relatime 0 0\nnone /tmp tmpfs rw", 256) = 256
read(5, ",relatime,size=6144k 0 0\n/dev/mtdblock4 /config jffs2 rw,relatime 0 0\n/dev/mtdblock4 /etc jffs2 rw,relatime 0 0\nnone /click click rw,relatime 0 0\nnone /var/db/dhcpcd tmpfs rw,relatime,size=6144k 0 0\n", 512) = 199
read(5, "", 313) = 0
close(5) = 0
statfs64("/storage/.", 96, {f_type=SQUASHFS_MAGIC, f_bsize=131072, f_blocks=54, f_bfree=0, f_bavail=0, f_files=767, f_ffree=0, f_fsid={val=[7939, 0]}, f_namelen=256, f_frsize=131072, f_flags=ST_VALID|ST_RDONLY|ST_RELATIME}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81592320, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81592320, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81592320, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81592320, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
stat64("/proc/mounts", {st_dev=makedev(0, 0x3), st_ino=2025, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_atime_nsec=711690543, st_mtime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_mtime_nsec=711690543, st_ctime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_ctime_nsec=711690543}) = 0
open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2025, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_atime_nsec=711690543, st_mtime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_mtime_nsec=711690543, st_ctime=193 /* 1970-01-01T00:03:13.711690543+0000 */, st_ctime_nsec=711690543}) = 0
read(5, "rootfs / rootfs ", 16) = 16
read(5, "rw 0 0\ndevtmpfs /dev devtmpfs rw", 32) = 32
read(5, ",relatime,size=61916k,nr_inodes=15479,mode=755 0 0\n/dev/root / s", 64) = 64
read(5, "quashfs ro,relatime 0 0\ndevtmpfs /dev devtmpfs rw,relatime,size=61916k,nr_inodes=15479,mode=755 0 0\nproc /proc proc rw,relatime ", 128) = 128
read(5, "0 0\ndevpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=666 0 0\ntmpfs /dev/shm tmpfs rw,relatime,mode=777 0 0\ntmpfs /tmp tmpfs rw,relatime 0 0\ntmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0\nsysfs /sys sysfs rw,relatime 0 0\nnone /tmp tmpfs rw", 256) = 256
read(5, ",relatime,size=6144k 0 0\n/dev/mtdblock4 /config jffs2 rw,relatime 0 0\n/dev/mtdblock4 /etc jffs2 rw,relatime 0 0\nnone /click click rw,relatime 0 0\nnone /var/db/dhcpcd tmpfs rw,relatime,size=6144k 0 0\n", 512) = 199
read(5, "", 313) = 0
close(5) = 0
statfs64("/storage/.", 96, {f_type=SQUASHFS_MAGIC, f_bsize=131072, f_blocks=54, f_bfree=0, f_bavail=0, f_files=767, f_ffree=0, f_fsid={val=[7939, 0]}, f_namelen=256, f_frsize=131072, f_flags=ST_VALID|ST_RDONLY|ST_RELATIME}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81592320, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
sysinfo({uptime=195, loads=[37568, 14944, 5792], totalram=127102976, freeram=81592320, sharedram=69632, bufferram=5529600, totalswap=0, freeswap=0, procs=30, totalhigh=0, freehigh=0, mem_unit=1}) = 0
brk(0x4b3000) = 0x4b3000
writev(1, [{iov_base="", iov_len=0}, {iov_base="awk '{if(match($0,/^xport\\[([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])\\]/)){printf tolower(substr($0,0,RLENGTH));print substr($0,RSTART+RLENGTH);}else{print $0;}}' /storage/config.local >/tmp/config.local && mv /tmp/config.local /storage/config.local\n", iov_len=260}], 2awk '{if(match($0,/^xport\[([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])\]/)){printf tolower(substr($0,0,RLENGTH));print substr($0,RSTART+RLENGTH);}else{print $0;}}' /storage/config.local >/tmp/config.local && mv /tmp/config.local /storage/config.local
) = 260
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ef0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 418
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(418, awk: /storage/config.local: No such file or directory
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 418
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=418, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=194, tv_nsec=829976343}) = 0
sendto(4, "<5>Jan 1 00:03:14 brain: -awk '{if(match($0,/^xport\\[([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])\\]/)){printf tolower(substr($0,0,RLENGTH));print substr($0,RSTART+RLENGTH);}else{print $0;}}' /storage/config.local >[ 194.884000] !!!!! {/opt/bin/switch_brain} failsafe mode error: bootloop detection running late!
/tmp/config.lo\n", 238, 0, NULL, 0) = 238
clock_gettime(CLOCK_REALTIME, {tv_sec=194, tv_nsec=832719514}) = 0
sendto(4, "<5>Jan 1 00:03:14 brain: cal && mv /tmp/config.local /storage/config.local\n", 77, 0, NULL, 0) = 77
clock_gettime(CLOCK_REALTIME, {tv_sec=194, tv_nsec=835145943}) = 0
sendto(4, "<7>Jan 1 00:03:14 brain: [launch_poder_agent] starting poder_agent\n", 68, 0, NULL, 0) = 68
writev(1, [{iov_base="", iov_len=0}, {iov_base="/usr/bin/poder_agent >> /var/log/poder_agent.log 2>&1 &\n", iov_len=56}], 2/usr/bin/poder_agent >> /var/log/poder_agent.log 2>&1 &
) = 56
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ef0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 420
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(420, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 420
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=420, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=194, tv_nsec=860291900}) = 0
sendto(4, "<5>Jan 1 00:03:14 brain: +/usr/bin/poder_agent >> /var/log/poder_agent.log 2>&1 &\n", 83, 0, NULL, 0) = 83
clock_gettime(CLOCK_REALTIME, {tv_sec=194, tv_nsec=865673118}) = 0
sendto(4, "<7>Jan 1 00:03:14 brain: [launch_poder_agent] poder_agent started \n", 68, 0, NULL, 0) = 68
open("/MERAKI_MAC", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x10), st_ino=1770, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=18, st_atime=29 /* 1970-01-01T00:00:29.868952412+0000 */, st_atime_nsec=868952412, st_mtime=29 /* 1970-01-01T00:00:29.840952457+0000 */, st_mtime_nsec=840952457, st_ctime=29 /* 1970-01-01T00:00:29.840952457+0000 */, st_ctime_nsec=840952457}) = 0
read(5, "88:15:44:23:11:15\n", 19) = 18
read(5, "", 1) = 0
close(5) = 0
open("/tmp/BOOTLOOP_STATE", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_REALTIME, {tv_sec=194, tv_nsec=875269081}) = 0
sendto(4, "<2>Jan 1 00:03:14 brain: failsafe mode error: bootloop detection running late!\n", 80, 0, NULL, 0) = 80
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} failsafe mode error: bootloop detection running late!\n", 84) = 84
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1200) = -1 ENOENT (No such file or directory)
open("/click/event_log/add_event", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "failsafe_error \"msg='/opt/bin/switch_brain: bootloop detection running late' ver='1'\" \"\"", 88) = 88
close(5) = 0
open("/storage/BOOTLOOP_DETECT_FAIL", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = -1 EROFS (Read-only file system)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="opening /storage/BOOTLOOP_DETECT_FAIL failed!", iov_len=45}], 1opening /storage/BOOTLOOP_DETECT_FAIL failed!) = 45
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="Read-only file system", iov_len=21}], 2Read-only file system) = 21
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/storage/config", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/storage/config.failsafe", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/storage/config.local", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/tmp/config.tmp", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/tmp/bird_routes_export", 0x7f9d1320) = -1 ENOENT (No such file or directory)
unlink("/shell_prompt") = -1 EROFS (Read-only file system)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=258557256}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=259288474}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=259834944}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=260548003}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=261210672}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=261766891}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=262484122}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=263123366}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=263739154}) = 0
getpid() = 404
open("/tmp/brain_state.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "init\n", 5) = 5
fdatasync(5) = 0
close(5) = 0
rename("/tmp/brain_state.tmp_404", "/tmp/brain_state") = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=268833331}) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="sysctl -w net.ipv4.ip_local_reserved_ports=50000-50127;\n", iov_len=56}], 2sysctl -w net.ipv4.ip_local_reserved_ports=50000-50127;
) = 56
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ef0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 422
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(422, net.ipv4.ip_local_reserved_ports = 50000-50127
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 422
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=422, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=195, tv_nsec=299392008}) = 0
sendto(4, "<5>Jan 1 00:03:15 brain: +sysctl -w net.ipv4.ip_local_reserved_ports=50000-50127;\n", 83, 0, NULL, 0) = 83
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=301989672}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=195, tv_nsec=302742048}) = 0
getpid() = 404
open("/tmp/brain_dump.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "_s init\n_gw_devno -1\n_channel -1 (+0)\n_dhcp_cli_only [true]\n_last_transition 100195.302742\n_last_scan 100195.302742\n_last_conf_change 0.044185\n", 180) = 180
fdatasync(5) = 0
close(5) = 0
rename("/tmp/brain_dump.tmp_404", "/tmp/brain_dump") = 0
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=195 /* 1970-01-01T00:03:15.308687990+0000 */, st_atime_nsec=308687990, st_mtime=195 /* 1970-01-01T00:03:15.308687990+0000 */, st_mtime_nsec=308687990, st_ctime=195 /* 1970-01-01T00:03:15.308687990+0000 */, st_ctime_nsec=308687990}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall connection_monitor\n", iov_len=27}], 2killall connection_monitor
) = 27
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0c60, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 423
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(423, killall: connection_monitor: no process killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 423
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=423, si_uid=0, si_status=1, si_utime=1, si_stime=2} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=195, tv_nsec=706242505}) = 0
sendto(4, "<5>Jan 1 00:03:15 brain: -killall connection_monitor\n", 54, 0, NULL, 0) = 54
writev(1, [{iov_base="", iov_len=0}, {iov_base="rm -f /tmp/connection_state* /tmp/gateway_configuration* /tmp/gateway_configuration_json*\n", iov_len=90}], 2rm -f /tmp/connection_state* /tmp/gateway_configuration* /tmp/gateway_configuration_json*
) = 90
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0c60, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 424
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(424, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 424
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=424, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=195, tv_nsec=738493551}) = 0
sendto(4, "<5>Jan 1 00:03:15 brain: +rm -f /tmp/connection_state* /tmp/gateway_configuration* /tmp/gateway_configuration_json*\n", 117, 0, NULL, 0) = 117
open("/etc/dropbear/authorized_keys", O_WRONLY|O_TRUNC|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="opening /etc/dropbear/authorized_keys failed!", iov_len=45}], 1opening /etc/dropbear/authorized_keys failed!) = 45
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=195, tv_nsec=746357804}) = 0
sendto(4, "<2>Jan 1 00:03:15 brain: failed writing /etc/dropbear/authorized_keys errno 2 (No such file or directory) len 0 data: \"\"\n", 122, 0, NULL, 0) = 122
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) =[ 196.088000] !!!!! {/opt/bin/switch_brain} failed writing /etc/dropbear/authorized_keys errno 2 (No such file or directory) len 0 data: ""
16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!![ 196.119000] !!!!! {/opt/bin/switch_brain} failed writing /support/.ssh/authorized_keys errno 2 (No such file or directory) len 0 data: ""
{/opt/bin/switch_brain} failed writing /etc/dropbear/authorized_keys errno 2 (No such file or directory) len 0 data: \"\"\n", 126) = 126
close(5) = 0
open("/support/.ssh/authorized_keys", O_WRONLY|O_TRUNC|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="opening /support/.ssh/authorized_keys failed!", iov_len=45}], 1opening /support/.ssh/authorized_keys failed!) = 45
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=196, tv_nsec=109728821}) = 0
sendto(4, "<2>Jan 1 00:03:16 brain: failed writing /support/.ssh/authorized_keys errno 2 (No such file or directory) len 0 data: \"\"\n", 122, 0, NULL, 0) = 122
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} failed writing /support/.ssh/authorized_keys errno 2 (No such file or directory) len 0 data: \"\"\n", 126) = 126
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="chown support /support/.ssh/authorized_keys\n", iov_len=44}], 2chown support /support/.ssh/authorized_keys
) = 44
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0bb0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 425
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(425, chown: unknown user support
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 425
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=425, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=196, tv_nsec=164378803}) = 0
sendto(4, "<5>Jan 1 00:03:16 brain: -chown support /support/.ssh/authorized_keys\n", 71, 0, NULL, 0) = 71
stat64("/var/run/dnsmasq.vaperr.pid", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/etc/dnsmasq.vaperr.conf", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "no-resolv\npid-file=/var/run/dnsmasq.vaperr.pid\nport=5315\nno-negcache\naddress=/#/6.0.0.7\n", 88) = 88
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="dnsmasq -C /etc/dnsmasq.vaperr.conf\n", iov_len=36}], 2dnsmasq -C /etc/dnsmasq.vaperr.conf
) = 36
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b88, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 426
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(426, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 426
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=426, si_uid=0, si_status=0, si_utime=0, si_stime=17} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=196, tv_nsec=936538523}) = 0
sendto(4, "<5>Jan 1 00:03:16 brain: +dnsmasq -C /etc/dnsmasq.vaperr.conf\n", 63, 0, NULL, 0) = 63
open("/proc/sys/kernel/hostname", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=1803, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=29 /* 1970-01-01T00:00:29.983952228+0000 */, st_atime_nsec=983952228, st_mtime=29 /* 1970-01-01T00:00:29.983952228+0000 */, st_mtime_nsec=983952228, st_ctime=29 /* 1970-01-01T00:00:29.983952228+0000 */, st_ctime_nsec=983952228}) = 0
read(5, "m881544231115\n", 16) = 14
read(5, "", 2) = 0
close(5) = 0
getpid() = 404
open("/etc/hosts.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "127.0.0.1 m881544231115 localhost\n", 34) = 34
fdatasync(5) = 0
close(5) = 0
rename("/etc/hosts.tmp_404", "/etc/hosts") = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="cp /click/event_log/log_state /tmp/log_state\n", iov_len=45}], 2cp /click/event_log/log_state /tmp/log_state
) = 45
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0c60, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 429
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(429, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 429
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=429, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=196, tv_nsec=988351254}) = 0
sendto(4, "<5>Jan 1 00:03:16 brain: +cp /click/event_log/log_state /tmp/log_state\n", 72, 0, NULL, 0) = 72
clock_gettime(CLOCK_REALTIME, {tv_sec=196, tv_nsec=990768126}) = 0
sendto(4, "<6>Jan 1 00:03:16 brain: got mtun ip 6.35.17.21\n", 49, 0, NULL, 0) = 49
stat64("/etc/switch.userlevel.template.gz", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d1110) = -1 ENOENT (No such file or directory)
open("/click/config", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="gzip -dc /etc/switch.template.gz | sed -e 's/__MTUN_IP__/6.35.17.21/g' -e 's/__MY_MAC_ADDRESS__/88:15:44:23:11:15/g' -e 's/__NUM_SWITCHPORTS__/10/g' -e 's/__PORT_POE_MW__/30000/g' > /click/config\n", iov_len=199}], 2gzip -dc /etc/switch.template.gz | sed -e 's/__MTUN_IP__/6.35.17.21/g' -e 's/__MY_MAC_ADDRESS__/88:15:44:23:11:15/g' -e 's/__NUM_SWITCHPORTS__/10/g' -e 's/__PORT_POE_MW__/30000/g' > /click/config
) = 199
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0c60, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 450
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(450, [ 198.952000] chatter: from_sw0 :: FromVitesse: initializing fdma
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 450
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=450, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=199, tv_nsec=205421}) = 0
sendto(4, "<5>Jan 1 00:03:19 brain: +gzip -dc /etc/switch.template.gz | sed -e 's/__MTUN_IP__/6.35.17.21/g' -e 's/__MY_MAC_ADDRESS__/88:15:44:23:11:15/g' -e 's/__NUM_SWITCHPORTS__/10/g' -e 's/__PORT_POE_MW__/30000/g' > /click/config\n", 226, 0, NULL, 0) = 226
stat64("/tmp/log_state", {st_dev=makedev(0, 0x10), st_ino=2180, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=142, st_atime=196 /* 1970-01-01T00:03:16.981685316+0000 */, st_atime_nsec=981685316, st_mtime=196 /* 1970-01-01T00:03:16.982685315+0000 */, st_mtime_nsec=982685315, st_ctime=196 /* 1970-01-01T00:03:16.982685315+0000 */, st_ctime_nsec=982685315}) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="cat /tmp/log_state > /click/event_log/log_state\n", iov_len=48}], 2cat /tmp/log_state > /click/event_log/log_state
) = 48
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x400[ 199.131000] !!!!! {/opt/bin/switch_brain} reading /MERAKI_SERIAL failed [2]: No such file or directory
0000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0c60, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 485
close(6) = 0
read(5, "", 4) = 0
c[ 199.176000] !!!!! {/opt/bin/switch_brain} reading /storage/BOOT_COUNT failed [2]: No such file or directory
lose(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(485, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 485
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=485, si_uid=0, si_status=0, si_utime=0, si_stime=2} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=199, tv_nsec=100571270}) = 0
sendto(4, "<5>Jan 1 00:03:19 brain: +cat /tmp/log_state > /click/event_log/log_state\n", 75, 0, NULL, 0) = 75
open("/MERAKI_SERIAL", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /MERAKI_SERIAL", iov_len=27}], 1reading file /MERAKI_SERIAL) = 27
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=199, tv_nsec=114694661}) = 0
sendto(4, "<2>Jan 1 00:03:19 brain: reading /MERAKI_SERIAL failed [2]: No such file or directory\n", 87, 0, NULL, 0) = 87
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} reading /MERAKI_SERIAL failed [2]: No such file or directory\n", 91) = 91
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1118) = -1 ENOENT (No such file or directory)
open("/click/client_ip_table/serial", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
open("/storage/BOOT_COUNT", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /storage/BOOT_COUNT", iov_len=32}], 1reading file /storage/BOOT_COUNT) = 32
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=199, tv_nsec=161624141}) = 0
sendto(4, "<2>Jan 1 00:03:19 brain: reading /storage/BOOT_COUNT failed [2]: No such file or directory\n", 92, 0, NULL, 0) = 92
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} reading /storage/BOOT_COUNT failed [2]: No such file or directory\n", 96) = 96
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1118) = -1 ENOENT (No such file or directory)
open("/click/client_ip_table/boot_count", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) [ 199.558000] !!!!! {/opt/bin/switch_brain} reading /storage/BOOT_COUNT failed [2]: No such file or directory
= 0
open("/storage/last_good_uplink_config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/storage/BOOT_COUNT", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /storage/BOOT_COUNT", iov_len=32}], 1reading file /storage[ 199.603000] !!!!! {/opt/bin/switch_brain} reading /MERAKI_BUILD failed [2]: No such file or directory
/BOOT_COUNT) = 32
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=199, tv_nsec=543688354}) = 0
sendto(4, "<2>Jan 1 00:03:19 brain: reading /storage/BOOT_COUNT fail[ 199.650000] !!!!! {/opt/bin/switch_brain} reading /BOOT_REASON failed [2]: No such file or directory
ed [2]: No such file or directory\n", 92, 0, NULL, 0) = 92
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} reading /storage/BOOT_COUNT failed [2]: No such file or directory\n", 96) = 96
close(5) = 0
open("/MERAKI_BUILD", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /MERAKI_BUILD", iov_len=26}], 1reading file /MERAKI_BUILD) = 26
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=199, tv_nsec=583811655}) = 0
sendto(4, "<2>Jan 1 00:03:19 brain: reading /MERAKI_BUILD failed [2]: No such file or directory\n", 86, 0, NULL, 0) = 86
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} reading /MERAKI_BUILD failed [2]: No such file or directory\n", 90) = 90
close(5) = 0
open("/BOOT_REASON", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /BOOT_REASON", iov_len=25}], 1reading file /BOOT_REASON) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=199, tv_nsec=637506591}) = 0
sendto(4, "<2>Jan 1 00:03:19 brain: reading /BOOT_REASON failed [2]: No such file or directory\n", 85, 0, NULL, 0) = 85
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} reading /BOOT_REASON failed [2]: No such file or directory\n", 89) = 89
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1118) = -1 ENOENT (No such file or directory)
open("/click/event_log/add_event", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "boot \"boot_count='0' build='' reason=''\" \"\"", 43) = 43
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1118) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/snooptable_version", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1", 1) = 1
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="ifconfig wired0 txqueuelen 80;\ntouch /tmp/reload_led_ssi;\nifconfig linux_mgmt 10.128.128.130 netmask 255.255.255.254;\ndnsmasq -RN -x /var/run/dnsmasq.mgmt.pid -h -p 3579 --address=/\"#\"/10.128.128.130 -i linux_mgmt\n", iov_len=214}], 2ifconfig wired0 txqueuelen 80;
touch /tmp/reload_led_ssi;
ifconfig linux_mgmt 10.128.128.130 netmask 255.255.255.254;
dnsmasq -RN -x /var/run/dnsmasq.mgmt.pid -h -p 3579 --address=/"#"/10.128.128.130 -i linux_mgmt
) = 214
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0c60, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 529
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(529, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 529
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=529, si_uid=0, si_status=0, si_utime=0, si_stime=2} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=200, tv_nsec=156818650}) = 0
sendto(4, "<5>Jan 1 00:03:20 brain: +ifconfig wired0 txqueuelen 80;\ntouch /tmp/reload_led_ssi;\nifconfig linux_mgmt 10.128.128.130 netmask 255.255.255.254;\ndnsmasq -RN -x /var/run/dnsmasq.mgmt.pid -h -p 3579 --address=/\"#\"/10.128.128.130 -i linux_m\n", 238, 0, NULL, 0) = 238
clock_gettime(CLOCK_REALTIME, {tv_sec=200, tv_nsec=160645171}) = 0
sendto(4, "<5>Jan 1 00:03:20 brain: gmt\n", 31, 0, NULL, 0) = 31
unlink("/tmp/connection_state_wired0") = -1 ENOENT (No such file or directory)
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall snoop_d\n", iov_len=16}], 2killall snoop_d
) = 16
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0c60, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 536
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(536, killall: snoop_d: no process killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 536
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=536, si_uid=0, si_status=1, si_utime=1, si_stime=3} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=200, tv_nsec=274411671}) = 0
sendto(4, "<5>Jan 1 00:03:20 brain: -killall snoop_d\n", 43, 0,[ 200.375000] !!!!! {/opt/bin/switch_brain} reading /MERAKI_SERIAL failed [2]: No such file or directory
NULL, 0) = 43
writev(1, [{iov_base="", iov_len=0}, {iov_base="snoop_d true &\n", iov_len=15}], 2snoop_d true &
) = 15
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0c60, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 538
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(538, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 538
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=538, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=200, tv_nsec=317757226}) = 0
sendto(4, "<5>Jan 1 00:03:20 brain: +snoop_d true &\n", 42, 0, NULL, 0) = 42
clock_gettime(CLOCK_MONOTONIC, sh: snoop_d: not found
{tv_sec=200, tv_nsec=320160841}) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=200, tv_nsec=324422113}) = 0
sendto(4, "<4>Jan 1 00:03:20 brain: do_state:123: assigning brain state: gateway_check -1; reason: \n", 90, 0, NULL, 0) = 90
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13a8) = -1 ENOENT (No such file or directory)
open("/click/event_log/add_event", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "state_change \"type='gateway' inet='0' dns='0' lan='0' mtun='0' ipconflict='0'\" \"\"", 81) = 81
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1190) = -1 ENOENT (No such file or directory)
open("/click/event_log/add_event", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "config_change \"major='true'\" \"\"", 31) = 31
close(5) = 0
unlink("/shell_prompt") = -1 EROFS (Read-only file system)
open("/MERAKI_SERIAL", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /MERAKI_SERIAL", iov_len=27}], 1reading file /MERAKI_SERIAL) = 27
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=200, tv_nsec=360326689}) = 0
sendto(4, "<2>Jan 1 00:03:20 brain: reading /MERAKI_SERIAL failed [2]: No such file or directory\n", 87, 0, NULL, 0) = 87
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} reading /MERAKI_SERIAL failed [2]: No such file or directory\n", 91) = 91
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo -n \":Meraki Manual Configuration. The default login is the serial number with no password.:\" | md5sum | cut -b -32\n", iov_len=120}], 2echo -n ":Meraki Manual Configuration. The default login is the serial number with no password.:" | md5sum | cut -b -32
) = 120
clock_gettime(CLOCK_REALTIME, {tv_sec=200, tv_nsec=730703281}) = 0
sendto(4, "<5>Jan 1 00:03:20 brain: +echo -n \":Meraki Manual Configuration. The default login is the serial number with no password.:\" | md5sum | cut -b -32\n", 147, 0, NULL, 0) = 147
pipe([5, 6]) = 5
rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART|0x4000000}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RT_33 RT_35 RT_36 RT_40 RT_44 RT_48 RT_50 RT_51 RT_52 RT_53 RT_56 RT_57 RT_58 RT_59 RT_60 RT_61 RT_62 RT_63 RT_64 RT_69 RT_71 RT_72 RT_73 RT_74 RT_76 RT_80 RT_82 RT_85 RT_88 RT_89 RT_90 RT_91 RT_92 128], [], 16) = 0
fork() = 551
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
close(6) = 0
fstat64(5, {st_dev=makedev(0, 0x8), st_ino=2393, st_mode=S_IFIFO|0600, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=0, st_atime=200 /* 1970-01-01T00:03:20.732679321+0000 */, st_atime_nsec=732679321, st_mtime=200 /* 1970-01-01T00:03:20.732679321+0000 */, st_mtime_nsec=732679321, st_ctime=200 /* 1970-01-01T00:03:20.732679321+0000 */, st_ctime_nsec=732679321}) = 0
read(5, "becea846a24441c9", 16) = 16
read(5, "0162aad68aba2884\n", 32) = 17
read(5, "", 15) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=551, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
close(5) = 0
wait4(551, NULL, 0, NULL) = 551
rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART|0x4000000}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART|0x4000000}, 16) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="echo -n \":Meraki Manual Configuration. The default login is the serial number with no password.:\" | md5sum | cut -b -32\n", iov_len=120}], 2echo -n ":Meraki Manual Configuration. The default login is the serial number with no password.:" | md5sum | cut -b -32
) = 120
clock_gettime(CLOCK_REALTIME, {tv_sec=200, tv_nsec=786699592}) = 0
sendto(4, "<5>Jan 1 00:03:20 brain: +echo -n \":Meraki Manual Configuration. The default login is the serial number with no password.:\" | md5sum | cut -b -32\n", 147, 0, NULL, 0) = 147
pipe([5, 6]) = 5
rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART|0x4000000}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART|0x4000000}, 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RT_33 RT_35 RT_36 RT_40 RT_44 RT_48 RT_50 RT_51 RT_52 RT_53 RT_56 RT_57 RT_58 RT_59 RT_60 RT_61 RT_62 RT_63 RT_64 RT_69 RT_71 RT_72 RT_73 RT_74 RT_76 RT_80 RT_82 RT_85 RT_88 RT_89 RT_90 RT_91 RT_92 128], [], 16) = 0
fork() = 555
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
close(6) = 0
fstat64(5, {st_dev=makedev(0, 0x8), st_ino=2402, st_mode=S_IFIFO|0600, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=0, st_atime=200 /* 1970-01-01T00:03:20.787679233+0000 */, st_atime_nsec=787679233, st_mtime=200 /* 1970-01-01T00:03:20.787679233+0000 */, st_mtime_nsec=787679233, st_ctime=200 /* 1970-01-01T00:03:20.787679233+0000 */, st_ctime_nsec=787679233}) = 0
read(5, "becea846a24441c9", 16) = 16
read(5, "0162aad68aba2884\n", 32) = 17
read(5, "", 15) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=555, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
close(5) = 0
wait4(555, NULL, 0, NULL) = 555
rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART|0x4000000}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART|0x4000000}, 16) = 0
getpid() = 404
open("/tmp/lighttpd-htdigest.user.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, ":Meraki Manual Configuration. The default login is the serial number with no password.:becea846a24441c90162aad68aba2884\n:Meraki Manual Configuration. The default login is the serial number with no password.:becea846a24441c90162aad68aba2884\n", 240) = 240
fdatasync(5) = 0
close(5) = 0
rename("/tmp/lighttpd-htdigest.user.tmp_404", "/tmp/lighttpd-htdigest.user") = 0
stat64("/etc/lighttpd.conf.orig", {st_dev=makedev(0x1f, 0x4), st_ino=57, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=1, st_size=32, st_atime=75 /* 1970-01-01T00:01:15+0000 */, st_atime_nsec=0, st_mtime=75 /* 1970-01-01T00:01:15+0000 */, st_mtime_nsec=0, st_ctime=75 /* 1970-01-01T00:01:15+0000 */, st_ctime_nsec=0}) = 0
open("/etc/lighttpd.conf.orig", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0x1f, 0x4), st_ino=57, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=1, st_size=32, st_atime=75 /* 1970-01-01T00:01:15+0000 */, st_atime_nsec=0, st_mtime=75 /* 1970-01-01T00:01:15+0000 */, st_mtime_nsec=0, st_ctime=75 /* 1970-01-01T00:01:15+0000 */, st_ctime_nsec=0}) = 0
read(5, "\ninclude \"lighttpd.conf.switch\"\n", 33) = 32
read(5, "", 1) = 0
close(5) = 0
unlink("/etc/lighttpd/local_live.conf") = -1 ENOENT (No such file or directory)
getpid() = 404
open("/etc/lighttpd.conf.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "\ninclude \"lighttpd.conf.switch\"\n\ninclude \"lighttpd.conf.switch\"\n"[ 201.242000] !!!!! {/opt/bin/switch_brain} failed writing /etc/dropbear/authorized_keys errno 2 (No such file or directory) len 0 data: ""
, 64) = 64
fdatasync(5) = 0
close(5) = 0
rename("/etc/lighttpd.conf.tmp_404", "/etc/lighttpd.conf") = 0
open("/var/run/lighttpd.pid", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0xe), st_ino=1975, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=0, st_size=0, st_atime=45 /* 1970-01-01T00:00:45.907926777+0000 */, st_atime_nsec=907926777, st_mtime=45 /* 1970-01-01T00:00:45.925926748+0000 */, st_mtime_nsec=925926748, st_ctime=45 /* 1970-01-01T00:00:45.925926748+0000 */, st_ctime_nsec=925926748}) = 0
read(5, "", 16) = 0
close(5) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=201, tv_nsec=208957186}) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RT_33 RT_35 RT_36 RT_40 RT_44 RT_48 RT_50 RT_51 RT_52 RT_53 RT_56 RT_57 RT_58 RT_59 RT_60 RT_61 RT_62 RT_63 RT_64 RT_69 RT_71 RT_72 RT_73 RT_74 RT_76 RT_80 RT_82 RT_85 RT_88 RT_89 RT_90 RT_91 RT_92 128], [CHLD], 16) = 0
fork() = 559
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(559, 1970-01-01 00:03:21: (configfile.c.1395) include file not found: /etc/lighttpd.conf.switch
1970-01-01 00:03:21: (configfile.c.1316) source: /etc/lighttpd.conf line: 4 pos: 8 parser failed somehow near here: (EOL)
[{WIFEXITED(s) && WEXITSTATUS(s) == 255}], 0, NULL) = 559
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=559, si_uid=0, si_status=255, si_utime=0, si_stime=0} ---
open("/etc/dropbear/authorized_keys", O_WRONLY|O_TRUNC|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="opening /etc/dropbear/authorized_keys failed!", iov_len=45}], 1opening /etc/dropbear/authorized_keys failed!) = 45
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=201, tv_nsec=232984047}) = 0
sendto(4, "<2>Jan 1 00:03:21 brain: failed writing /etc/dropbear/authorized_keys errno 2 (No such file or directory) len 0 data: \"\"\n", 122, 0, NULL, 0) = 122
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} failed writing /etc/dropbear/authorized_keys errno 2 (No such file or directory) len 0 data: \"\"\n", 126) = 126
close(5) = 0
open("/support/.ssh/authorized_keys", O_WRONLY|O_TRUNC|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="opening /support/.ssh/authorized_keys failed!", iov_len=45}], 1opening /support/.ssh/authorized_keys failed!) = 45
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=201, tv_nsec=266779402}) = 0
sendto(4, "<2>Jan 1 00:03:21 brain: failed writing /support/.ssh/authorized_keys errno 2 ([ 201.609000] !!!!! {/opt/bin/switch_brain} failed writing /support/.ssh/authorized_keys errno 2 (No such file or directory) len 0 data: ""
No such file or directory) len 0 data: \"\"\n", 122, 0, NULL, 0) = 122
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} failed writing /support/.ssh/authorized_keys errno 2 (No such file or directory) len 0 data: \"\"\n", 126) = 126
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="chown support /support/.ssh/authorized_keys\n", iov_len=44}], 2chown support /support/.ssh/authorized_keys
) = 44
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0a98, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 560
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(560, chown: unknown user support
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 560
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=560, si_uid=0, si_status=1, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=201, tv_nsec=654763028}) = 0
sendto(4, "<5>Jan 1 00:03:21 brain: -chown support /support/.ssh/authorized_keys\n", 71, 0, NULL, 0) = 71
open("/storage/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /storage/config", iov_len=28}], 1reading file /storage/config) = 28
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ad8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 561
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(561, 390
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 561
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=561, si_uid=0, si_status=0, si_utime=1, si_stime=2} ---
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall dropbear\n", iov_len=17}], 2killall dropbear
) = 17
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ad8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 562
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(562, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 562
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=562, si_uid=0, si_status=0, si_utime=1, si_stime=2} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=201, tv_nsec=770285613}) = 0
sendto(4, "<5>Jan 1 00:03:21 brain: +killall dropbear\n", 44, 0, NULL, 0) = 44
nanosleep({tv_sec=1, tv_nsec=0}, 0x7f9d11d8) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall -9 dropbear\n", iov_len=20}], 2killall -9 dropbear
) = 20
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ad8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 563
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(563, killall: dropbear: no process killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 563
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=563, si_uid=0, si_status=1, si_utime=0, si_stime=3} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=202, tv_nsec=825546256}) = 0
sendto(4, "<5>Jan 1 00:03:22 brain: -killall -9 dropbear\n", 47, 0, NULL, 0) = 47
writev(1, [{iov_base="", iov_len=0}, {iov_base="start_dropbear \n", iov_len=16}], 2start_dropbear
) = 16
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b10, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 564
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(564, sh: start_dropbear: not found
[{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 564
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=564, si_uid=0, si_status=127, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=202, tv_nsec=850622291}) = 0
sendto(4, "<5>Jan 1 00:03:22 brain: -start_dropbear \n", 43, 0, NULL, 0) = 43
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/event_log/ignore_types", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/big_acl/major_version", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/big_acl/set_group_policies", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/live_traffic/period", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/set_counter_sets", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/tick_interval_sec", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_enabled", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "false", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_domain_lengths", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "*.co.? 3", 8) = 8
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_sig_shifter", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "6", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_promised_slots", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "8", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_min_score_thresh", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "20000", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_max_score_thresh", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "2000000", 7) = 7
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_buckets", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "40", 2) = 2
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_ewma_interval", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "180", 3) = 3
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_track_hostnames", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "false", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_track_hostnames_agg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "false", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_track_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "false", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_track_rule_groups", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "false", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_track_country", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "false", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/ta2_counterset_id", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/skip_ignored_traffic", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/var/run/snmpd.pid", 0x7f9d11b0) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d1060) = -1 ENOENT (No such file or directory)
open("/click/set_snmp_state/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "false", 5) = 5
close(5) = 0
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0a98, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 565
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(565, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 565
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=565, si_uid=0, si_status=127, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=203, tv_nsec=297122838}) = 0
sendto(4, "<5>Jan 1 00:03:23 brain: -/usr/bin/mtunnel_client -k KEY_REDACTED -i KEY_ID_REDACTED \"mtunnel.meraki.com\" \"64.62.142.12\" >> /var/log/mtunnel.log 2>&1 &\n/usr/bin/mtunnel_http_client -d >> /var/log/mtunnel_http.log 2>&1\n", 219, 0, NULL, 0) = 219
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/sw0_pcap_process/mtun_filter_config/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "mtun_filtering_enabled true", 27) = 27
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0ff8) = -1 ENOENT (No such file or directory)
open("/click/sw0_pcap_process/mtun_filter_config/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0ff8) = -1 ENOENT (No such file or directory)
open("/click/event_log/clear_syslog_desc", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/click/syslog_event_log/class", {st_dev=makedev(0, 0x11), st_ino=2147549239, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=203 /* 1970-01-01T00:03:23.646674664+0000 */, st_atime_nsec=646674664, st_mtime=203 /* 1970-01-01T00:03:23.646674664+0000 */, st_mtime_nsec=646674664, st_ctime=203 /* 1970-01-01T00:03:23.646674664+0000 */, st_ctime_nsec=646674664}) = 0
stat64("/usr/bin/click", 0x7f9d0ea0) = -1 ENOENT (No such file or directory)
open("/click/syslog_event_log/class", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2147549239, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=203 /* 1970-01-01T00:03:23.650674657+0000 */, st_atime_nsec=650674657, st_mtime=203 /* 1970-01-01T00:03:23.650674657+0000 */, st_mtime_nsec=650674657, st_ctime=203 /* 1970-01-01T00:03:23.650674657+0000 */, st_ctime_nsec=650674657}) = 0
read(5, "SyslogSourceUDP\n", 16) = 16
read(5, "", 32) = 0
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0e18) = -1 ENOENT (No such file or directory)
open("/click/syslog_event_log/clear_hosts", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0e50) = -1 ENOENT (No such file or directory)
open("/click/syslog_event_log/syslog_name", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, " events", 7) = 7
close(5) = 0
stat64("/click/syslog_airmarshal_events/class", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
stat64("/click/syslog_http_painter/class", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
stat64("/click/syslog_ipfilter/class", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
stat64("/click/syslog_flowlife/class", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
stat64("/click/syslog_ids_alert/class", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
stat64("/click/syslog_cognitive/class", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
stat64("/click/syslog_hosted/class", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
utimensat(AT_FDCWD, "/tmp/firmware_over_mtunnel", NULL, 0) = -1 ENOENT (No such file or directory)
open("/tmp/firmware_over_mtunnel", O_RDWR|O_CREAT|O_LARGEFILE, 0664) = 5
close(5) = 0
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ad8, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 567
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(567, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 567
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=567, si_uid=0, si_status=1, si_utime=1, si_stime=2} ---
stat64("/usr/bin/click", 0x7f9d0ff8) = -1 ENOENT (No such file or directory)
open("/click/cli_h/traffic_analysis/realtime_dscps", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "46 48", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1000) = -1 ENOENT (No such file or directory)
open("/click/client_ip_table/realtime_limit", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "90", 2) = 2
close(5) = 0
stat64("/sys/devices/system/cpu/cpu1/online", 0x7f9d11b0) = -1 ENOENT (No such file or directory)
stat64("/proc/cgroups", 0x7f9d1178) = -1 ENOENT (No such file or directory)
writev(1, [{iov_base="", iov_len=0}, {iov_base="taskset -p 2 `pidof kclick`\n", iov_len=28}], 2taskset -p 2 `pidof kclick`
) = 28
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b10, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 568
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(568, sh: taskset: not found
[{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 568
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=568, si_uid=0, si_status=127, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=204, tv_nsec=125431172}) = 0
sendto(4, "<5>Jan 1 00:03:24 brain: -taskset -p 2 `pidof kclick`\n", 55, 0, NULL, 0) = 55
unlink("/storage/ALLOW_FAILSAFE_CONFIG") = -1 EROFS (Read-only file system)
stat64("/usr/bin/click", 0x7f9d1280) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/preferred_dhcp_vid", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1280) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/set_dhcp_vlans", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1 1 1 1 1 1 1 1 1 1 1", 21) = 21
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1280) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/set_static_ips", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1188) = -1 ENOENT (No such file or directory)
open("/click/reconfigure_sensitive_acls_hw/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1190) = -1 ENOENT (No such file or directory)
open("/click/wan0_pinger/reset_clear_dsts", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_pinger/active", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_pinger/set_dst", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "8.8.8.8", 7) = 7
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1190) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/clear_hosts", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.google.com", 14) = 14
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.cnn.com", 11) = 11
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.ebay.com", 12) = 12
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.yahoo.com", 13) = 13
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.facebook.com", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.bankofamerica.com", 21) = 21
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.youtube.com", 15) = 15
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.wikipedia.com", 17) = 17
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.baidu.com", 13) = 13
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.blogger.com", 15) = 15
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.twitter.com", 15) = 15
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.amazon.com", 14) = 14
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.linkedin.com", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "www.wordpress.com", 17) = 17
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "config.meraki.com", 17) = 17
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "config-s.meraki.com", 19) = 19
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "account.meraki.com", 18) = 18
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "mtunnel.meraki.com", 18) = 18
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "dashboard.meraki.com", 20) = 20
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/add_host", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "meraki.com", 10) = 10
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11c8) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_nxlookup/domain", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "no-dns.meraki.com", 17) = 17
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/click/set_lldp_system_desc/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/click/set_lldp_system_name/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/click/enable_lldp/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/click/lldp_source/interval_ms", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "30000", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/click/lldp_source/fast_start_interval_ms", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "2000", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/click/lldp_source/fast_start_count", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "16", 2) = 2
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/click/lldp_source/port_poe_budget", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "255", 3) = 3
close(5) = 0
stat64("/usr/bin/click", 0x7f9d11f0) = -1 ENOENT (No such file or directory)
open("/click/set_cdp_config/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true \"\" 180 \"\" 60000", 20) = 20
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1190) = -1 ENOENT (No such file or directory)
open("/click/switch_pport_change_script/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "disc_packets 16", 15) = 15
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1190) = -1 ENOENT (No such file or directory)
open("/click/switch_pport_change_script/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "disc_interval 2000", 18) = 18
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/set_cdp_steal/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1168) = -1 ENOENT (No such file or directory)
open("/click/stp/set_params", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PRIORITY 61440, HELLO_TIME 2, FORWARD_DELAY 15, MAX_AGE 20, HOLDCOUNT 6", 71) = 71
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fa8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/enable_lacp_on_single_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fb0) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/setup_link_aggrs", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0e68) = -1 ENOENT (No such file or directory)
open("/click/stp/set_many_port_cfgs", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 88:15:44:23:11:15/1, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/2, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/3, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/4, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/5, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/6, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/7, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/8, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/9, ENABLED true, AUTOEDGE true, EDGE false, AUTOPTP true, PTP false, PRI 128, COST 0\nPORT 88:15:44:23:11:15/10, ENABLED true, AUTOEDGE tr"..., 1081) = 1081
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0ff0) = -1 ENOENT (No such file or directory)
open("/click/sw0_ctrl/set_qos_conf", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "DSCP_TRUST \"none\", DSCP_CLASS \"\", DSCP_DP \"\", QOS_RULES \"\"", 58) = 58
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/sw0_ctrl/set_port_qos_conf", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 2, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 3, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 4, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 5, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 6, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 7, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 8, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 9, DSCP_EN true, DSCP_EGRESS_MODE remark\nPORT 10, DSCP_EN true, DSCP_EGRESS_MODE remark\n", 461) = 461
close(5) = 0
unlink("/tmp/alt_mgmt_configuration") = -1 ENOENT (No such file or directory)
open("/etc/hostapd.0.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.0.cfg", iov_len=31}], 1reading file /etc/hostapd.0.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.1.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.1.cfg", iov_len=31}], 1reading file /etc/hostapd.1.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.2.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.2.cfg", iov_len=31}], 1reading file /etc/hostapd.2.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.3.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.3.cfg", iov_len=31}], 1reading file /etc/hostapd.3.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.4.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.4.cfg", iov_len=31}], 1reading file /etc/hostapd.4.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.5.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.5.cfg", iov_len=31}], 1reading file /etc/hostapd.5.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.6.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.6.cfg", iov_len=31}], 1reading file /etc/hostapd.6.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.7.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.7.cfg", iov_len=31}], 1reading file /etc/hostapd.7.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.8.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.8.cfg", iov_len=31}], 1reading file /etc/hostapd.8.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/usr/bin/click", 0x7f9d0f50) = -1 ENOENT (No such file or directory)
open("/click/set_alt_conf/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "route_ip 1.1.2.2", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0f48) = -1 ENOENT (No such file or directory)
open("/click/set_alt_conf/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1168) = -1 ENOENT (No such file or directory)
open("/click/sw0_ctrl/set_default_queue_rate_limit", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1024", 4) = 4
close(5) = -1 EPERM (Operation not permitted)
open("/MERAKI_MAC", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x10), st_ino=1770, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=18, st_atime=29 /* 1970-01-01T00:00:29.868952412+0000 */, st_atime_nsec=868952412, st_mtime=29 /* 1970-01-01T00:00:29.840952457+0000 */, st_mtime_nsec=840952457, st_ctime=29 /* 1970-01-01T00:00:29.840952457+0000 */, st_ctime_nsec=840952457}) = 0
read(5, "88:15:44:23:11:15\n", 19) = 18
read(5, "", 1) = 0
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0d10) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_hybrid_auth_timeouts", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "HYBRID_8021x_TIMEOUT 8000, HYBRID_MAC_RADIUS_TIMEOUT 8000, ", 59) = 59
close(5) = 0
open("/var/run/hostapd.0.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.0.pid", iov_len=35}], 1reading file /var/run/hostapd.0.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/var/run/hostapd.1.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.1.pid", iov_len=35}], 1reading file /var/run/hostapd.1.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/var/run/hostapd.2.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.2.pid", iov_len=35}], 1reading file /var/run/hostapd.2.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/var/run/hostapd.3.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.3.pid", iov_len=35}], 1reading file /var/run/hostapd.3.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/var/run/hostapd.4.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.4.pid", iov_len=35}], 1reading file /var/run/hostapd.4.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/var/run/hostapd.5.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.5.pid", iov_len=35}], 1reading file /var/run/hostapd.5.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/var/run/hostapd.6.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.6.pid", iov_len=35}], 1reading file /var/run/hostapd.6.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/var/run/hostapd.7.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.7.pid", iov_len=35}], 1reading file /var/run/hostapd.7.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/var/run/hostapd.8.pid", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /var/run/hostapd.8.pid", iov_len=35}], 1reading file /var/run/hostapd.8.pid) = 35
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/usr/bin/click", 0x7f9d0d10) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_access_policies", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "NUM 0, ENABLED false \nNUM 1, ENABLED false \nNUM 2, ENABLED false \nNUM 3, ENABLED false \nNUM 4, ENABLED false \nNUM 5, ENABLED false \nNUM 6, ENABLED false \nNUM 7, ENABLED false \nNUM 8, ENABLED false \n", 198) = 198
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 2, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 2, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 2, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 3, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 3, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 3, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 4, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 4, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 4, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 5, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 5, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 5, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 6, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 6, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 6, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 7, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 7, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 7, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 8, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 8, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 8, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 9, LEARN_LIMIT 0, MAC \"\"", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 9, STATUS 0", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 9, ERROR_STATUS 0, EAP_MULTICAST 0", 39) = 39
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_mac_whitelist", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 10, LEARN_LIMIT 0, MAC \"\"", 30) = 30
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/allow_unauth_egress", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 10, STATUS 0", 17) = 17
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_auth_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 10, ERROR_STATUS 0, EAP_MULTICAST 0", 40) = 40
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_access_policy_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "-1 -1 -1 -1 -1 -1 -1 -1 -1 -1", 29) = 29
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/1x_auth_listen_msec", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "3000", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/auth_table_size", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1000", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/pending_table_size", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1000", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/1x_auth_timer_table_size", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1000", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/auth_expiry_threshold_sec", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "-1", 2) = 2
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/pending_expiry_threshold_sec", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "150", 3) = 3
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/cdp_source/active_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1, true\n2, true\n3, true\n4, true\n5, true\n6, true\n7, true\n8, true\n9, true\n10, true\n", 81) = 81
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/cdp_source/voice_vlans", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1, 0\n2, 0\n3, 0\n4, 0\n5, 0\n6, 0\n7, 0\n8, 0\n9, 0\n10, 0\n", 51) = 51
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fd8) = -1 ENOENT (No such file or directory)
open("/click/lldp_source/active_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1, true\n2, true\n3, true\n4, true\n5, true\n6, true\n7, true\n8, true\n9, true\n10, true\n", 81) = 81
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fd8) = -1 ENOENT (No such file or directory)
open("/click/lldp_source/extra_options", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fd8) = -1 ENOENT (No such file or directory)
open("/click/switch_auth_port_table/set_port_voice_vid", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, VID 0\nPORT 2, VID 0\nPORT 3, VID 0\nPORT 4, VID 0\nPORT 5, VID 0\nPORT 6, VID 0\nPORT 7, VID 0\nPORT 8, VID 0\nPORT 9, VID 0\nPORT 10, VID 0\n", 141) = 141
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/trusted_port_list", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1168) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/set_vlan_allports_conf", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, ALLOWED_VLANS \"\", ALLOW_TAGGED_IN true, ALLOW_UNTAGGED_IN true, INGRESS_FILTER true, RADIUS_CAN_ASSIGN_VLAN true, PVID 1, UNTAGGED_VID 1\nPORT 2, ALLOWED_VLANS \"\", ALLOW_TAGGED_IN true, ALLOW_UNTAGGED_IN true, INGRESS_FILTER true, RADIUS_CAN_ASSIGN_VLAN true, PVID 1, UNTAGGED_VID 1\nPORT 3, ALLOWED_VLANS \"\", ALLOW_TAGGED_IN true, ALLOW_UNTAGGED_IN true, INGRESS_FILTER true, RADIUS_CAN_ASSIGN_VLAN true, PVID 1, UNTAGGED_VID 1\nPORT 4, ALLOWED_VLANS \"\", ALLOW_TAGGED_IN true, ALLOW_UNTAGGED_IN true, INGRESS_FILTER true, RADIUS_CAN_ASSIGN_VLAN true, PVID 1, UNTAGGED_VID 1\nPORT 5, ALLOWED_VLANS \"\", ALLOW_TAGGED_IN true, ALLOW_UNTAGGED_IN true, INGRESS_FILTER true, RADIUS_CAN_ASSIGN_VLAN true, PVID 1, UNTAGGED_VID 1\nPORT 6, ALLOWED_VLANS \"\", ALLOW_TAGGED_IN true, ALLOW_UNTAGGED_IN true, INGRESS_FILTER true, RADIUS_CAN_ASSIGN_VLAN true, PVID 1, UNTAGGED_VID 1\nPORT 7, ALLOWED_VLANS \"\", ALLOW_TAGGED_IN true, ALLOW_UNTAGGED_IN true, INGRESS_FILTER true, RADIUS_CAN_ASSIGN_VLAN true, PVID 1, UNTAGGED_VID 1\nPORT 8, A"..., 1451) = 1451
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
open("/click/sw0_ctrl/mirror_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
open("/click/sw0_ctrl/mirror_port", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/dhcp_relay/reset", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/l2_intfs/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "ips ", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/l2_intfs/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "vlans ", 6) = 6
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/l2_intfs/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/l2_dhcp_relay_sw/switch", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/l2_dhcp_relay_arp_sw/switch", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/igmp_querier/clear", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0f08) = -1 ENOENT (No such file or directory)
open("/click/acl_ip_filter/config", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "allow all", 9) = 9
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0f08) = -1 ENOENT (No such file or directory)
open("/click/sw0_ctrl/set_acl_rules", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "ipv4 allow all", 14) = 14
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fc8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/set_sflow_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1 true\n2 true\n3 true\n4 true\n5 true\n6 true\n7 true\n8 true\n9 true\n10 true\n", 71) = 71
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/set_local_stacking_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "none", 4) = 4
close(5) = 0
open("/MERAKI_MAC", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x10), st_ino=1770, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=18, st_atime=29 /* 1970-01-01T00:00:29.868952412+0000 */, st_atime_nsec=868952412, st_mtime=29 /* 1970-01-01T00:00:29.840952457+0000 */, st_mtime_nsec=840952457, st_ctime=29 /* 1970-01-01T00:00:29.840952457+0000 */, st_ctime_nsec=840952457}) = 0
read(5, "88:15:44:23:11:15\n", 19) = 18
read(5, "", 1) = 0
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/udld/set_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, ENABLED true, ENFORCING false\nPORT 2, ENABLED true, ENFORCING false\nPORT 3, ENABLED true, ENFORCING false\nPORT 4, ENABLED true, ENFORCING false\nPORT 5, ENABLED true, ENFORCING false\nPORT 6, ENABLED true, ENFORCING false\nPORT 7, ENABLED true, ENFORCING false\nPORT 8, ENABLED true, ENFORCING false\nPORT 9, ENABLED true, ENFORCING false\nPORT 10, ENABLED true, ENFORCING false\n", 381) = 381
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0f58) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/set_storm_control_meters", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/set_port_storm_control", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, ENABLED true\nPORT 2, ENABLED true\nPORT 3, ENABLED true\nPORT 4, ENABLED true\nPORT 5, ENABLED true\nPORT 6, ENABLED true\nPORT 7, ENABLED true\nPORT 8, ENABLED true\nPORT 9, ENABLED true\nPORT 10, ENABLED true\n", 211) = 211
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1100) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/set_port_isolation", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
socket(AF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
ioctl(5, SIOCGIFHWADDR, {ifr_name="intra_stack"}) = -1 ENODEV (No such device)
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="ip -6 addr add fd09:9b09:1f7:100:8a15:44ff:fe23:1115/64 dev lo;\nip -6 addr add fd09:9b09:1f7:100::1/64 dev lo;\n\n", iov_len=112}], 2ip -6 addr add fd09:9b09:1f7:100:8a15:44ff:fe23:1115/64 dev lo;
ip -6 addr add fd09:9b09:1f7:100::1/64 dev lo;
) = 112
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b38, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 574
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(574, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 574
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=574, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=207, tv_nsec=915964764}) = 0
sendto(4, "<5>Jan 1 00:03:27 brain: +ip -6 addr add fd09:9b09:1f7:100:8a15:44ff:fe23:1115/64 dev lo;\nip -6 addr add fd09:9b09:1f7:100::1/64 dev lo;\n", 138, 0, NULL, 0) = 138
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/set_dhcp_traffic_vlan_max/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "10", 2) = 2
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/configure_dhcp_blocker/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true true \"\"", 12) = 12
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1168) = -1 ENOENT (No such file or directory)
open("/click/uplink_dhcp_client/dhcp_hostname", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0fe0) = -1 ENOENT (No such file or directory)
open("/click/sw0_ctrl/aggr_conf", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "SMAC true, DMAC true, SIP_DIP true, SPORT_DPORT true", 52) = 52
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/set_network_id_hash/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/proc/vcoreiii_thermal/switch-primary/temp_warm", 0x7f9d1228) = -1 ENOENT (No such file or directory)
stat64("/proc/vcoreiii_thermal/switch-secondary/temp_warm", 0x7f9d1228) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/nat/common_switch_nat/from_sw0_filter/config", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "allow tcp dst port 22", 21) = 21
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/nat/common_switch_nat/from_sw0_filter6/config", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "allow tcp dst port 22", 21) = 21
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/set_switch_meraki_com_ip/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true 1.1.1.100", 14) = 14
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/nat/common_switch_nat/from_smc_filter/config", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "allow tcp dst port 80, deny all", 31) = 31
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/nat/common_switch_nat/from_mgmt_filter/config", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "deny all", 8) = 8
close(5) = 0
getpid() = 404
open("/tmp/last_port_phy_conf.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "PORT 1, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 2, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 3, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 4, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 5, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 6, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 7, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 8, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 9, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 10, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\n", 551) = 551
fdatasync(5) = 0
close(5) = 0
rename("/tmp/last_port_phy_conf.tmp_404", "/tmp/last_port_phy_conf") = 0
stat64("/usr/bin/click", 0x7f9d1008) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/set_port_phy_cfgs", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "PORT 1, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 2, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 3, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 4, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 5, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 6, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 7, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 8, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 9, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\nPORT 10, FC_OBEY false, EEE_ADV_ENABLED true, MODE aneg\n", 551) = 551
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/igmp_snoop/default_querier_interval_msec", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "125000", 6) = 6
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/igmp_querier/query_interval", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "125", 3) = 3
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/mld_snoop/default_querier_interval_msec", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "125000", 6) = 6
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/mld_querier/query_interval", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "125", 3) = 3
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/configure_igmp_snoop/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/init_l2_mcast_flood_ctrl/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/configure_mld_snoop/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/configure_ns_handling/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true true true", 14) = 14
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="ifconfig wired0 1.1.2.2 netmask 255.255.255.252;\nip route replace default dev wired0;\n\n", iov_len=87}], 2ifconfig wired0 1.1.2.2 netmask 255.255.255.252;
ip route replace default dev wired0;
) = 87
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0bc0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 577
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(577, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 577
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=577, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=208, tv_nsec=527670563}) = 0
sendto(4, "<5>Jan 1 00:03:28 brain: +ifconfig wired0 1.1.2.2 netmask 255.255.255.252;\nip route replace default dev wired0;\n", 113, 0, NULL, 0) = 113
stat64("/usr/bin/click", 0x7f9d1168) = -1 ENOENT (No such file or directory)
open("/click/set_internal_ip/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "1.1.2.2", 7) = 7
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall -q -SIGHUP hostapd\n\n", iov_len=28}], 2killall -q -SIGHUP hostapd
) = 28
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b80, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 580
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(580, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 580
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=580, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=208, tv_nsec=595595882}) = 0
sendto(4, "<5>Jan 1 00:03:28 brain: -killall -q -SIGHUP hostapd\n", 54, 0, NULL, 0) = 54
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b50, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 582
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(582, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 582
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=582, si_uid=0, si_status=1, si_utime=1, si_stime=3} ---
writev(1, [{iov_base="", iov_len=0}, {iov_base="ifconfig wired0 fd0a:9b09:1f7:10c1::2/64;\nip -6 route replace default dev wired0;\n\n", iov_len=83}], 2ifconfig wired0 fd0a:9b09:1f7:10c1::2/64;
ip -6 route replace default dev wired0;
) = 83
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0bc0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 583
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(583, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 583
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=583, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=209, tv_nsec=31913684}) = 0
sendto(4, "<5>Jan 1 00:03:29 brain: +ifconfig wired0 fd0a:9b09:1f7:10c1::2/64;\nip -6 route replace default dev wired0;\n", 109, 0, NULL, 0) = 109
stat64("/usr/bin/click", 0x7f9d1168) = -1 ENOENT (No such file or directory)
open("/click/set_internal_ip6/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "fd0a:9b09:1f7:10c1::2", 21) = 21
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall -q -SIGHUP hostapd\n\n", iov_len=28}], 2killall -q -SIGHUP hostapd
) = 28
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b80, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 586
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(586, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 586
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=586, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=209, tv_nsec=95595769}) = 0
sendto(4, "<5>Jan 1 00:03:29 brain: -killall -q -SIGHUP hostapd\n", 54, 0, NULL, 0) = 54
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall ms_start_dhcpd ms_dhcpd_sync\n", iov_len=37}], 2killall ms_start_dhcpd ms_dhcpd_sync
) = 37
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b48, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 588
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(588, killall: ms_start_dhcpd: no process killed
killall: ms_dhcpd_sync: no process killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0, NULL) = 588
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=588, si_uid=0, si_status=2, si_utime=1, si_stime=4} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=209, tv_nsec=173776897}) = 0
sendto(4, "<5>Jan 1 00:03:29 brain: -killall ms_start_dhcpd ms_dhcpd_sync\n", 64, 0, NULL, 0) = 64
_newselect(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
writev(1, [{iov_base="", iov_len=0}, {iov_base="touch /tmp/dhcpd.leases.unsafe_rotation\n", iov_len=40}], 2touch /tmp/dhcpd.leases.unsafe_rotation
) = 40
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0848, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 589
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(589, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 589
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=589, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=209, tv_nsec=306238182}) = 0
sendto(4, "<5>Jan 1 00:03:29 brain: +touch /tmp/dhcpd.leases.unsafe_rotation\n", 67, 0, NULL, 0) = 67
stat64("/tmp/dhcpd.leases.rotating", 0x7f9d0eb0) = -1 ENOENT (No such file or directory)
stat64("/var/run/dhcpd.pid", 0x7f9d0eb0) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/interface_announce/ival", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "100ms", 5) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/interface_announce/announce_count", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "3", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/arp_table/packet_capacity", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "100", 3) = 3
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1078) = -1 ENOENT (No such file or directory)
open("/click/arp_table/entry_packet_capacity", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "5", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/client_ip_table/set_vap_track_by_ip", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0 false", 7) = 7
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1070) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/enable_traffic_analysis_on_same_network_switch_ports", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "false", 5) = 5
close(5) = 0
stat64("/var/run/dnsmasq.host.pid", 0x7f9d1158) = -1 ENOENT (No such file or directory)
open("/etc/dnsmasq.host.conf", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "no-resolv\npid-file=/var/run/dnsmasq.host.pid\nport=53\nno-negcache\n", 65) = 65
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="dnsmasq -C /etc/dnsmasq.host.conf\n", iov_len=34}], 2dnsmasq -C /etc/dnsmasq.host.conf
) = 34
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0af0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 590
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(590, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 590
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=590, si_uid=0, si_status=0, si_utime=0, si_stime=2} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=209, tv_nsec=718485540}) = 0
sendto(4, "<5>Jan 1 00:03:29 brain: +dnsmasq -C /etc/dnsmasq.host.conf\n", 61, 0, NULL, 0) = 61
stat64("/usr/bin/click", 0x7f9d1190) = -1 ENOENT (No such file or directory)
open("/click/set_alt_conf/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "classifier_src_pattern \"false\"", 30) = 30
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1190) = -1 ENOENT (No such file or directory)
open("/click/set_alt_conf/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "classifier_dst_pattern \"false\"", 30) = 30
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1188) = -1 ENOENT (No such file or directory)
open("/click/set_alt_conf/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1118) = -1 ENOENT (No such file or directory)
open("/click/syslog_mgmt_vid_check/switch", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d10d8) = -1 ENOENT (No such file or directory)
open("/click/syslog_event_log/src_ip", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0.0.0.0", 7) = 7
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall bigacl_d\n", iov_len=17}], 2killall bigacl_d
) = 17
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ef0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 593
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(593, killall: bigacl_d: no process killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 593
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=593, si_uid=0, si_status=1, si_utime=0, si_stime=3} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=209, tv_nsec=799782290}) = 0
sendto(4, "<5>Jan 1 00:03:29 brain: -killall bigacl_d\n", 44, 0, NULL, 0) = 44
writev(1, [{iov_base="", iov_len=0}, {iov_base="bigacl_d >> /var/log/bigacl_d.log 2>&1 &\n", iov_len=41}], 2bigacl_d >> /var/log/bigacl_d.log 2>&1 &
) = 41
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ef0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 594
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(594, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 594
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=594, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=210, tv_nsec=158538097}) = 0
sendto(4, "<5>Jan 1 00:03:30 brain: +bigacl_d >> /var/log/bigacl_d.log 2>&1 &\n", 68, 0, NULL, 0) = 68
stat64("/storage/last_uplink_lport", 0x7f9d1558) = -1 ENOENT (No such file or directory)
getpid() = 404
open("/tmp/brain_state.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "wired0\n", 7) = 7
f[ 210.303000] !!!!! {/opt/bin/switch_brain} forkexec failed with status 2 cmd -killall mtunnel_client mtunnel_http_client
datasync(5) = 0
close(5) = 0
rename("/tmp/brain_state.tmp_404", "/tmp/brain_state") = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=210, tv_nsec=170724222}) = 0
sendto(4, "<4>Jan 1 00:03:30 brain: transitioning from init to gateway_check 0\n", 69, 0, NULL, 0) = 69
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RT_33 RT_35 RT_36 RT_40 RT_44 RT_48 RT_50 RT_51 RT_52 RT_53 RT_56 RT_57 RT_58 RT_59 RT_60 RT_61 RT_62 RT_63 RT_64 RT_69 RT_71 RT_72 RT_73 RT_74 RT_76 RT_80 RT_82 RT_85 RT_88 RT_89 RT_90 RT_91 RT_92 128], [CHLD], 16) = 0
fork() = 596
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(596, killall: mtunnel_client: no process killed
killall: mtunnel_http_client: no process killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0, NULL) = 596
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=596, si_uid=0, si_status=2, si_utime=2, si_stime=4} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=210, tv_nsec=285895706}) = 0
sendto(4, "<5>Jan 1 00:03:30 brain: -killall mtunnel_client mtunnel_http_client \n", 71, 0, NULL, 0) = 71
clock_gettime(CLOCK_REALTIME, {tv_sec=210, tv_nsec=288365152}) = 0
sendto(4, "<2>Jan 1 00:03:30 brain: forkexec failed with status 2 cmd -killall mtunnel_client mtunnel_http_client \n", 105, 0, NULL, 0) = 105
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x3), st_ino=2036, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_atime_nsec=877688679, st_mtime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_mtime_nsec=877688679, st_ctime=194 /* 1970-01-01T00:03:14.877688679+0000 */, st_ctime_nsec=877688679}) = 0
read(5, "/opt/bin/switch_", 16) = 16
read(5, "brain\0", 32) = 6
read(5, "", 26) = 0
close(5) = 0
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "!!!!! {/opt/bin/switch_brain} forkexec failed with status 2 cmd -killall mtunnel_client mtunnel_http_client \n", 109) = 109
close(5) = 0
_newselect(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=500000}) = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RT_33 RT_35 RT_36 RT_40 RT_44 RT_48 RT_50 RT_51 RT_52 RT_53 RT_56 RT_57 RT_58 RT_59 RT_60 RT_61 RT_62 RT_63 RT_64 RT_69 RT_71 RT_72 RT_73 RT_74 RT_76 RT_80 RT_82 RT_85 RT_88 RT_89 RT_90 RT_91 RT_92 128], [CHLD], 16) = 0
fork() = 605
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(605, killall: mtunnel_client: no process killed
killall: mtunnel_http_client: no process killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0, NULL) = 605
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=605, si_uid=0, si_status=2, si_utime=2, si_stime=3} ---
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0e40, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 609
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(609, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 609
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=609, si_uid=0, si_status=127, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=211, tv_nsec=6942952}) = 0
sendto(4, "<5>Jan 1 00:03:31 brain: -/usr/bin/mtunnel_client -k KEY_REDACTED -i KEY_ID_REDACTED \"mtunnel.meraki.com\" \"64.62.142.12\" >> /var/log/mtunnel.log 2>&1 &\n/usr/bin/mtunnel_http_client -d >> /var/log/mtunnel_http.log 2>&1\n", 219, 0, NULL, 0) = 219
writev(1, [{iov_base="", iov_len=0}, {iov_base="connection_monitor >> /var/log/connection_monitor.log 2>&1 &\n", iov_len=61}], 2connection_monitor >> /var/log/connection_monitor.log 2>&1 &
) = 61
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0ef0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 613
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(613, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 613
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=613, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=211, tv_nsec=58427709}) = 0
sendto(4, "<5>Jan 1 00:03:31 brain: +connection_monitor >> /var/log/connection_monitor.log 2>&1 &\n", 88, 0, NULL, 0) = 88
stat64("/usr/bin/click", 0x7f9d13a0) = -1 ENOENT (No such file or directory)
open("/click/client_ip_table/clear", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/var/run/dnsmasq.host.pid", {st_dev=makedev(0, 0xe), st_ino=2543, st_mode=S_IFREG|0644, st_nlink=1, st_uid=65534, st_gid=65534, st_blksize=4096, st_blocks=8, st_size=4, st_atime=209 /* 1970-01-01T00:03:29.707664977+0000 */, st_atime_nsec=707664977, st_mtime=209 /* 1970-01-01T00:03:29.707664977+0000 */, st_mtime_nsec=707664977, st_ctime=209 /* 1970-01-01T00:03:29.707664977+0000 */, st_ctime_nsec=707664977}) = 0
open("/var/run/dnsmasq.host.pid", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0xe), st_ino=2543, st_mode=S_IFREG|0644, st_nlink=1, st_uid=65534, st_gid=65534, st_blksize=4096, st_blocks=8, st_size=4, st_atime=209 /* 1970-01-01T00:03:29.707664977+0000 */, st_atime_nsec=707664977, st_mtime=209 /* 1970-01-01T00:03:29.707664977+0000 */, st_mtime_nsec=707664977, st_ctime=209 /* 1970-01-01T00:03:29.707664977+0000 */, st_ctime_nsec=707664977}) = 0
read(5, "592\n", 5) = 4
read(5, "", 1) = 0
close(5) = 0
open("/var/run/dnsmasq.host.pid", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0xe), st_ino=2543, st_mode=S_IFREG|0644, st_nlink=1, st_uid=65534, st_gid=65534, st_blksize=4096, st_blocks=8, st_size=4, st_atime=211 /* 1970-01-01T00:03:31.079662784+0000 */, st_atime_nsec=79662784, st_mtime=209 /* 1970-01-01T00:03:29.707664977+0000 */, st_mtime_nsec=707664977, st_ctime=209 /* 1970-01-01T00:03:29.707664977+0000 */, st_ctime_nsec=707664977}) = 0
read(5, "592\n", 5) = 4
read(5, "", 1) = 0
close(5) = 0
kill(592, SIGTERM) = 0
_newselect(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
unlink("/var/run/dnsmasq.host.pid") = 0
open("/etc/dnsmasq.host.conf", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "no-resolv\npid-file=/var/run/dnsmasq.host.pid\nport=53\nno-negcache\n", 65) = 65
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="dnsmasq -C /etc/dnsmasq.host.conf\n", iov_len=34}], 2dnsmasq -C /etc/dnsmasq.host.conf
) = 34
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0d08, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 616
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(616, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 616
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=616, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=211, tv_nsec=247304598}) = 0
sendto(4, "<5>Jan 1 00:03:31 brain: +dnsmasq -C /etc/dnsmasq.host.conf\n", 61, 0, NULL, 0) = 61
clock_gettime(CLOCK_MONOTONIC, {tv_sec=211, tv_nsec=255262394}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=211, tv_nsec=255848325}) = 0
getpid() = 404
open("/tmp/brain_dump.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "_s gateway_check 0\n_gw_devno 0\n_channel -1 (+0)\n_dhcp_cli_only [true]\n_last_transition 10.935688\n_last_scan 100211.255848\n_last_conf_change 15.997291\n", 187) = 187
fdatasync(5) = 0
close(5) = 0
rename("/tmp/brain_dump.tmp_404", "/tmp/brain_dump") = 0
stat64("/usr/bin/click", 0x7f9d13a8) = -1 ENOENT (No such file or directory)
open("/click/mtun_client_state/update_node_state", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "gateway_check 0", 15) = 15
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=211 /* 1970-01-01T00:03:31.598661954+0000 */, st_atime_nsec=598661954, st_mtime=211 /* 1970-01-01T00:03:31.598661954+0000 */, st_mtime_nsec=598661954, st_ctime=211 /* 1970-01-01T00:03:31.598661954+0000 */, st_ctime_nsec=598661954}) = 0
read(5, "{}\n", 16) = 3
read(5, "", 13) = 0
close(5) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=211, tv_nsec=604533213}) = 0
sendto(4, "<7>Jan 1 00:03:31 brain: [do_uplink_stuff] device does not have any uplink information\n", 88, 0, NULL, 0) = 88
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
open("/tmp/BOOTLOOP_STATE", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/storage/config", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/storage/config.failsafe", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/storage/config.local", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/tmp/config.tmp", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/tmp/bird_routes_export", 0x7f9d1320) = -1 ENOENT (No such file or directory)
unlink("/tmp/brain_force_init") = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=211 /* 1970-01-01T00:03:31.619661921+0000 */, st_atime_nsec=619661921, st_mtime=211 /* 1970-01-01T00:03:31.619661921+0000 */, st_mtime_nsec=619661921, st_ctime=211 /* 1970-01-01T00:03:31.619661921+0000 */, st_ctime_nsec=619661921}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d1368) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/switch_neighbor_ports", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2213871907, st_mode=S_IFREG|0664, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=211 /* 1970-01-01T00:03:31.627661908+0000 */, st_atime_nsec=627661908, st_mtime=211 /* 1970-01-01T00:03:31.627661908+0000 */, st_mtime_nsec=627661908, st_ctime=211 /* 1970-01-01T00:03:31.627661908+0000 */, st_ctime_nsec=627661908}) = 0
read(5, "port meraki_swit", 16) = 16
read(5, "ch_neighbor\n 1 ", 32) = 32
read(5, " 0\n 2 0\n 3 0\n", 64) = 64
read(5, " 4 0\n 5 0\n 6 0\n 7 0\n 8 ", 128) = 128
read(5, " 0\n 9 0\n 10 0\n", 256) = 68
read(5, "", 188) = 0
close(5) = 0
semop(0, [{0, -1, 0}], 1) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f4) = 1
semop(0, [{0, 1, 0}], 1) = 0
semop(0, [{0, -1, 0}], 1) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f4) = 1
semop(0, [{0, 1, 0}], 1) = 0
semop(0, [{0, -1, 0}], 1) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f4) = 1
semop(0, [{0, 1, 0}], 1) = 0
semop(0, [{0, -1, 0}], 1) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f4) = 1
semop(0, [{0, 1, 0}], 1) = 0
semop(0, [{0, -1, 0}], 1) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f4) = 1
semop(0, [{0, 1, 0}], 1) = 0
semop(0, [{0, -1, 0}], 1) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f4) = 1
semop(0, [{0, 1, 0}], 1) = 0
semop(0, [{0, -1, 0}], 1) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f4) = 1
semop(0, [{0, 1, 0}], 1) = 0
semop(0, [{0, -1, 0}], 1) = 0
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f0) = 2
ioctl(3, _IOC(0, 0x7, 0x7, 0), 0x7f9d14f4) = 1
semop(0, [{0, 1, 0}], 1) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=212, tv_nsec=14828685}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = 0
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = 0
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=212, tv_nsec=23303512}) = 0
sendto(4, "<4>Jan 1 00:03:32 brain: do_state:119: assigning brain state: gateway_good 0; reason: \n", 88, 0, NULL, 0) = 88
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
getpid() = 404
open("/tmp/brain_state.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "wired0\n", 7) = 7
fdatasync(5) = 0
close(5) = 0
rename("/tmp/brain_state.tmp_404", "/tmp/brain_state") = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=212, tv_nsec=35706592}) = 0
sendto(4, "<4>Jan 1 00:03:32 brain: transitioning from gateway_check 0 to gateway_good 0\n", 79, 0, NULL, 0) = 79
unlink("/tmp/disable_gwcheck_0") = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=212, tv_nsec=43700934}) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=212 /* 1970-01-01T00:03:32.044661241+0000 */, st_atime_nsec=44661241, st_mtime=212 /* 1970-01-01T00:03:32.044661241+0000 */, st_mtime_nsec=44661241, st_ctime=212 /* 1970-01-01T00:03:32.044661241+0000 */, st_ctime_nsec=44661241}) = 0
read(5, "{}\n", 16) = 3
read(5, "", 13) = 0
close(5) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=212, tv_nsec=50987733}) = 0
sendto(4, "<7>Jan 1 00:03:32 brain: [do_uplink_stuff] device does not have any uplink information\n", 88, 0, NULL, 0) = 88
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=212 /* 1970-01-01T00:03:32.054661225+0000 */, st_atime_nsec=54661225, st_mtime=212 /* 1970-01-01T00:03:32.054661225+0000 */, st_mtime_nsec=54661225, st_ctime=212 /* 1970-01-01T00:03:32.054661225+0000 */, st_ctime_nsec=54661225}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=212, tv_nsec=62774113}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = -1 EEXIST (File exists)
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = -1 EEXIST (File exists)
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
_newselect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=213, tv_nsec=411686148}) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=213 /* 1970-01-01T00:03:33.412659055+0000 */, st_atime_nsec=412659055, st_mtime=213 /* 1970-01-01T00:03:33.412659055+0000 */, st_mtime_nsec=412659055, st_ctime=213 /* 1970-01-01T00:03:33.412659055+0000 */, st_ctime_nsec=412659055}) = 0
read(5, "{}\n", 16) = 3
read(5, "", 13) = 0
close(5) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=213, tv_nsec=418942865}) = 0
sendto(4, "<7>Jan 1 00:03:33 brain: [do_uplink_stuff] device does not have any uplink information\n", 88, 0, NULL, 0) = 88
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=213 /* 1970-01-01T00:03:33.422659039+0000 */, st_atime_nsec=422659039, st_mtime=213 /* 1970-01-01T00:03:33.422659039+0000 */, st_mtime_nsec=422659039, st_ctime=213 /* 1970-01-01T00:03:33.422659039+0000 */, st_ctime_nsec=422659039}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=213, tv_nsec=430674559}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = -1 EEXIST (File exists)
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = -1 EEXIST (File exists)
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
_newselect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=214, tv_nsec=446720613}) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=214 /* 1970-01-01T00:03:34.447657401+0000 */, st_atime_nsec=447657401, st_mtime=214 /* 1970-01-01T00:03:34.447657401+0000 */, st_mtime_nsec=447657401, st_ctime=214 /* 1970-01-01T00:03:34.447657401+0000 */, st_ctime_nsec=447657401}) = 0
read(5, "{}\n", 16) = 3
read(5, "", 13) = 0
close(5) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=214, tv_nsec=454219826}) = 0
sendto(4, "<7>Jan 1 00:03:34 brain: [do_uplink_stuff] device does not have any uplink information\n", 88, 0, NULL, 0) = 88
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=214 /* 1970-01-01T00:03:34.458657383+0000 */, st_atime_nsec=458657383, st_mtime=214 /* 1970-01-01T00:03:34.458657383+0000 */, st_mtime_nsec=458657383, st_ctime=214 /* 1970-01-01T00:03:34.458657383+0000 */, st_ctime_nsec=458657383}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=214, tv_nsec=466327860}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = -1 EEXIST (File exists)
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = -1 EEXIST (File exists)
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
_newselect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=215, tv_nsec=481510145}) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=215 /* 1970-01-01T00:03:35.482655746+0000 */, st_atime_nsec=482655746, st_mtime=215 /* 1970-01-01T00:03:35.482655746+0000 */, st_mtime_nsec=482655746, st_ctime=215 /* 1970-01-01T00:03:35.482655746+0000 */, st_ctime_nsec=482655746}) = 0
read(5, "{}\n", 16) = 3
read(5, "", 13) = 0
close(5) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=215, tv_nsec=488850986}) = 0
sendto(4, "<7>Jan 1 00:03:35 brain: [do_uplink_stuff] device does not have any uplink information\n", 88, 0, NULL, 0) = 88
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=215 /* 1970-01-01T00:03:35.493655729+0000 */, st_atime_nsec=493655729, st_mtime=215 /* 1970-01-01T00:03:35.493655729+0000 */, st_mtime_nsec=493655729, st_ctime=215 /* 1970-01-01T00:03:35.493655729+0000 */, st_ctime_nsec=493655729}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=215, tv_nsec=500912671}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = -1 EEXIST (File exists)
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = -1 EEXIST (File exists)
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
_newselect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=216, tv_nsec=519318396}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=216, tv_nsec=519907716}) = 0
getpid() = 404
open("/tmp/brain_dump.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "_s gateway_good 0\n_gw_devno 0\n_channel -1 (+0)\n_dhcp_cli_only [true]\n_last_transition 4.505079\n_last_scan 100216.519907\n_last_conf_change 21.261350\n", 185) = 185
fdatasync(5) = 0
close(5) = 0
rename("/tmp/brain_dump.tmp_404", "/tmp/brain_dump") = 0
stat64("/usr/bin/click", 0x7f9d13a8) = -1 ENOENT (No such file or directory)
open("/click/mtun_client_state/update_node_state", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "gateway_good 0", 14) = 14
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=216 /* 1970-01-01T00:03:36.530654071+0000 */, st_atime_nsec=530654071, st_mtime=216 /* 1970-01-01T00:03:36.530654071+0000 */, st_mtime_nsec=530654071, st_ctime=216 /* 1970-01-01T00:03:36.530654071+0000 */, st_ctime_nsec=530654071}) = 0
read(5, "{}\n", 16) = 3
read(5, "", 13) = 0
close(5) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=216, tv_nsec=536964267}) = 0
sendto(4, "<7>Jan 1 00:03:36 brain: [do_uplink_stuff] device does not have any uplink information\n", 88, 0, NULL, 0) = 88
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
open("/tmp/BOOTLOOP_STATE", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/storage/config", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/storage/config.failsafe", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/storage/config.local", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/tmp/config.tmp", 0x7f9d12c8) = -1 ENOENT (No such file or directory)
stat64("/tmp/bird_routes_export", 0x7f9d1320) = -1 ENOENT (No such file or directory)
unlink("/tmp/brain_force_init") = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=216 /* 1970-01-01T00:03:36.551654038+0000 */, st_atime_nsec=551654038, st_mtime=216 /* 1970-01-01T00:03:36.551654038+0000 */, st_mtime_nsec=551654038, st_ctime=216 /* 1970-01-01T00:03:36.551654038+0000 */, st_ctime_nsec=551654038}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=216, tv_nsec=559534227}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = -1 EEXIST (File exists)
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = -1 EEXIST (File exists)
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
_newselect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=217, tv_nsec=575534988}) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=217 /* 1970-01-01T00:03:37.576652400+0000 */, st_atime_nsec=576652400, st_mtime=217 /* 1970-01-01T00:03:37.576652400+0000 */, st_mtime_nsec=576652400, st_ctime=217 /* 1970-01-01T00:03:37.576652400+0000 */, st_ctime_nsec=576652400}) = 0
read(5, "{}\n", 16) = 3
read(5, "", 13) = 0
close(5) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=217, tv_nsec=582869384}) = 0
sendto(4, "<7>Jan 1 00:03:37 brain: [do_uplink_stuff] device does not have any uplink information\n", 88, 0, NULL, 0) = 88
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=217 /* 1970-01-01T00:03:37.587652382+0000 */, st_atime_nsec=587652382, st_mtime=217 /* 1970-01-01T00:03:37.587652382+0000 */, st_mtime_nsec=587652382, st_ctime=217 /* 1970-01-01T00:03:37.587652382+0000 */, st_ctime_nsec=587652382}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=217, tv_nsec=594936588}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = -1 EEXIST (File exists)
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = -1 EEXIST (File exists)
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
_newselect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=218, tv_nsec=610974521}) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=218 /* 1970-01-01T00:03:38.612650744+0000 */, st_atime_nsec=612650744, st_mtime=218 /* 1970-01-01T00:03:38.612650744+0000 */, st_mtime_nsec=612650744, st_ctime=218 /* 1970-01-01T00:03:38.612650744+0000 */, st_ctime_nsec=612650744}) = 0
read(5, "{}\n", 16) = 3
read(5, "", 13) = 0
close(5) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=218, tv_nsec=618420411}) = 0
sendto(4, "<7>Jan 1 00:03:38 brain: [do_uplink_stuff] device does not have any uplink information\n", 88, 0, NULL, 0) = 88
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=218 /* 1970-01-01T00:03:38.622650728+0000 */, st_atime_nsec=622650728, st_mtime=218 /* 1970-01-01T00:03:38.622650728+0000 */, st_mtime_nsec=622650728, st_ctime=218 /* 1970-01-01T00:03:38.622650728+0000 */, st_ctime_nsec=622650728}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=218, tv_nsec=630504013}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = -1 EEXIST (File exists)
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = -1 EEXIST (File exists)
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
_newselect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=219, tv_nsec=646558050}) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime[ 219.678000] ethernet_port wired0, ip 10.10.10.20, netmask 255.0.0.0, gw 10.10.10.1, mtu 1500, bcast 10.255.255.255, dns1 10.10.10.1, vid 1, static_ip_failover false, dhcp_vlan_failover false
=219 /* 1970-01-01T00:03:39.647649090+0000 */, st_atime_nsec=647649090, st_mtime=219 /* 1970-01-01T00:03:39.647649090+0000 */, st_mtime_nsec=647649090, st_ctime=219 /* 1970-01-01T00:03:39.647649090+0000 */, st_ctime_nsec=647649090}) = 0
read(5, "{\"ip4\":{\"vid\":1,", 16) = 16
read(5, "\"ip\":\"10.10.10.20\",\"netmask\":\"25", 32) = 32
read(5, "5.0.0.0\",\"gw\":\"10.10.10.1\",\"bcast\":\"10.255.255.255\",\"mtu\":0,\"dns", 64) = 64
read([ 219.734000] ethernet_port wired0, ip6local fe80::8a15:44ff:fe23:1115, ip6 ::/0, gw ::, mtu 1500, vid 0
5, "\":[\"10.10.10.1\"],\"is_static\":false,\"conf_good\":true,\"static_ip_failover\":false,\"dhcp_vlan_failover\":false}}\n", 128) = 108
read(5, "", 20) = 0
close(5) = 0
getpid() = 404
open("/storage/lastdhcpip_wired0.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = -1 EROFS (Read-only file system)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="opening /storage/lastdhcpip_wired0.tmp_404 failed!", iov_len=50}], 1opening /storage/lastdhcpip_wired0.tmp_404 failed!) = 50
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="Read-only file system", iov_len=21}], 2Read-only file system) = 21
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
getpid() = 404
open("/tmp/gateway_configuration_json_wired0.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "{\"ip4\":{\"vid\":1,\"ip\":\"10.10.10.20\",\"netmask\":\"255.0.0.0\",\"gw\":\"10.10.10.1\",\"bcast\":\"10.255.255.255\",\"mtu\":0,\"dns\":[\"10.10.10.1\"],\"is_static\":false,\"conf_good\":true,\"static_ip_failover\":false,\"dhcp_vlan_failover\":false},\"ip6\":null,\"ethernet_port\":\"wired0\"}", 255) = 255
fdatasync(5) = 0
close(5) = 0
rename("/tmp/gateway_configuration_json_wired0.tmp_404", "/tmp/gateway_configuration_json_wired0") = 0
getpid() = 404
open("/tmp/gateway_configuration_wired0.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "ethernet_port wired0\nip 10.10.10.20\nnetmask 255.0.0.0\ngw 10.10.10.1\nmtu 1500\nbcast 10.255.255.255\ndns1 10.10.10.1\nvid 1\nstatic_ip_failover false\ndhcp_vlan_failover false\n", 170) = 170
fdatasync(5) = 0
close(5) = 0
rename("/tmp/gateway_configuration_wired0.tmp_404", "/tmp/gateway_configuration_wired0") = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=219, tv_nsec=674362746}) = 0
sendto(4, "<4>Jan 1 00:03:39 brain: ip config: ethernet_port wired0, ip 10.10.10.20, netmask 255.0.0.0, gw 10.10.10.1, mtu 1500, bcast 10.255.255.255, dns1 10.10.10.1, vid 1, static_ip_failover false, dhcp_vlan_failover false\n", 216, 0, NULL, 0) = 216
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "ethernet_port wired0, ip 10.10.10.20, netmask 255.0.0.0, gw 10.10.10.1, mtu 1500, bcast 10.255.255.255, dns1 10.10.10.1, vid 1, static_ip_failover false, dhcp_vlan_failover false\n", 179) = 179
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0de8) = -1 ENOENT (No such file or directory)
open("/click/set_host_ip/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "10.10.10.20 255.0.0.0 10.10.10.1 1500 10.255.255.255 1", 54) = 54
close(5) = 0
getpid() = 404
open("/tmp/gateway6_configuration_wired0.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "ethernet_port wired0\nip6local fe80::8a15:44ff:fe23:1115\nip6 ::/0\ngw ::\nmtu 1500\nvid 0\n", 86) = 86
fdatasync(5) = 0
close(5) = 0
rename("/tmp/gateway6_configuration_wired0.tmp_404", "/tmp/gateway6_configuration_wired0") = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=219, tv_nsec=731206323}) = 0
sendto(4, "<4>Jan 1 00:03:39 brain: ip6 config: ethernet_port wired0, ip6local fe80::8a15:44ff:fe23:1115, ip6 ::/0, gw ::, mtu 1500, vid 0\n", 129, 0, NULL, 0) = 129
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "ethernet_port wired0, ip6local fe80::8a15:44ff:fe23:1115, ip6 ::/0, gw ::, mtu 1500, vid 0\n", 91) = 91
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0dd8) = -1 ENOENT (No such file or directory)
open("/click/set_host_ip6/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "fe80::8a15:44ff:fe23:1115 :: 0 :: 1500 0", 40) = 40
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0ea8) = -1 ENOENT (No such file or directory)
open("/click/mtun1_srv_state/reset", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0ea8) = -1 ENOENT (No such file or directory)
open("/click/mtun2_srv_state/reset", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0ea8) = -1 ENOENT (No such file or directory)
open("/click/mtun1_hello_gen/poke", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0ea8) = -1 ENOENT (No such file or directory)
open("/click/mtun2_hello_gen/poke", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RT_33 RT_35 RT_36 RT_40 RT_44 RT_48 RT_50 RT_51 RT_52 RT_53 RT_56 RT_57 RT_58 RT_59 RT_60 RT_61 RT_62 RT_63 RT_64 RT_69 RT_71 RT_72 RT_73 RT_74 RT_76 RT_80 RT_82 RT_85 RT_88 RT_89 RT_90 RT_91 RT_92 128], [CHLD], 16) = 0
fork() = 619
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(619, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 619
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=619, si_uid=0, si_status=1, si_utime=1, si_stime=2} ---
stat64("/usr/bin/click", 0x7f9d0ea8) = -1 ENOENT (No such file or directory)
open("/click/mtun_client_state/static_ip_failover", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0ea8) = -1 ENOENT (No such file or directory)
open("/click/mtun_client_state/dhcp_vlan_failover", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/var/run/dnsmasq.host.pid", {st_dev=makedev(0, 0xe), st_ino=2619, st_mode=S_IFREG|0644, st_nlink=1, st_uid=65534, st_gid=65534, st_blksize=4096, st_blocks=8, st_size=4, st_atime=211 /* 1970-01-01T00:03:31.236662533+0000 */, st_atime_nsec=236662533, st_mtime=211 /* 1970-01-01T00:03:31.237662531+0000 */, st_mtime_nsec=237662531, st_ctime=211 /* 1970-01-01T00:03:31.237662531+0000 */, st_ctime_nsec=237662531}) = 0
open("/var/run/dnsmasq.host.pid", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0xe), st_ino=2619, st_mode=S_IFREG|0644, st_nlink=1, st_uid=65534, st_gid=65534, st_blksize=4096, st_blocks=8, st_size=4, st_atime=211 /* 1970-01-01T00:03:31.236662533+0000 */, st_atime_nsec=236662533, st_mtime=211 /* 1970-01-01T00:03:31.237662531+0000 */, st_mtime_nsec=237662531, st_ctime=211 /* 1970-01-01T00:03:31.237662531+0000 */, st_ctime_nsec=237662531}) = 0
read(5, "618\n", 5) = 4
read(5, "", 1) = 0
close(5) = 0
open("/var/run/dnsmasq.host.pid", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0xe), st_ino=2619, st_mode=S_IFREG|0644, st_nlink=1, st_uid=65534, st_gid=65534, st_blksize=4096, st_blocks=8, st_size=4, st_atime=220 /* 1970-01-01T00:03:40.163648265+0000 */, st_atime_nsec=163648265, st_mtime=211 /* 1970-01-01T00:03:31.237662531+0000 */, st_mtime_nsec=237662531, st_ctime=211 /* 1970-01-01T00:03:31.237662531+0000 */, st_ctime_nsec=237662531}) = 0
read(5, "618\n", 5) = 4
read(5, "", 1) = 0
close(5) = 0
kill(618, SIGTERM) = 0
_newselect(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
unlink("/var/run/dnsmasq.host.pid") = 0
open("/etc/dnsmasq.host.conf", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "no-resolv\npid-file=/var/run/dnsmasq.host.pid\nport=53\nno-negcache\nserver=10.10.10.1\n", 83) = 83
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="dnsmasq -C /etc/dnsmasq.host.conf\n", iov_len=34}], 2dnsmasq -C /etc/dnsmasq.host.conf
) = 34
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0718, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 620
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(620, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 620
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=620, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=220, tv_nsec=329764803}) = 0
sendto(4, "<5>Jan 1 00:03:40 brain: +dnsmasq -C /etc/dnsmasq.host.conf\n", 61, 0, NULL, 0) = 61
open("/storage/last_good_uplink_config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
getpid() = 404
open("/storage/last_good_uplink_config.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = -1 EROFS (Read-only file system)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="opening /storage/last_good_uplink_config.tmp_404 failed!", iov_len=56}], 1opening /storage/last_good_uplink_config.tmp_404 failed!) = 56
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="Read-only file system", iov_len=21}], 2Read-only file system) = 21
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
getpid() = 404
open("/tmp/gateway_configuration_wired0.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "ethernet_port wired0\nip 10.10.10.20\nnetmask 255.0.0.0\ngw 10.10.10.1\nmtu 1500\nbcast 10.255.255.255\ndns1 10.10.10.1\nvid 1\nstatic_ip_failover false\ndhcp_vlan_failover false\n", 170) = 170
fdatasync(5) = 0
close(5) = 0
rename("/tmp/gatewa[ 220.681000] ethernet_port wired0, ip 10.10.10.20, netmask 255.0.0.0, gw 10.10.10.1, mtu 1500, bcast 10.255.255.255, dns1 10.10.10.1, vid 1, static_ip_failover false, dhcp_vlan_failover false
y_configuration_wired0.tmp_404", "/tmp/gateway_configuration_wired0") = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=220, tv_nsec=345518859}) = 0
sendto(4, "<4>Jan 1 00:03:40 brain: ip config: ethernet_port wired0, ip 10.10.10.20, netmask 255.0.0.0, gw 10.10.10.1, mtu 1500, bcast 10.255.255.255, dns1 10.10.10.1, vid 1, static_ip_failover false, dhcp_vlan_failover false\n", 216, 0, NULL, 0) = 216
open("/dev/kmsg", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "ethernet_port wired0, ip 10.10.10.20, netmask 255.0.0.0, gw 10.10.10.1, mtu 1500, bcast 10.255.255.255, dns1 10.10.10.1, vid 1, static_ip_failover false, dhcp_vlan_failover false\n", 179) = 179
close(5) = 0
stat64("/usr/bin/click", 0x7f9d13d8) = -1 ENOENT (No such file or directory)
open("/click/set_host_ip/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "10.10.10.20 255.0.0.0 10.10.10.1 1500 10.255.255.255 1", 54) = 54
close(5) = 0
stat64("/usr/bin/click", 0x7f9d13a8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/have_network_connection", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
brk(0x4ce000) = 0x4ce000
unlink("/tmp/alt_mgmt_configuration") = -1 ENOENT (No such file or directory)
open("/etc/hostapd.0.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.0.cfg", iov_len=31}], 1reading file /etc/hostapd.0.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.1.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.1.cfg", iov_len=31}], 1reading file /etc/hostapd.1.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.2.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.2.cfg", iov_len=31}], 1reading file /etc/hostapd.2.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.3.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.3.cfg", iov_len=31}], 1reading file /etc/hostapd.3.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.4.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.4.cfg", iov_len=31}], 1reading file /etc/hostapd.4.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.5.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.5.cfg", iov_len=31}], 1reading file /etc/hostapd.5.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.6.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.6.cfg", iov_len=31}], 1reading file /etc/hostapd.6.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.7.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.7.cfg", iov_len=31}], 1reading file /etc/hostapd.7.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
open("/etc/hostapd.8.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /etc/hostapd.8.cfg", iov_len=31}], 1reading file /etc/hostapd.8.cfg) = 31
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/usr/bin/click", 0x7f9d1280) = -1 ENOENT (No such file or directory)
open("/click/set_alt_conf/set", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "route_ip 1.1.2.2", 16) = 16
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1278) = -1 ENOENT (No such file or directory)
open("/click/set_alt_conf/run", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
close(5) = 0
madvise(0x4a1000, 180224, MADV_DONTNEED) = 0
stat64("/usr/bin/click", 0x7f9d1330) = -1 ENOENT (No such file or directory)
open("/click/syslog_mgmt_vid_check/switch", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "0", 1) = 1
close(5) = 0
stat64("/usr/bin/click", 0x7f9d12f0) = -1 ENOENT (No such file or directory)
open("/click/syslog_event_log/src_ip", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "10.10.10.20", 11) = 11
close(5) = 0
madvise(0x4a1000, 180224, MADV_DONTNEED) = 0
stat64("/usr/bin/click", 0x7f9d13a8) = -1 ENOENT (No such file or directory)
open("/click/wan0_resolver/dst", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "10.10.10.1", 10) = 10
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1370) = -1 ENOENT (No such file or directory)
open("/click/wan0_pinger/active", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1370) = -1 ENOENT (No such file or directory)
open("/click/wan0_pinger/reset", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1370) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/reset", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1370) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_lookup/active", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1370) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_nxlookup/reset", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
stat64("/usr/bin/click", 0x7f9d1370) = -1 ENOENT (No such file or directory)
open("/click/wan0_dns_nxlookup/active", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "true", 4) = 4
close(5) = 0
writev(1, [{iov_base="", iov_len=0}, {iov_base="killall ms_start_dhcpd ms_dhcpd_sync\n", iov_len=37}], 2killall ms_start_dhcpd ms_dhcpd_sync
) = 37
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0e78, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 623
close(6) = 0
killall: ms_start_dhcpd: no process killed
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(623, killall: ms_dhcpd_sync: no process killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0, NULL) = 623
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=623, si_uid=0, si_status=2, si_utime=1, si_stime=4} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=221, tv_nsec=553951597}) = 0
sendto(4, "<5>Jan 1 00:03:41 brain: -killall ms_start_dhcpd ms_dhcpd_sync\n", 64, 0, NULL, 0) = 64
_newselect(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
writev(1, [{iov_base="", iov_len=0}, {iov_base="touch /tmp/dhcpd.leases.unsafe_rotation\n", iov_len=40}], 2touch /tmp/dhcpd.leases.unsafe_rotation
) = 40
rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, 16) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 16) = 0
pipe2([5, 6], O_CLOEXEC) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [CHLD], 16) = 0
clone(child_stack=0x7f9d0b78, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 624
close(6) = 0
read(5, "", 4) = 0
close(5) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 16) = 0
wait4(624, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 624
rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0x4000000 /* SA_??? */}, NULL, 16) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=624, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
clock_gettime(CLOCK_REALTIME, {tv_sec=221, tv_nsec=688337389}) = 0
sendto(4, "<5>Jan 1 00:03:41 brain: +touch /tmp/dhcpd.leases.unsafe_rotation\n", 67, 0, NULL, 0) = 67
stat64("/tmp/dhcpd.leases.rotating", 0x7f9d11e0) = -1 ENOENT (No such file or directory)
stat64("/var/run/dhcpd.pid", 0x7f9d11e0) = -1 ENOENT (No such file or directory)
stat64("/tmp/restart_dhcpd", 0x7f9d1558) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/click", 0x7f9d13f8) = -1 ENOENT (No such file or directory)
open("/click/switch_port_table/dump_stack_info_and_reset_stack_change", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2212299043, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=221 /* 1970-01-01T00:03:41.694645818+0000 */, st_atime_nsec=694645818, st_mtime=221 /* 1970-01-01T00:03:41.694645818+0000 */, st_mtime_nsec=694645818, st_ctime=221 /* 1970-01-01T00:03:41.694645818+0000 */, st_ctime_nsec=694645818}) = 0
read(5, "false\nmaster\n0 8", 16) = 16
read(5, "8:15:44:23:11:15 10\n", 32) = 20
read(5, "", 12) = 0
close(5) = 0
open("/tmp/switch_brain_disable_ports/", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=221, tv_nsec=702223098}) = 0
symlink("/tmp/gateway_configuration_wired0", "/tmp/gateway_configuration") = -1 EEXIST (File exists)
symlink("/tmp/gateway_configuration_json_wired0", "/tmp/gateway_configuration_json") = -1 EEXIST (File exists)
open("/tmp/connection_state", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
writev(2, [{iov_base="switch_brain: ", iov_len=14}], 1switch_brain: ) = 14
writev(2, [{iov_base="reading file /tmp/connection_state", iov_len=34}], 1reading file /tmp/connection_state) = 34
writev(2, [{iov_base="", iov_len=0}, {iov_base=": ", iov_len=2}], 2: ) = 2
writev(2, [{iov_base="", iov_len=0}, {iov_base="No such file or directory", iov_len=25}], 2No such file or directory) = 25
writev(2, [{iov_base="", iov_len=0}, {iov_base="\n", iov_len=1}], 2
) = 1
stat64("/tmp/connection_state", 0x7f9d1558) = -1 ENOENT (No such file or directory)
_newselect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=222, tv_nsec=718646303}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=222, tv_nsec=719382287}) = 0
getpid() = 404
open("/tmp/brain_dump.tmp_404", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 5
write(5, "_s gateway_good 0\n_gw_devno 0\n_channel -1 (+0)\n_dhcp_cli_only [true]\n_last_transition 10.704554\n_last_scan 100222.719382\n_last_conf_change 27.460825\n", 186) = 186
fdatasync(5) = 0
close(5) = 0
rename("/tmp/brain_dump.tmp_404", "/tmp/brain_dump") = 0
stat64("/usr/bin/click", 0x7f9d13a8) = -1 ENOENT (No such file or directory)
open("/click/mtun_client_state/update_node_state", O_WRONLY|O_TRUNC|O_LARGEFILE) = 5
write(5, "gateway_good 0", 14) = 14
close(5) = 0
stat64("/usr/bin/click", 0x7f9d0e90) = -1 ENOENT (No such file or directory)
open("/click/uplinkstate/uplink_state_json", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_dev=makedev(0, 0x11), st_ino=2174746692, st_mode=S_IFREG|0444, st_nlink=3, st_uid=0, st_gid=0, st_blksize=1024, st_blocks=0, st_size=0, st_atime=222 /* 1970-01-01T00:03:42.729644164+0000 */, st_atime_nsec=729644164, st_mtime=222 /* 1970-01-01T00:03:42.729644164+0000 */, st_mtime_nsec=729644164, st_ctime=222 /* 1970-01-01T00:03:42.729644164+0000 */, st_ctime_nsec=729644164}) = 0
read(5, "{\"ip4\":{\"vid\":1,", 16) = 16
read(5, "\"ip\":\"10.10.10.20\",\"netmask\":\"25", 32) = 32
read(5, "5.0.0.0\",\"gw\":\"10.10.10.1\",\"bcas