- 2
Как отучить ndmc -c 'opkg dns-override' выходить из сессии?
-
Последние посетители 0 пользователей онлайн
- Ни одного зарегистрированного пользователя не просматривает данную страницу
На этом сайте используются файлы cookie. Нажимая "Я принимаю" или продолжая просмотр сайта, вы разрешаете их использование: Политика конфиденциальности.
Вопрос
Zeleza
Доброго всем дня
При разработке пакета возникла проблема. Хотелось бы достичь того, чтобы данная команда выполнялась без выхода из сессии. Текущее поведение ее следующее: если ранее данный флаг был установлен, например, выполнялась команда ndmc -c 'opkg dns-override', то при повторном ее исполнени - все штатно, выхода из сессии не происходит.
Но вот если выполнить сразу за предыдущей командой команду противоположную первой: ndmc -c 'no opkg dns-override', то произойдет выход из сессии.
Уважаемые разработчики подскажите пожалуйста: Это ошибка или стандартное поведение? Есть ли выход из данной ситуации?
Прилагаю лог strace при выполнении с выходом и без выхода из сессии:
Журнал strace с выходом из сессии
~ # strace ndmc -c 'opkg dns-override'
execve("/bin/ndmc", ["ndmc", "-c", "opkg dns-override"], 0x7fc7f5d8 /* 17 vars */) = 0
set_thread_area(0x77c01f2c) = 0
set_tid_address(0x77bf97e4) = 1846
brk(NULL) = 0xc0a000
brk(0xc0c000) = 0xc0c000
mmap2(0xc0a000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xc0a000
open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=48564, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\20\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 253952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77ace000
mmap2(0x77ae8000, 147456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa000) = 0x77ae8000
mmap2(0x77aea000, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77aea000
close(3) = 0
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
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=127084, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000}\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 208896, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77a9b000
mmap2(0x77ac6000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1b000) = 0x77ac6000
mmap2(0x77ac8000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77ac8000
close(3) = 0
open("/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0644, st_size=101300, ...}) = 0
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"..., 936) = 936
mmap2(NULL, 159744, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77a74000
mmap2(0x77a9a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x16000) = 0x77a9a000
close(3) = 0
open("/lib/libndmBase.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=1731972, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0`c\4\0004\0\0\0"..., 936) = 936
mmap2(NULL, 1372160, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77925000
mmap2(0x77a65000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0x77a65000
mmap2(0x77a6d000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77a6d000
close(3) = 0
open("/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0644, st_size=112004, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\300\27\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 176128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x778fa000
mmap2(0x77923000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x19000) = 0x77923000
close(3) = 0
open("/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=190992, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320n\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 258048, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x778bb000
mmap2(0x778f8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2d000) = 0x778f8000
close(3) = 0
open("/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=482368, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\0\321\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 548864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77835000
mmap2(0x778b3000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6e000) = 0x778b3000
close(3) = 0
open("/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=2811692, ...}) = 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\332\4\0004\0\0\0"..., 936) = 936
mmap2(NULL, 2879488, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77576000
mmap2(0x7780e000, 159744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x288000) = 0x7780e000
close(3) = 0
open("/lib/libssp.so.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=7224, ...}) = 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\7\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77564000
mmap2(0x77575000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x77575000
close(3) = 0
open("/lib/libatomic.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fb3f778) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=21468, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\300\23\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7754e000
mmap2(0x77562000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x77562000
mmap2(0x77563000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77563000
close(3) = 0
mprotect(0x77ae8000, 4096, PROT_READ) = 0
mprotect(0x77a65000, 20480, PROT_READ) = 0
mprotect(0x77923000, 4096, PROT_READ) = 0
mprotect(0x778f8000, 4096, PROT_READ) = 0
mprotect(0x778b3000, 16384, PROT_READ) = 0
mprotect(0x7780e000, 139264, PROT_READ) = 0
mprotect(0x41d000, 4096, PROT_READ) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77bf3000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77bf2000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77bf1000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77bf0000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77bec000
munmap(0x77bf2000, 4096) = 0
munmap(0x77bf0000, 4096) = 0
munmap(0x77bf1000, 4096) = 0
munmap(0x77bf3000, 8192) = 0
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/dev/log"}, 12) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77bf3000
gettid() = 1846
rt_sigprocmask(SIG_UNBLOCK, [RT_1 RT_2], NULL, 16) = 0
rt_sigaction(SIGUSR1, {sa_handler=0x77a249c0, sa_mask=[RT_67 RT_69 RT_71 RT_73 RT_76 RT_78 RT_79 RT_80 RT_81 RT_82 RT_85 RT_86 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigaction(SIGTRAP, {sa_handler=0x77a1c4f0, sa_mask=[RT_67 RT_69 RT_71 RT_73 RT_76 RT_78 RT_79 RT_80 RT_81 RT_82 RT_85 RT_86 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT PIPE USR2 CHLD STOP], NULL, 16) = 0
rt_sigaction(SIGALRM, {sa_handler=0x779efd90, sa_mask=[RT_68 RT_72 RT_74 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 RT_82 RT_85 RT_86 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigaction(SIGTERM, {sa_handler=0x779efd90, sa_mask=[RT_68 RT_72 RT_74 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 RT_82 RT_85 RT_86 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=2142501649, sival_ptr=0x7fb3fb11}, sigev_signo=SIGALRM, sigev_notify=SIGEV_SIGNAL}, [0]) = 0
socket(AF_UNIX, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/ndm.core.socket"}, 110) = 0
open("/etc/TZ", O_RDONLY|O_LARGEFILE) = 5
read(5, "MSK-3\n", 100) = 6
close(5) = 0
ioctl(0, TIOCGWINSZ, {ws_row=34, ws_col=115, ws_xpixel=2990, ws_ypixel=1836}) = 0
rt_sigaction(SIGWINCH, {sa_handler=0x404b9c, sa_mask=[RT_68 RT_70 RT_71 RT_72 RT_75 RT_76 RT_78 RT_79 RT_80 RT_81 RT_82 RT_85 RT_86 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[RT_70 RT_72 RT_73 RT_76 RT_78 RT_79 RT_82 RT_83 RT_86 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=0}, 16) = 0
poll([{fd=1, events=POLLOUT}], 1, 333) = 1 ([{fd=1, revents=POLLOUT}])
write(1, "\33[K", 3) = 3
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=479195, tv_nsec=785832000}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}) = 0
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=1, tv_nsec=748390623}}) = 0
poll([{fd=4, events=POLLOUT}], 1, 333) = 1 ([{fd=4, revents=POLLOUT}])
sendto(4, "\1\0\0\0\7request\0\0\0\0@\0\0\0\4host\0\0\0\6tel"..., 101, 0, NULL, 0) = 101
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 333) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "\1\0\0\0\10response\0\0\0\0\1\0\0\0\7message\0\0\0"..., 4096, 0, NULL, NULL) = 136
poll([{fd=1, events=POLLOUT}], 1, 333) = 1 ([{fd=1, revents=POLLOUT}])
write(1, "Opkg::Manager: DNS override enab"..., 37Opkg::Manager: DNS override enabled.
) = 37
poll([{fd=1, events=POLLOUT}], 1, 333) = 1 ([{fd=1, revents=POLLOUT}])
write(1, "\33[K", 3) = 3
rt_sigaction(SIGWINCH, {sa_handler=SIG_DFL, sa_mask=[RT_65], sa_flags=0}, NULL, 16) = 0
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}) = 0
close(4) = 0
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}) = 0
timer_delete(0) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [HUP INT PIPE USR2 CHLD], 16) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE USR2 CHLD], NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [HUP INT PIPE USR2 CHLD], 16) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE USR2 CHLD], NULL, 16) = 0
munmap(0x77bf3000, 8192) = 0
munmap(0x77bec000, 16384) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [HUP INT PIPE USR2 CHLD], 16) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE USR2 CHLD], NULL, 16) = 0
rt_sigaction(SIGUSR1, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, NULL, 16) = 0
rt_sigaction(SIGTRAP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [HUP INT PIPE USR2 CHLD], 16) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE USR2 CHLD], NULL, 16) = 0
exit_group(0) = ?
+++ exited with 0 +++
~ # strace ndmc -c 'no opkg dns-override'
execve("/bin/ndmc", ["ndmc", "-c", "no opkg dns-override"], 0x7f95d698 /* 17 vars */) = 0
set_thread_area(0x77cfef2c) = 0
set_tid_address(0x77cf67e4) = 1949
brk(NULL) = 0x6d3000
brk(0x6d5000) = 0x6d5000
mmap2(0x6d3000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x6d3000
open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=48564, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\20\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 253952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77bcb000
mmap2(0x77be5000, 147456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa000) = 0x77be5000
mmap2(0x77be7000, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77be7000
close(3) = 0
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
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=127084, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000}\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 208896, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77b98000
mmap2(0x77bc3000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1b000) = 0x77bc3000
mmap2(0x77bc5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77bc5000
close(3) = 0
open("/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0644, st_size=101300, ...}) = 0
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"..., 936) = 936
mmap2(NULL, 159744, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77b71000
mmap2(0x77b97000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x16000) = 0x77b97000
close(3) = 0
open("/lib/libndmBase.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=1731972, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0`c\4\0004\0\0\0"..., 936) = 936
mmap2(NULL, 1372160, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77a22000
mmap2(0x77b62000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0x77b62000
mmap2(0x77b6a000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77b6a000
close(3) = 0
open("/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0644, st_size=112004, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\300\27\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 176128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x779f7000
mmap2(0x77a20000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x19000) = 0x77a20000
close(3) = 0
open("/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=190992, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320n\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 258048, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x779b8000
mmap2(0x779f5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2d000) = 0x779f5000
close(3) = 0
open("/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=482368, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\0\321\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 548864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77932000
mmap2(0x779b0000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6e000) = 0x779b0000
close(3) = 0
open("/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=2811692, ...}) = 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\332\4\0004\0\0\0"..., 936) = 936
mmap2(NULL, 2879488, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77673000
mmap2(0x7790b000, 159744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x288000) = 0x7790b000
close(3) = 0
open("/lib/libssp.so.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=7224, ...}) = 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\7\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77661000
mmap2(0x77672000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x77672000
close(3) = 0
open("/lib/libatomic.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fa8eea8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=21468, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\300\23\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7764b000
mmap2(0x7765f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x7765f000
mmap2(0x77660000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77660000
close(3) = 0
mprotect(0x77be5000, 4096, PROT_READ) = 0
mprotect(0x77b62000, 20480, PROT_READ) = 0
mprotect(0x77a20000, 4096, PROT_READ) = 0
mprotect(0x779f5000, 4096, PROT_READ) = 0
mprotect(0x779b0000, 16384, PROT_READ) = 0
mprotect(0x7790b000, 139264, PROT_READ) = 0
mprotect(0x41d000, 4096, PROT_READ) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77cf0000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77cef000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77cee000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77ced000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77ce9000
munmap(0x77cef000, 4096) = 0
munmap(0x77ced000, 4096) = 0
munmap(0x77cee000, 4096) = 0
munmap(0x77cf0000, 8192) = 0
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/dev/log"}, 12) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77cf0000
gettid() = 1949
rt_sigprocmask(SIG_UNBLOCK, [RT_1 RT_2], NULL, 16) = 0
rt_sigaction(SIGUSR1, {sa_handler=0x77b219c0, sa_mask=[RT_67 RT_69 RT_71 RT_73 RT_76 RT_77 RT_78 RT_80 RT_81 RT_82 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigaction(SIGTRAP, {sa_handler=0x77b194f0, sa_mask=[RT_67 RT_69 RT_71 RT_73 RT_76 RT_77 RT_78 RT_80 RT_81 RT_82 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT PIPE USR2 CHLD STOP], NULL, 16) = 0
rt_sigaction(SIGALRM, {sa_handler=0x77aecd90, sa_mask=[RT_68 RT_69 RT_70 RT_72 RT_73 RT_77 RT_78 RT_79 RT_80 RT_84 RT_86 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigaction(SIGTERM, {sa_handler=0x77aecd90, sa_mask=[RT_68 RT_69 RT_70 RT_72 RT_73 RT_77 RT_78 RT_79 RT_80 RT_84 RT_86 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=2141778497, sival_ptr=0x7fa8f241}, sigev_signo=SIGALRM, sigev_notify=SIGEV_SIGNAL}, [0]) = 0
socket(AF_UNIX, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/ndm.core.socket"}, 110) = 0
open("/etc/TZ", O_RDONLY|O_LARGEFILE) = 5
read(5, "MSK-3\n", 100) = 6
close(5) = 0
ioctl(0, TIOCGWINSZ, {ws_row=34, ws_col=115, ws_xpixel=2990, ws_ypixel=1836}) = 0
rt_sigaction(SIGWINCH, {sa_handler=0x404b9c, sa_mask=[RT_68 RT_69 RT_75 RT_78 RT_79 RT_80 RT_84 RT_86 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[RT_70 RT_72 RT_73 RT_76 RT_77 RT_78 RT_82 RT_83 RT_85 RT_86 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=0}, 16) = 0
poll([{fd=1, events=POLLOUT}], 1, 333) = 1 ([{fd=1, revents=POLLOUT}])
write(1, "\33[K", 3) = 3
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=479212, tv_nsec=564591000}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}) = 0
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=1, tv_nsec=749467968}}) = 0
poll([{fd=4, events=POLLOUT}], 1, 333) = 1 ([{fd=4, revents=POLLOUT}])
sendto(4, "\1\0\0\0\7request\0\0\0\0@\0\0\0\4host\0\0\0\6tel"..., 104, 0, NULL, 0) = 104
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 333strace: Process 1949 detached
<detached ...>
[C] Aug 13 09:50:47 ndm: Thread: "Main": system failed [0xcffd07d6].
client_loop: send disconnect: Broken pipe
Журнал strace без выхода из сессии:
# strace ndmc -c 'opkg dns-override'
execve("/bin/ndmc", ["ndmc", "-c", "opkg dns-override"], 0x7fc5da58 /* 17 vars */) = 0
set_thread_area(0x77dedf2c) = 0
set_tid_address(0x77de57e4) = 13252
brk(NULL) = 0x72f000
brk(0x731000) = 0x731000
mmap2(0x72f000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x72f000
open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libunwind.so.8", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=48564, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\20\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 253952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77cba000
mmap2(0x77cd4000, 147456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa000) = 0x77cd4000
mmap2(0x77cd6000, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77cd6000
close(3) = 0
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
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=127084, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000}\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 208896, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77c87000
mmap2(0x77cb2000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1b000) = 0x77cb2000
mmap2(0x77cb4000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77cb4000
close(3) = 0
open("/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0644, st_size=101300, ...}) = 0
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"..., 936) = 936
mmap2(NULL, 159744, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77c60000
mmap2(0x77c86000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x16000) = 0x77c86000
close(3) = 0
open("/lib/libndmBase.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=1731972, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0`c\4\0004\0\0\0"..., 936) = 936
mmap2(NULL, 1372160, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77b11000
mmap2(0x77c51000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0x77c51000
mmap2(0x77c59000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77c59000
close(3) = 0
open("/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0644, st_size=112004, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\300\27\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 176128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77ae6000
mmap2(0x77b0f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x19000) = 0x77b0f000
close(3) = 0
open("/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libndm.so", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=190992, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320n\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 258048, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77aa7000
mmap2(0x77ae4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2d000) = 0x77ae4000
close(3) = 0
open("/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libssl.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=482368, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\0\321\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 548864, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77a21000
mmap2(0x77a9f000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6e000) = 0x77a9f000
close(3) = 0
open("/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcrypto.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=2811692, ...}) = 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\332\4\0004\0\0\0"..., 936) = 936
mmap2(NULL, 2879488, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77762000
mmap2(0x779fa000, 159744, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x288000) = 0x779fa000
close(3) = 0
open("/lib/libssp.so.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=7224, ...}) = 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\7\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 73728, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77750000
mmap2(0x77761000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x77761000
close(3) = 0
open("/lib/libatomic.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_BASIC_STATS, 0x7fc053e8) = -1 ENOSYS (Function not implemented)
fstat64(3, {st_mode=S_IFREG|0755, st_size=21468, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\300\23\0\0004\0\0\0"..., 936) = 936
mmap2(NULL, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7773a000
mmap2(0x7774e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x7774e000
mmap2(0x7774f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7774f000
close(3) = 0
mprotect(0x77cd4000, 4096, PROT_READ) = 0
mprotect(0x77c51000, 20480, PROT_READ) = 0
mprotect(0x77b0f000, 4096, PROT_READ) = 0
mprotect(0x77ae4000, 4096, PROT_READ) = 0
mprotect(0x77a9f000, 16384, PROT_READ) = 0
mprotect(0x779fa000, 139264, PROT_READ) = 0
mprotect(0x41d000, 4096, PROT_READ) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77ddf000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77dde000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77ddd000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77ddc000
mmap2(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77dd8000
munmap(0x77dde000, 4096) = 0
munmap(0x77ddc000, 4096) = 0
munmap(0x77ddd000, 4096) = 0
munmap(0x77ddf000, 8192) = 0
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/dev/log"}, 12) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77ddf000
gettid() = 13252
rt_sigprocmask(SIG_UNBLOCK, [RT_1 RT_2], NULL, 16) = 0
rt_sigaction(SIGUSR1, {sa_handler=0x77c109c0, sa_mask=[RT_67 RT_69 RT_71 RT_73 RT_76 RT_78 RT_80 RT_82 RT_85 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigaction(SIGTRAP, {sa_handler=0x77c084f0, sa_mask=[RT_67 RT_69 RT_71 RT_73 RT_76 RT_78 RT_80 RT_82 RT_85 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT PIPE USR2 CHLD STOP], NULL, 16) = 0
rt_sigaction(SIGALRM, {sa_handler=0x77bdbd90, sa_mask=[RT_68 RT_69 RT_70 RT_71 RT_72 RT_74 RT_75 RT_77 RT_79 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigaction(SIGTERM, {sa_handler=0x77bdbd90, sa_mask=[RT_68 RT_69 RT_70 RT_71 RT_72 RT_74 RT_75 RT_77 RT_79 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
timer_create(CLOCK_MONOTONIC, {sigev_value={sival_int=2143311745, sival_ptr=0x7fc05781}, sigev_signo=SIGALRM, sigev_notify=SIGEV_SIGNAL}, [0]) = 0
socket(AF_UNIX, SOCK_STREAM, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/var/run/ndm.core.socket"}, 110) = 0
open("/etc/TZ", O_RDONLY|O_LARGEFILE) = 5
read(5, "MSK-3\n", 100) = 6
close(5) = 0
ioctl(0, TIOCGWINSZ, {ws_row=34, ws_col=115, ws_xpixel=2990, ws_ypixel=1836}) = 0
rt_sigaction(SIGWINCH, {sa_handler=0x404b9c, sa_mask=[RT_68 RT_69 RT_71 RT_73 RT_76 RT_79 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[RT_70 RT_72 RT_73 RT_76 RT_78 RT_81 RT_83 RT_87 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], sa_flags=0}, 16) = 0
poll([{fd=1, events=POLLOUT}], 1, 333) = 1 ([{fd=1, revents=POLLOUT}])
write(1, "\33[K", 3) = 3
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=479749, tv_nsec=538105000}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}) = 0
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=1, tv_nsec=749356293}}) = 0
poll([{fd=4, events=POLLOUT}], 1, 333) = 1 ([{fd=4, revents=POLLOUT}])
sendto(4, "\1\0\0\0\7request\0\0\0\0@\0\0\0\4host\0\0\0\6tel"..., 101, 0, NULL, 0) = 101
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 333) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "\1\0\0\0\10response\0\0\0\0\1\0\0\0\7message\0\0\0"..., 4096, 0, NULL, NULL) = 136
poll([{fd=1, events=POLLOUT}], 1, 333) = 1 ([{fd=1, revents=POLLOUT}])
write(1, "Opkg::Manager: DNS override enab"..., 37Opkg::Manager: DNS override enabled.
) = 37
poll([{fd=1, events=POLLOUT}], 1, 333) = 1 ([{fd=1, revents=POLLOUT}])
write(1, "\33[K", 3) = 3
rt_sigaction(SIGWINCH, {sa_handler=SIG_DFL, sa_mask=[RT_65], sa_flags=0}, NULL, 16) = 0
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}) = 0
close(4) = 0
timer_settime(0, TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}, {it_interval={tv_sec=0, tv_nsec=0}, it_value={tv_sec=0, tv_nsec=0}}) = 0
timer_delete(0) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [HUP INT PIPE USR2 CHLD], 16) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE USR2 CHLD], NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [HUP INT PIPE USR2 CHLD], 16) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE USR2 CHLD], NULL, 16) = 0
munmap(0x77ddf000, 8192) = 0
munmap(0x77dd8000, 16384) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [HUP INT PIPE USR2 CHLD], 16) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE USR2 CHLD], NULL, 16) = 0
rt_sigaction(SIGUSR1, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, NULL, 16) = 0
rt_sigaction(SIGTRAP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1 RT_2], [HUP INT PIPE USR2 CHLD], 16) = 0
rt_sigprocmask(SIG_SETMASK, [HUP INT PIPE USR2 CHLD], NULL, 16) = 0
exit_group(0) = ?
+++ exited with 0 +++
3 ответа на этот вопрос
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.
Примечание: Ваш пост будет проверен модератором, прежде чем станет видимым.