Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ # strace /opt/etc/init.d/S70mysqld start
- execve("/opt/etc/init.d/S70mysqld", ["/opt/etc/init.d/S70mysqld", "start"], [/* 17 vars */]) = 0
- set_thread_area(0x2ac002a4) = 0
- set_tid_address(0x2abf91e4) = 3680
- open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
- open("/lib/libsupc++.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
- open("/usr/local/lib/libsupc++.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
- open("/usr/lib/libsupc++.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
- fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
- fstat64(3, {st_mode=S_IFREG|0755, st_size=92531, ...}) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\200m\0\0004\0\0\0"..., 936) = 936
- mmap2(NULL, 180224, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2abfa000
- mmap2(0x2ac1f000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15000) = 0x2ac1f000
- mmap2(0x2ac21000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac21000
- close(3) = 0
- open("/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
- fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
- fstat64(3, {st_mode=S_IFREG|0644, st_size=160367, ...}) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\360\306\0\0004\0\0\0"..., 936) = 936
- mmap2(NULL, 229376, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ac26000
- mmap2(0x2ac5d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x27000) = 0x2ac5d000
- close(3) = 0
- open("/lib/libndmBase.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
- fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
- fstat64(3, {st_mode=S_IFREG|0755, st_size=611159, ...}) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 \244\2\0004\0\0\0"..., 936) = 936
- mmap2(NULL, 684032, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ac5e000
- mmap2(0x2acfd000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8f000) = 0x2acfd000
- mmap2(0x2ad04000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ad04000
- close(3) = 0
- open("/lib/libaxtls.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
- open("/usr/local/lib/libaxtls.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
- open("/usr/lib/libaxtls.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
- fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
- fstat64(3, {st_mode=S_IFREG|0755, st_size=75347, ...}) = 0
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\340\35\0\0004\0\0\0"..., 936) = 936
- mmap2(NULL, 143360, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ad06000
- mmap2(0x2ad28000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12000) = 0x2ad28000
- close(3) = 0
- socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
- connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 12) = 0
- open("/opt/bin/sh", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_PATH) = 4
- readlink("/proc/self/fd/4", "/opt/bin/busybox", 4095) = 16
- fstat64(4, {st_mode=S_IFREG|S_ISUID|0755, st_size=532736, ...}) = 0
- stat64("/opt/bin/busybox", {st_mode=S_IFREG|S_ISUID|0755, st_size=532736, ...}) = 0
- close(4) = 0
- execve("/opt/bin/sh", ["/opt/bin/sh", "/opt/etc/init.d/S70mysqld", "start"], [/* 17 vars */]) = 0
- readlinkat(AT_FDCWD, "/proc/self/exe", "/opt/bin/busybox", 4096) = 16
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b169000
- stat("/opt/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=1022, ...}) = 0
- open("/opt/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
- mmap(NULL, 1022, PROT_READ, MAP_SHARED, 3, 0) = 0x2b16a000
- close(3) = 0
- open("/opt/lib/libm.so.1", O_RDONLY) = 3
- fstat(3, {st_mode=S_IFREG|0755, st_size=99008, ...}) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b16b000
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\260\26\0\0004\0\0\0"..., 4096) = 4096
- mmap(NULL, 159744, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b17a000
- mmap(0x2b17a000, 91964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2b17a000
- mmap(0x2b1a0000, 2372, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x16000) = 0x2b1a0000
- close(3) = 0
- munmap(0x2b16b000, 4096) = 0
- open("/opt/lib/libgcc_s.so.1", O_RDONLY) = 3
- fstat(3, {st_mode=S_IFREG|0644, st_size=93972, ...}) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b16b000
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\20&\0\0004\0\0\0"..., 4096) = 4096
- mmap(NULL, 155648, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1a1000
- mmap(0x2b1a1000, 85796, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2b1a1000
- mmap(0x2b1c6000, 296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15000) = 0x2b1c6000
- close(3) = 0
- munmap(0x2b16b000, 4096) = 0
- open("/opt/lib/libc.so.1", O_RDONLY) = 3
- fstat(3, {st_mode=S_IFREG|0755, st_size=706808, ...}) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b16b000
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 \265\0\0004\0\0\0"..., 4096) = 4096
- mmap(NULL, 741376, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b1c7000
- mmap(0x2b1c7000, 650020, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2b1c7000
- mmap(0x2b275000, 7844, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9e000) = 0x2b275000
- mmap(0x2b277000, 17516, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b277000
- close(3) = 0
- munmap(0x2b16b000, 4096) = 0
- open("/opt/lib/libc.so.1", O_RDONLY) = 3
- fstat(3, {st_mode=S_IFREG|0755, st_size=706808, ...}) = 0
- close(3) = 0
- open("/opt/lib/libc.so.1", O_RDONLY) = 3
- fstat(3, {st_mode=S_IFREG|0755, st_size=706808, ...}) = 0
- close(3) = 0
- stat("/opt/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=31812, ...}) = 0
- munmap(0x2b16a000, 1022) = 0
- mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_UNINITIALIZED, -1, 0) = 0x2b16a000
- set_thread_area(0x2b171460) = 0
- mprotect(0x2b275000, 4096, PROT_READ) = 0
- mprotect(0x2b178000, 4096, PROT_READ) = 0
- ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
- ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
- getuid() = 0
- brk(NULL) = 0x8fa000
- brk(0x8fb000) = 0x8fb000
- getpid() = 3680
- rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 16) = 0
- rt_sigaction(SIGHUP, {SIG_DFL, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 16) = 0
- getppid() = 3678
- uname({sysname="Linux", nodename="Keenetic_Ultra", ...}) = 0
- stat64("/opt/root", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
- stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
- brk(0x8fc000) = 0x8fc000
- open("/opt/etc/init.d/S70mysqld", O_RDONLY|O_LARGEFILE) = 3
- fcntl64(3, F_DUPFD, 10) = 10
- close(3) = 0
- fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
- rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 16) = 0
- rt_sigaction(SIGINT, {0x4219b4, ~[], 0}, NULL, 16) = 0
- rt_sigaction(SIGQUIT, NULL, {SIG_IGN, [], 0}, 16) = 0
- rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 16) = 0
- rt_sigaction(SIGTERM, {SIG_DFL, ~[], 0}, NULL, 16) = 0
- read(10, "#!/bin/sh\n\nENABLED=yes\nPROCS=mys"..., 511) = 192
- wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff6708c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- open("/opt/etc/init.d/rc.func", O_RDONLY|O_LARGEFILE) = 3
- fcntl64(3, F_DUPFD, 10) = 11
- close(3) = 0
- fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
- read(11, "#!/bin/sh\n\nACTION=$1\nCALLER=$2\n\n"..., 511) = 511
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff66d54, WNOHANG, NULL) = -1 ECHILD (No child processes)
- read(11, "g. $ansi_std\"\n return 0\n "..., 511) = 511
- brk(0x8fd000) = 0x8fd000
- read(11, "echo -e \" $ansi_green"..., 511) = 511
- read(11, " echo -e -n \"$ansi_white "..., 511) = 511
- brk(0x8fe000) = 0x8fe000
- read(11, " echo -e \" $ansi_red "..., 511) = 511
- read(11, "nfigure)\n reconfigure"..., 511) = 233
- wait4(-1, 0x7ff66af4, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff65fdc, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff65fdc, WNOHANG, NULL) = -1 ECHILD (No child processes)
- wait4(-1, 0x7ff6617c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- write(1, "\33[1;37m Starting mysqld... ", 27 Starting mysqld... ) = 27
- pipe([3, 4]) = 3
- clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3681
- close(4) = 0
- read(3, "", 128) = 0
- --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3681, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
- close(3) = 0
- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 3681
- wait4(-1, 0x7ff6617c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
- fcntl64(1, F_DUPFD, 10) = 12
- dup2(3, 1) = 1
- close(3) = 0
- fcntl64(2, F_DUPFD, 10) = 13
- dup2(1, 2) = 2
- wait4(-1, 0x7ff6631c, WNOHANG, NULL) = -1 ECHILD (No child processes)
- dup2(12, 1) = 1
- close(12) = 0
- dup2(13, 2) = 2
- close(13) = 0
- clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3682
- wait4(-1, 0x7ff664bc, WNOHANG, NULL) = 0
- wait4(-1, 0x7ff6658c, WNOHANG, NULL) = 0
- pipe([3, 4]) = 3
- clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3683
- close(4) = 0
- read(3, "3682\n", 128) = 5
- read(3, "", 128) = 0
- --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3683, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
- close(3) = 0
- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3683
- wait4(-1, 0x7ff6654c, WNOHANG, NULL) = 0
- open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
- fcntl64(1, F_DUPFD, 10) = 12
- dup2(3, 1) = 1
- close(3) = 0
- fcntl64(2, F_DUPFD, 10) = 13
- dup2(1, 2) = 2
- wait4(-1, 0x7ff6672c, WNOHANG, NULL) = 0
- dup2(12, 1) = 1
- close(12) = 0
- dup2(13, 2) = 2
- close(13) = 0
- pipe([3, 4]) = 3
- clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3684
- close(4) = 0
- read(3, "3682\n", 128) = 5
- read(3, "", 128) = 0
- --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3684, si_uid=0, si_status=0, si_utime=0, si_stime=1} ---
- close(3) = 0
- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3684
- wait4(-1, 0x7ff6672c, WNOHANG, NULL) = 0
- wait4(-1, 0x7ff6658c, WNOHANG, NULL) = 0
- write(1, " \33[1;32m done. \33[m\n", 30 done.
- ) = 30
- stat64("/opt/sbin/logger", 0x7ff66430) = -1 ENOENT (No such file or directory)
- stat64("/opt/bin/logger", {st_mode=S_IFREG|S_ISUID|0755, st_size=532736, ...}) = 0
- clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b16a068) = 3686
- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3686
- --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3686, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
- wait4(-1, 0x7ff6665c, WNOHANG, NULL) = 0
- read(11, "", 511) = 0
- close(11) = 0
- read(10, "", 511) = 0
- exit_group(0) = ?
- +++ exited with 0 +++
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement