Optware replacement - 1700+ packages (arm & x86)

Questions about IPKG can go here!
Forum rules
Synology Community is the new platform for the enthusiasts' interaction, and it will soon be available to replace the Forum.
User avatar
zyxmon
Versed
Versed
Posts: 210
Joined: Fri Apr 23, 2010 9:30 pm

Optware replacement - 1700+ packages (arm & x86)

Unread post by zyxmon » Sun Jan 04, 2015 4:15 pm

I have made a port of Entware - https://github.com/Entware/entware for arm and x86 based NASes. The packages were tested on QNAP and Synology.
Enware is
is package repository for embedded devices. These packages allow you to add new functionality to your device. Most of them taken from OpenWRT, but others are unique.
Since some of official QNAP packages use optware and /opt folder, I had to modify Entware to use /Apps/opt folder instead of /opt. I Have also ported Entware from mipsel+uclibc to x86/arm+glibc. For the current time 1700 packages are ready. I call this Qnapware because I've tried packages on QNAP x86 NAS for the first time.

The list of packages (with sort and search capabilities) is here -
(arm) http://qnapware.zyxmon.org/binaries-arm/Packages.html
(x86) http://qnapware.zyxmon.org/binaries-x86/Packages.html

Some technical details on Qnapware.
1. Qnapware uses glibc 2.20. The binary locales archive (/usr/lib/locale/locale-archive) in NASes with old glibc is incompatible with this new glibc version. Qnapware uses a separate locales archive (/Apps/opt/usr/lib/locale/locale-archive). Now there are two locales installed - en_EN.UTF-8 and ru_RU.UTF-8. One can add more locales to be used by Qnapware binaries with localedef.new utility.
2. Qnapware uses a separate dynamic loader (/Apps/opt/lib/ld.so) and separate shared libs in /Apps/opt/lib. If you try to mix old and new libs you'll get a segfault or an unusable binary. Do not try to delete, add or move *.so files. Qnapware's approach leads to a slightly more ram usage, then optware.

Preparation steps to install Qnapware - make a directory to install qnapware and a symlink /Apps/opt --> <your directory>/opt. For example

Code: Select all

DiskStation> cd /volume1
DiskStation> mkdir @qnapware
DiskStation> mkdir /Apps
DiskStation> cd @qnapware/
DiskStation> mkdir opt
DiskStation> /bin/ln -sf /volume1/@qnapware/opt /Apps/opt
To install Qnapware download bootstrap script, make it executable (chmod +x) and run.
(arm script) http://qnapware.zyxmon.org/binaries-arm ... all_arm.sh
(x86 script) http://qnapware.zyxmon.org/binaries-x86 ... all_x86.sh

After the script finishes please add /Apps/opt/bin and /Apps/opt/sbin to you path. The easy way do do it is to add a line

Code: Select all

. /Apps/opt/etc/profile
to the end of root profile - (/root/.profile).

Modify /etc/rc.local file to make symlinks to qnapware/opt dir and run services. For example, my rclocal looks like this

Code: Select all

DiskStation> cat /etc/rc.local
#!/bin/sh

# Optware setup
[ -x /etc/rc.optware ] && /etc/rc.optware start

/bin/mkdir -p /Apps
/bin/ln -sf /volume1/@qnapware/opt /Apps/opt
/Apps/opt/etc/init.d/rc.unslung start
exit 0
The syntax of opkg and ipkg is very similar. To install mc type

Code: Select all

opkg install mc
More resorces on Qnapware
1. Topic on qnap forum - http://forum.qnap.com/viewtopic.php?f=320&t=100843
2. Topics (in Russian) on my forum - http://forum.zyxmon.org/forum8-setevye- ... y-nas.html
Last edited by zyxmon on Thu Jan 15, 2015 8:32 pm, edited 3 times in total.
Entware & Qnapware for embedded Linux systems

PnoT
Beginner
Beginner
Posts: 28
Joined: Tue Mar 12, 2013 2:54 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by PnoT » Mon Jan 05, 2015 9:06 am

Awesome work!

I was hoping someone would finally update some packages so we can finally get off of using ipkg and applications that were severely out of date.

I have an 1815+ which is the x64 Avoton but you're x86 package seemed to install fine. The one thing I wanted from your new set is lftp which is WAY newer than the one provided by the bootstrap/ipkg setup. The only problem is lftp will segfault immediately when trying to establish an sftp remote connection. I can't even get it to do a simple "ls".

Any thoughts?

Are you also planning on releasing a x64 variant of the packages?

User avatar
zyxmon
Versed
Versed
Posts: 210
Joined: Fri Apr 23, 2010 9:30 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by zyxmon » Mon Jan 05, 2015 10:30 am

I do not have Synology with x64 OS. I have checked lftp on QNAP with Intel Atom and x32 OS and it works.

Code: Select all

[~] # lftp 10.0.0.6
lftp 10.0.0.6:~> ls
drwxr-xr-x   1 root users         4096 Aug 22  2014 webdav
drwxr-xr-x   1 root users         4096 Jan  3 09:10 public
lftp 10.0.0.6:/> cd /public/
lftp 10.0.0.6:/public> ls
-r-xr-xr-x   1 Mama     users         3044149 Feb 19  2013 2013-02-19 Nokia 3710 fold.nbu
drwxrwxrwx   1 root     root             4096 Apr 26  2014 DLNA
drwxrwxrwx   1 Papa     users            4096 Apr 17  2014 FB2
......
Try to install strace

Code: Select all

opkg install strace
And run

Code: Select all

strace -o lftp.txt lftp
The file lftp.txt may show what is wrong.
Please also check, that lftp uses only libs from /Apps/opt/....
Run ldd /Apps/opt/bin/lftp

Code: Select all

[~] # ldd /Apps/opt/bin/lftp
        linux-gate.so.1 (0xf770d000)
        libexpat.so.1 => /Apps/opt/lib/libexpat.so.1 (0xf76e6000)
        libz.so.1 => /Apps/opt/lib/libz.so.1 (0xf76d1000)
        libssl.so.1.0.0 => /Apps/opt/lib/libssl.so.1.0.0 (0xf7678000)
        libcrypto.so.1.0.0 => /Apps/opt/lib/libcrypto.so.1.0.0 (0xf7509000)
        libstdc++.so.6 => /Apps/opt/lib/libstdc++.so.6 (0xf744a000)
        libreadline.so.6 => /Apps/opt/lib/libreadline.so.6 (0xf740c000)
        libutil.so.1 => /Apps/opt/lib/libutil.so.1 (0xf7408000)
        libncurses.so.5 => /Apps/opt/lib/libncurses.so.5 (0xf73bd000)
        libresolv.so.2 => /Apps/opt/lib/libresolv.so.2 (0xf73a5000)
        libdl.so.2 => /Apps/opt/lib/libdl.so.2 (0xf73a0000)
        libidn.so.11 => /Apps/opt/lib/libidn.so.11 (0xf736f000)
        libm.so.6 => /Apps/opt/lib/libm.so.6 (0xf7328000)
        libgcc_s.so.1 => /Apps/opt/lib/libgcc_s.so.1 (0xf7312000)
        libc.so.6 => /Apps/opt/lib/libc.so.6 (0xf7170000)
        /Apps/opt/lib/ld-linux.so.2 (0xf770e000)
In case your system does not have ldd install it

Code: Select all

opkg install ldd
PS lftp also works on Synology DS110J with arm cpu.
Entware & Qnapware for embedded Linux systems

gekkekoe
I'm New!
I'm New!
Posts: 3
Joined: Mon Jan 05, 2015 3:56 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by gekkekoe » Mon Jan 05, 2015 3:59 pm

I see you have gcc 4.8 libs included which is really cool. I could not compile a newer gcc with optware because of the old/buggy versions.

I don't see the compiler itself anywhere. Is it possible to have the compiler gcc or clang available as package?

I'm a user of music playing daemon and want to compile it from source...

PnoT
Beginner
Beginner
Posts: 28
Joined: Tue Mar 12, 2013 2:54 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by PnoT » Mon Jan 05, 2015 7:19 pm

Here is the output from the various commands

Code: Select all

lftp -p 22 -u $login,$pass sftp://$host
lftp test@test:~> ls
Segmentation fault (core dumped)

Code: Select all

#ldd /Apps/opt/bin/lftp
        linux-gate.so.1 (0xf77a4000)
        libexpat.so.1 => /Apps/opt/lib/libexpat.so.1 (0xf777d000)
        libz.so.1 => /Apps/opt/lib/libz.so.1 (0xf7768000)
        libssl.so.1.0.0 => /Apps/opt/lib/libssl.so.1.0.0 (0xf770f000)
        libcrypto.so.1.0.0 => /Apps/opt/lib/libcrypto.so.1.0.0 (0xf75a0000)
        libstdc++.so.6 => /Apps/opt/lib/libstdc++.so.6 (0xf74e1000)
        libreadline.so.6 => /Apps/opt/lib/libreadline.so.6 (0xf74a3000)
        libutil.so.1 => /Apps/opt/lib/libutil.so.1 (0xf749f000)
        libncurses.so.5 => /Apps/opt/lib/libncurses.so.5 (0xf7454000)
        libresolv.so.2 => /Apps/opt/lib/libresolv.so.2 (0xf743c000)
        libdl.so.2 => /Apps/opt/lib/libdl.so.2 (0xf7437000)
        libidn.so.11 => /Apps/opt/lib/libidn.so.11 (0xf7406000)
        libm.so.6 => /Apps/opt/lib/libm.so.6 (0xf73bf000)
        libgcc_s.so.1 => /Apps/opt/lib/libgcc_s.so.1 (0xf73a9000)
        libc.so.6 => /Apps/opt/lib/libc.so.6 (0xf7207000)
        /Apps/opt/lib/ld-linux.so.2 (0xf77a5000)
There's a ton of "no such files" in the following and I'm not sure if that matters.

Code: Select all

execve("/Apps/opt/bin/lftp", ["lftp", "-p", "22", "-u", "test,test", "sftp://test"], [/* 20 vars */]) = 0
brk(0)                                  = 0x8143000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf771f000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/Apps/opt/lib/tls/i686/sse2/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/Apps/opt/lib/tls/i686/sse2", 0xffbd4a90) = -1 ENOENT (No such file or directory)
open("/Apps/opt/lib/tls/i686/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/Apps/opt/lib/tls/i686", 0xffbd4a90) = -1 ENOENT (No such file or directory)
open("/Apps/opt/lib/tls/sse2/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/Apps/opt/lib/tls/sse2", 0xffbd4a90) = -1 ENOENT (No such file or directory)
open("/Apps/opt/lib/tls/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/Apps/opt/lib/tls", 0xffbd4a90) = -1 ENOENT (No such file or directory)
open("/Apps/opt/lib/i686/sse2/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/Apps/opt/lib/i686/sse2", 0xffbd4a90) = -1 ENOENT (No such file or directory)
open("/Apps/opt/lib/i686/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/Apps/opt/lib/i686", 0xffbd4a90) = -1 ENOENT (No such file or directory)
open("/Apps/opt/lib/sse2/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/Apps/opt/lib/sse2", 0xffbd4a90) = -1 ENOENT (No such file or directory)
open("/Apps/opt/lib/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p!\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=152628, ...}) = 0
mmap2(NULL, 155452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf76f9000
mmap2(0xf771d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0xf771d000
close(3)                                = 0
open("/Apps/opt/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\25\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=82624, ...}) = 0
mmap2(NULL, 85448, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf76e4000
mmap2(0xf76f8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0xf76f8000
close(3)                                = 0
open("/Apps/opt/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\327\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=364520, ...}) = 0
mmap2(NULL, 363416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf768b000
mmap2(0xf76e0000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x55000) = 0xf76e0000
close(3)                                = 0
open("/Apps/opt/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360K\3\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1491304, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf768a000
mmap2(NULL, 1498408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf751c000
mmap2(0xf7678000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c000) = 0xf7678000
mmap2(0xf7688000, 7464, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7688000
close(3)                                = 0
open("/Apps/opt/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0|\4\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=751436, ...}) = 0
mmap2(NULL, 780528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf745d000
mmap2(0xf7510000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb2000) = 0xf7510000
mmap2(0xf7516000, 22768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7516000
close(3)                                = 0
open("/Apps/opt/lib/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\320\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0555, st_size=285113, ...}) = 0
mmap2(NULL, 251948, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf741f000
mmap2(0xf7457000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x37000) = 0xf7457000
mmap2(0xf745c000, 2092, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf745c000
close(3)                                = 0
open("/Apps/opt/lib/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9756, ...}) = 0
mmap2(NULL, 12432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf741b000
mmap2(0xf741d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf741d000
close(3)                                = 0
open("/Apps/opt/lib/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\243\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=302008, ...}) = 0
mmap2(NULL, 306668, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf73d0000
mmap2(0xf7418000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x47000) = 0xf7418000
close(3)                                = 0
open("/Apps/opt/lib/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360&\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=79656, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf73cf000
mmap2(NULL, 92168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf73b8000
mmap2(0xf73cb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0xf73cb000
mmap2(0xf73cd000, 6152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf73cd000
close(3)                                = 0
open("/Apps/opt/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13848, ...}) = 0
mmap2(NULL, 16516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf73b3000
mmap2(0xf73b6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf73b6000
close(3)                                = 0
open("/Apps/opt/lib/libidn.so.11", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\34\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=200436, ...}) = 0
mmap2(NULL, 199112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7382000
mmap2(0xf73b2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x30000) = 0xf73b2000
close(3)                                = 0
open("/Apps/opt/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320E\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=284144, ...}) = 0
mmap2(NULL, 286880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf733b000
mmap2(0xf7380000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x44000) = 0xf7380000
close(3)                                = 0
open("/Apps/opt/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\37\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=84288, ...}) = 0
mmap2(NULL, 87440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7325000
mmap2(0xf733a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0xf733a000
close(3)                                = 0
open("/Apps/opt/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \233\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1698972, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7324000
mmap2(NULL, 1706588, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7183000
mprotect(0xf731d000, 4096, PROT_NONE)   = 0
mmap2(0xf731e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a000) = 0xf731e000
mmap2(0xf7321000, 10844, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7321000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7182000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7181000
set_thread_area({entry_number:-1 -> 12, base_addr:0xf7181700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xf731e000, 8192, PROT_READ)   = 0
mprotect(0xf7380000, 4096, PROT_READ)   = 0
mprotect(0xf73b6000, 4096, PROT_READ)   = 0
mprotect(0xf73cb000, 4096, PROT_READ)   = 0
mprotect(0xf741d000, 4096, PROT_READ)   = 0
mprotect(0xf7510000, 16384, PROT_READ)  = 0
mprotect(0xf7741000, 4096, PROT_READ)   = 0
brk(0)                                  = 0x8143000
brk(0x8164000)                          = 0x8164000
stat64("/root/.lftp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
gettimeofday({1420481297, 224071}, NULL) = 0
open("/Apps/opt/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2855152, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6f81000
close(3)                                = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], 0}, NULL, 8) = 0
rt_sigaction(SIGXFSZ, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {SIG_IGN, [], 0}, NULL, 8) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=55868, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6f80000
read(3, "# GNU libc iconv configuration.\n"..., 4096) = 4096
read(3, "B1.002//\nalias\tJS//\t\t\tJUS_I.B1.0"..., 4096) = 4096
read(3, "59-3\t1\nmodule\tINTERNAL\t\tISO-8859"..., 4096) = 4096
read(3, "859-14//\nalias\tISO-IR-199//\t\tISO"..., 4096) = 4096
read(3, "CDIC-DK-NO-A//\tEBCDIC-DK-NO-A\t1\n"..., 4096) = 4096
read(3, "\t\tIBM281//\t\tIBM281\t\t1\n\n#\tfrom\t\t\t"..., 4096) = 4096
read(3, "\tIBM863\t\t1\n\n#\tfrom\t\t\tto\t\t\tmodule"..., 4096) = 4096
read(3, "\tmodule\t\tcost\nalias\tIBM-939//\t\tI"..., 4096) = 4096
read(3, "\t\t\tmodule\t\tcost\nalias\tEUCCN//\t\t\t"..., 4096) = 4096
read(3, "C_P27-1//\t\tINTERNAL\t\tIEC_P27-1\t1"..., 4096) = 4096
brk(0x8185000)                          = 0x8185000
read(3, "\t\t\tmodule\t\tcost\nalias\tMACIS//\t\t\t"..., 4096) = 4096
read(3, "X0213\t1\nmodule\tINTERNAL\t\tShift_J"..., 4096) = 4096
read(3, "40//\t\tIBM1140//\nalias\tCP1140//\t\t"..., 4096) = 4096
read(3, "\nmodule\tINTERNAL\t\tIBM16804//\t\tIB"..., 4096) = 2620
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xf6f80000, 4096)                = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3
close(3)                                = 0
open("/Apps/opt/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/Apps/opt/share/lftp/verify-file", 0xffbd4e30) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open(".", O_RDONLY|O_LARGEFILE|O_DIRECTORY) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getcwd("/volume2/@appstore/LFTP", 256)  = 24
rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x80977b6, [], 0}, NULL, 8) = 0
rt_sigaction(SIGTTOU, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTTOU, {SIG_IGN, [], 0}, NULL, 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {0x808f8da, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
stat64("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/opt/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
time(NULL)                              = 1420481297
access("/usr/share/terminfo/x/xterm", R_OK) = 0
open("/usr/share/terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=3270, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6f80000
read(4, "\32\0010\0&\0\17\0\235\1l\5xterm|xterm terminal"..., 4096) = 3270
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xf6f80000, 4096)                = 0
time(NULL)                              = 1420481297
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
access("/Apps/opt/etc/lftp.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/root/.lftprc", R_OK)           = -1 ENOENT (No such file or directory)
stat64("/root/.lftp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/root/.lftp/rc", R_OK)          = -1 ENOENT (No such file or directory)
gettimeofday({1420481297, 233899}, NULL) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TIOCGPGRP, [26128])            = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x80977b6, [], 0}, NULL, 8) = 0
rt_sigaction(SIGTSTP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, {0x80977b6, [], 0}, NULL, 8) = 0
stat64("/root/.lftp/bookmarks", 0xffbd4e30) = -1 ENOENT (No such file or directory)
gettimeofday({1420481297, 234452}, NULL) = 0
ioctl(0, TIOCGPGRP, [26128])            = 0
getpgrp()                               = 26128
ioctl(1, TIOCGWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
write(1, "  ", 2)                       = 2
write(1, "\r", 1)                       = 1
gettimeofday({1420481297, 234780}, NULL) = 0
gettimeofday({1420481297, 234841}, NULL) = 0
open("/root/.lftp/rl_history", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=1063, ...}) = 0
read(4, " 1420440627\nexit\n 1420441444\nlft"..., 1063) = 1063
close(4)                                = 0
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
time(NULL)                              = 1420481297
ioctl(0, TIOCGPGRP, [26128])            = 0
getpgrp()                               = 26128
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDRV_TIMER_IOCTL_STATUS or TIOCSWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
stat64("/root/.inputrc", 0xffbd4de0)    = -1 ENOENT (No such file or directory)
stat64("/etc/inputrc", 0xffbd4e00)      = -1 ENOENT (No such file or directory)
ioctl(0, TIOCGWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDRV_TIMER_IOCTL_STATUS or TIOCSWINSZ, {ws_row=68, ws_col=220, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ALRM TERM TSTP TTIN TTOU], [], 8) = 0
rt_sigaction(SIGINT, {0xf744021a, [], 0}, {0x80977b6, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0xf744021a, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0xf744021a, [], 0}, {0x80977b6, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0xf744021a, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGALRM, {0xf744021a, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, {0xf744021a, [], 0}, {0x80977b6, [], 0}, 8) = 0
rt_sigaction(SIGTTOU, {0xf744021a, [], 0}, {SIG_IGN, [], 0}, 8) = 0
rt_sigaction(SIGTTOU, {SIG_IGN, [], 0}, {0xf744021a, [], 0}, 8) = 0
rt_sigaction(SIGTTIN, {0xf744021a, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGWINCH, {0xf743f880, [], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
fstat64(1, {st_mode=S_IFCHR|0622, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6f80000
write(1, "lftp test@test"..., 38) = 38
rt_sigaction(SIGINT, {0x80977b6, [], 0}, NULL, 8) = 0
gettimeofday({1420481297, 238409}, NULL) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, 0xffbd4daf, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, 0xffbd4dcf, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
select(1, [0], [], NULL, {0, 16432})    = 0 (Timeout)
gettimeofday({1420481297, 256454}, NULL) = 0
select(1, [0], [], NULL, {0, 477445})   = 0 (Timeout)
gettimeofday({1420481297, 736538}, NULL) = 0
select(1, [0], [], NULL, {179, 497914}) = 1 (in [0], left {178, 759504})
gettimeofday({1420481298, 475226}, NULL) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, "l", 1)                         = 1
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
write(1, "l", 1)                        = 1
rt_sigaction(SIGINT, {0x80977b6, [], 0}, NULL, 8) = 0
gettimeofday({1420481298, 476085}, NULL) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, 0xffbd4daf, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, 0xffbd4dcf, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
select(1, [0], [], NULL, {178, 758367}) = 1 (in [0], left {178, 678865})
gettimeofday({1420481298, 556252}, NULL) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, "s", 1)                         = 1
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
write(1, "s", 1)                        = 1
rt_sigaction(SIGINT, {0x80977b6, [], 0}, NULL, 8) = 0
gettimeofday({1420481298, 556885}, NULL) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, 0xffbd4daf, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, 0xffbd4dcf, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
select(1, [0], [], NULL, {178, 677567}) = 1 (in [0], left {178, 503815})
gettimeofday({1420481298, 731219}, NULL) = 0
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
read(0, "\r", 1)                        = 1
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
write(1, "\n", 1)                       = 1
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGINT, {0x80977b6, [], 0}, {0x80977b6, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, [], 0}, {0xf744021a, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x80977b6, [], 0}, {0xf744021a, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {0xf744021a, [], 0}, 8) = 0
rt_sigaction(SIGALRM, {SIG_DFL, [], 0}, {0xf744021a, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, {0x80977b6, [], 0}, {0xf744021a, [], 0}, 8) = 0
rt_sigaction(SIGTTIN, {SIG_DFL, [], 0}, {0xf744021a, [], 0}, 8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL, [], 0}, {0xf743f880, [], SA_RESTART}, 8) = 0
time(NULL)                              = 1420481298
time(NULL)                              = 1420481298
gettimeofday({1420481298, 732399}, NULL) = 0
gettimeofday({1420481298, 732478}, NULL) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
getcwd("/volume2/@appstore/LFTP", 256)  = 24
pipe([4, 5])                            = 0
pipe([6, 7])                            = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {0x808f8da, [], 0}, 8) = 0
open("/dev/ptmx", O_RDWR)               = 8
statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
ioctl(8, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(8, TIOCGPTN, [6])                 = 0
stat64("/dev/pts/6", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 6), ...}) = 0
getuid32()                              = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 9
connect(9, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(9)                                = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 9
connect(9, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(9)                                = 0
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=327, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6f7f000
read(9, "passwd:     files winbind ldap\ns"..., 4096) = 327
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0xf6f7f000, 4096)                = 0
open("/Apps/opt/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\32\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=46744, ...}) = 0
mmap2(NULL, 50132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6f73000
mmap2(0xf6f7e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0xa000) = 0xf6f7e000
close(9)                                = 0
mprotect(0xf6f7e000, 4096, PROT_READ)   = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=340, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6f72000
read(9, "#$_@GID__INDEX@_$1023$\nadministr"..., 4096) = 340
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0xf6f72000, 4096)                = 0
open("/Apps/opt/lib/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/tls/i686/sse2/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/tls/i686/sse2", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/tls/i686/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/tls/i686", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/tls/sse2/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/tls/sse2", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/tls/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/tls", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/i686/sse2/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/i686/sse2", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/i686/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/i686", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/sse2/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/sse2", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/media/Entware/qarm/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/sse2/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0xffbd21f0) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xffbd21f0)     = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0xffbd21f0)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xffbd21f0)          = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0xffbd21f0)    = -1 ENOENT (No such file or directory)
open("/lib/i686/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xffbd21f0)         = -1 ENOENT (No such file or directory)
open("/lib/sse2/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0xffbd21f0)         = -1 ENOENT (No such file or directory)
open("/lib/libnss_winbind.so.2", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\f\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=17684, ...}) = 0
mmap2(NULL, 43852, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6f68000
mmap2(0xf6f6c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x3000) = 0xf6f6c000
mmap2(0xf6f6e000, 19276, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6f6e000
close(9)                                = 0
open("/usr/syno/lib/tls/i686/sse2/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/syno/lib/tls/i686/sse2", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/syno/lib/tls/i686/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/syno/lib/tls/i686", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/syno/lib/tls/sse2/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/syno/lib/tls/sse2", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/syno/lib/tls/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/syno/lib/tls", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/syno/lib/i686/sse2/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/syno/lib/i686/sse2", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/syno/lib/i686/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/syno/lib/i686", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/syno/lib/sse2/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/syno/lib/sse2", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/syno/lib/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/syno/lib", 0xffbd1fd0)     = -1 ENOENT (No such file or directory)
open("/usr/lib/samba/tls/i686/sse2/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/samba/tls/i686/sse2", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/samba/tls/i686/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/samba/tls/i686", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/samba/tls/sse2/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/samba/tls/sse2", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/samba/tls/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/samba/tls", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/samba/i686/sse2/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/samba/i686/sse2", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/samba/i686/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/samba/i686", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/samba/sse2/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/samba/sse2", 0xffbd1fd0) = -1 ENOENT (No such file or directory)
open("/usr/lib/samba/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/samba", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/libsynorecycle.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0#\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=46736, ...}) = 0
mmap2(NULL, 57856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6f59000
mmap2(0xf6f64000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0xa000) = 0xf6f64000
mmap2(0xf6f66000, 4608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6f66000
close(9)                                = 0
open("/usr/lib/samba/libsynogpl.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynogpl.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \314\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=486344, ...}) = 0
mmap2(NULL, 488444, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6ee1000
mmap2(0xf6f55000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x74000) = 0xf6f55000
mmap2(0xf6f58000, 1020, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6f58000
close(9)                                = 0
open("/usr/lib/samba/libsynoaclgpl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynoaclgpl.so", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\34\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=47352, ...}) = 0
mmap2(NULL, 50236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6ed4000
mmap2(0xf6edf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0xa000) = 0xf6edf000
close(9)                                = 0
open("/usr/lib/samba/libsynocoregpl.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynocoregpl.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`^\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=146732, ...}) = 0
mmap2(NULL, 150896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6eaf000
mmap2(0xf6ed2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x22000) = 0xf6ed2000
close(9)                                = 0
open("/usr/lib/samba/libsynoshare.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynoshare.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300c\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=178792, ...}) = 0
mmap2(NULL, 182828, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6e82000
mmap2(0xf6ead000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x2a000) = 0xf6ead000
close(9)                                = 0
open("/usr/lib/samba/libsynonfs.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynonfs.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\35\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=38512, ...}) = 0
mmap2(NULL, 41396, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6e77000
mmap2(0xf6e80000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x8000) = 0xf6e80000
close(9)                                = 0
open("/usr/lib/samba/libsynolog.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynolog.so.1", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\v\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=13708, ...}) = 0
mmap2(NULL, 16532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6e72000
mmap2(0xf6e75000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x2000) = 0xf6e75000
close(9)                                = 0
open("/usr/lib/samba/libsynosdk.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynosdk.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\313\2\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=2270376, ...}) = 0
mmap2(NULL, 2274940, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6c46000
mmap2(0xf6e67000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x221000) = 0xf6e67000
mmap2(0xf6e70000, 5756, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6e70000
close(9)                                = 0
open("/usr/lib/samba/libsynohacore.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynohacore.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300:\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0744, st_size=100432, ...}) = 0
mmap2(NULL, 103200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6c2c000
mmap2(0xf6c44000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x17000) = 0xf6c44000
close(9)                                = 0
open("/usr/lib/samba/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libxml2.so.2", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\307\1\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=1397612, ...}) = 0
mmap2(NULL, 1404180, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6ad5000
mprotect(0xf6c25000, 4096, PROT_NONE)   = 0
mmap2(0xf6c26000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x150000) = 0xf6c26000
mmap2(0xf6c2b000, 3348, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6c2b000
close(9)                                = 0
open("/usr/lib/samba/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200[\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0555, st_size=96628, ...}) = 0
mmap2(NULL, 107016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6aba000
mmap2(0xf6ad1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x16000) = 0xf6ad1000
mmap2(0xf6ad3000, 4616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6ad3000
close(9)                                = 0
open("/usr/lib/samba/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsqlite3.so.0", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260_\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=775884, ...}) = 0
mmap2(NULL, 779940, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf69fb000
mmap2(0xf6ab6000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0xba000) = 0xf6ab6000
close(9)                                = 0
open("/usr/lib/samba/libjson-c.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libjson-c.so.2", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\36\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=42404, ...}) = 0
mmap2(NULL, 45244, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf69ef000
mmap2(0xf69f9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x9000) = 0xf69f9000
close(9)                                = 0
open("/usr/lib/samba/libsynoglusterfs-dsm.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynoglusterfs-dsm.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\7\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=9464, ...}) = 0
mmap2(NULL, 8248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf69ec000
mmap2(0xf69ed000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x1000) = 0xf69ed000
close(9)                                = 0
open("/usr/lib/samba/libsynoacl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynoacl.so", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\34\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=47352, ...}) = 0
mmap2(NULL, 50236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf69df000
mmap2(0xf69ea000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0xa000) = 0xf69ea000
close(9)                                = 0
open("/usr/lib/samba/libattr.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libattr.so.1", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\16\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=17828, ...}) = 0
mmap2(NULL, 20656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf69d9000
mmap2(0xf69dd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x3000) = 0xf69dd000
close(9)                                = 0
open("/usr/lib/samba/libsynocore.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libsynocore.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 v\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0644, st_size=196584, ...}) = 0
mmap2(NULL, 200792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf69a7000
mmap2(0xf69d6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x2e000) = 0xf69d6000
mmap2(0xf69d8000, 88, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf69d8000
close(9)                                = 0
open("/usr/lib/samba/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\7\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0555, st_size=34264, ...}) = 0
mmap2(NULL, 196924, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6976000
mmap2(0xf697e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x7000) = 0xf697e000
mmap2(0xf6980000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6980000
close(9)                                = 0
open("/usr/lib/samba/libicui18n.so.53", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libicui18n.so.53", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\231\10\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=2354820, ...}) = 0
mmap2(NULL, 2355412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6736000
mmap2(0xf696c000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x236000) = 0xf696c000
mmap2(0xf6975000, 212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6975000
close(9)                                = 0
open("/usr/lib/samba/libicuuc.so.53", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libicuuc.so.53", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\247\3\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=1500748, ...}) = 0
mmap2(NULL, 1521436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf65c2000
mmap2(0xf6727000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x164000) = 0xf6727000
mmap2(0xf6732000, 14108, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6732000
close(9)                                = 0
open("/usr/lib/samba/libicudata.so.53", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libicudata.so.53", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\244\1\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=4560, ...}) = 0
mmap2(NULL, 8192, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf65c0000
mmap2(0xf65c1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0) = 0xf65c1000
close(9)                                = 0
open("/usr/lib/samba/libwinbind-client.so", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\v\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=9528, ...}) = 0
mmap2(NULL, 12416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf65bc000
mmap2(0xf65be000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x1000) = 0xf65be000
close(9)                                = 0
open("/Apps/opt/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\34\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=153064, ...}) = 0
mmap2(NULL, 155888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0xf6595000
mmap2(0xf65ba000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x24000) = 0xf65ba000
close(9)                                = 0
mprotect(0xf6ad1000, 4096, PROT_READ)   = 0
mprotect(0xf65ba000, 4096, PROT_READ)   = 0
mprotect(0xf6ab6000, 8192, PROT_READ)   = 0
mprotect(0xf697e000, 4096, PROT_READ)   = 0
mprotect(0xf65c1000, 4096, PROT_READ)   = 0
mprotect(0xf6727000, 40960, PROT_READ)  = 0
mprotect(0xf696c000, 32768, PROT_READ)  = 0
mprotect(0xf69d6000, 4096, PROT_READ)   = 0
mprotect(0xf6c44000, 4096, PROT_READ)   = 0
mprotect(0xf6c26000, 16384, PROT_READ)  = 0
mprotect(0xf69f9000, 4096, PROT_READ)   = 0
mprotect(0xf69ed000, 4096, PROT_READ)   = 0
mprotect(0xf69ea000, 4096, PROT_READ)   = 0
mprotect(0xf69dd000, 4096, PROT_READ)   = 0
mprotect(0xf6f55000, 4096, PROT_READ)   = 0
mprotect(0xf6edf000, 4096, PROT_READ)   = 0
mprotect(0xf6ed2000, 4096, PROT_READ)   = 0
mprotect(0xf6e67000, 4096, PROT_READ)   = 0
mprotect(0xf6e80000, 4096, PROT_READ)   = 0
mprotect(0xf6ead000, 4096, PROT_READ)   = 0
mprotect(0xf6f64000, 4096, PROT_READ)   = 0
mprotect(0xf6e75000, 4096, PROT_READ)   = 0
mprotect(0xf65be000, 4096, PROT_READ)   = 0
mprotect(0xf6f6c000, 4096, PROT_READ)   = 0
set_tid_address(0xf7181768)             = 10697
set_robust_list(0xf7181770, 12)         = 0
futex(0xffbd23dc, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xffbd23dc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, f7181700) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xf6abf530, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xf6abf5b0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="SYN", ...})   = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Thanks for assisting btw.

P.S. Do you have an uninstall script or can I just rm -rf /Apps and remove the references for the PATH? I'm not wanting to uninstall but was just curious if I ever need to.

User avatar
zyxmon
Versed
Versed
Posts: 210
Joined: Fri Apr 23, 2010 9:30 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by zyxmon » Mon Jan 05, 2015 8:29 pm

or can I just rm -rf /Apps and remove the references for the PATH?
A good question! Yes. It will be enough to uninstall Qnapware.

I can only guess that lftp tries to load /Apps/opt/lib/libnss_winbind.so.2 (this is a SAMBA library) - and it is not found in /Apps. So the system libraries are loaded (/lib/libnss_winbind.so.2....), and this leads to segfault.

It is difficult to investigate and solve your problem without the appropriate NAS. There are no attempts to use libnss_winbind.so.2 when I run lftp on the two NASes that I own.

You can try to run lftp this way

Code: Select all

LD_LIBRARY_PATH="/Apps/opt/lib" lftp ....
or this way

Code: Select all

lftp -e "set ftp:ssl-allow off;" ....
If I'll find the solution - I'll tell it.
Entware & Qnapware for embedded Linux systems

User avatar
importedprogrammer
Versed
Versed
Posts: 287
Joined: Mon Sep 01, 2008 10:18 am

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by importedprogrammer » Mon Jan 05, 2015 10:04 pm

MMMM...... :shock:

Code: Select all

DiskStation> lftp
lftp :~> open -u anonymous,ftpuser@adobe.com -p 21 ftp.adobe.com
lftp anonymous@ftp.adobe.com:~> ls
drwxrwxr-x    2 ftp      ftp          4096 May 20  2005 Acrobat
drwxr-xr-x    2 ftp      ftp          4096 Apr 06  2006 Broker
lrwxrwxrwx    1 ftp      ftp             7 Sep 21  2007 Broker.link -> Acrobat
-rwxrwxr-x    1 ftp      ftp           468 Nov 01  1999 Web_Users_Click_Here.html
drwxr-xr-x    2 ftp      ftp          4096 Nov 06  2006 alm_support
-rw-r--r--    1 ftp      ftp            24 Aug 21  2009 armdl-test.txt
lrwxrwxrwx    1 ftp      ftp             7 Sep 21  2007 bin -> usr/bin
drwxr-x--x    2 ftp      ftp          4096 Apr 22  2001 dev
lrwxrwxrwx    1 ftp      ftp             9 Sep 21  2007 ftp -> /site/ftp
-rwxr-xr-x    1 ftp      ftp          2809 Apr 26  2005 lbtest.txt
drwxr-x--x    2 ftp      ftp          8192 May 19  2004 lib
-rwxrwxr-x    1 ftp      ftp          2809 Jun 01  1998 license.txt
drwxrwxr-x    6 ftp      ftp          4096 Feb 22  2014 pub
-rw-r--r--    1 ftp      ftp            14 Jul 11  2006 pushtest
-rwxrwxr-x    1 ftp      ftp           431 Apr 02  2003 signon.txt
drwxrwxr-x    2 ftp      ftp          4096 Jan 10  2014 tsrdir
drwxr-x--x    5 ftp      ftp          4096 Apr 22  2001 usr
lftp anonymous@ftp.adobe.com:/> bye
DiskStation>

Code: Select all

DiskStation> lftp --version
LFTP | Version 4.6.1 | Copyright (c) 1996-2014 Alexander V. Lukyanov

LFTP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LFTP.  If not, see <http://www.gnu.org/licenses/>.

Send bug reports and questions to the mailing list <lftp@uniyar.ac.ru>.

Libraries used: Readline 6.3, Expat 2.1.0, OpenSSL 1.0.1j 15 Oct 2014, zlib 1.2.8
Not a optware. :lol:
DS713+ 4GB Ram linked to Raspberry Pi V2 Samba4 PDC & Cubieboard A20 Samba4 BDC.

User avatar
zyxmon
Versed
Versed
Posts: 210
Joined: Fri Apr 23, 2010 9:30 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by zyxmon » Tue Jan 06, 2015 6:35 am

importedprogrammer
The lftp, that comes with firmware is in your PATH before the Qnapware version. Modify your PATH or add Qnapware profile execution in your profile.

PnoT
Try to do the following. Save your /etc/nsswithch.conf file. Edit /etc/nsswithch.conf and remove winbind and ldap from it. Leave only files. Try lftp. If this will help, I'll patch the system lib to use /Apps/opt/etc/nsswithch.conf instead of /etc/nsswithch.conf
Do not forget to return original nsswithch.conf back.
Entware & Qnapware for embedded Linux systems

User avatar
importedprogrammer
Versed
Versed
Posts: 287
Joined: Mon Sep 01, 2008 10:18 am

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by importedprogrammer » Tue Jan 06, 2015 9:53 am

zyxmon wrote:importedprogrammer
The lftp, that comes with firmware is in your PATH before the Qnapware version. Modify your PATH or add Qnapware profile execution in your profile.
are you sure about that??

Code: Select all

DiskStation> uname -a
Linux DiskStation 3.2.40 #4 SMP Wed Aug 20 13:04:11 CST 2014 x86_64 GNU/Linux synology_bromolow_3612xs
DiskStation> find / -name 'lftp'
DiskStation> find / -name 'lftp'
/var/packages/lftp
/usr/syno/etc/packages/lftp
/usr/local/bin/lftp
/usr/local/lftp
/volume1/@appstore/lftp
/volume1/@appstore/lftp/bin/lftp
DiskStation> lftp --version
LFTP | Version 4.6.1 | Copyright (c) 1996-2014 Alexander V. Lukyanov

looks like only version i have is the one i compiled myself
DS713+ 4GB Ram linked to Raspberry Pi V2 Samba4 PDC & Cubieboard A20 Samba4 BDC.

User avatar
zyxmon
Versed
Versed
Posts: 210
Joined: Fri Apr 23, 2010 9:30 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by zyxmon » Tue Jan 06, 2015 10:29 am

importedprogrammer wrote: looks like only version i have is the one i compiled myself
It looks like you have not installed Qnapware, or lftp. Probably you should post in another topic. This topic is for Qnapware.
Entware & Qnapware for embedded Linux systems

User avatar
importedprogrammer
Versed
Versed
Posts: 287
Joined: Mon Sep 01, 2008 10:18 am

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by importedprogrammer » Tue Jan 06, 2015 10:56 am

zyxmon wrote: It looks like you have not installed Qnapware, or lftp. Probably you should post in another topic. This topic is for Qnapware.
I have lftp (x64) installed as i have already proved in my other post, and yes it not Qnapware, it's a nativeware and works out the the box.
DS713+ 4GB Ram linked to Raspberry Pi V2 Samba4 PDC & Cubieboard A20 Samba4 BDC.

User avatar
zyxmon
Versed
Versed
Posts: 210
Joined: Fri Apr 23, 2010 9:30 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by zyxmon » Tue Jan 06, 2015 12:03 pm

importedprogrammer wrote: I have lftp (x64) installed as i have already proved in my other post, and yes it not Qnapware, it's a nativeware and works out the the box.
You have missed your topic. Please delete your posts here in this topic, they are OFFTOPIC!
Your topic is the next one in the forum:
lftp installed via ipkg - anyway to update?
Entware & Qnapware for embedded Linux systems

yyeightzz
Sharp
Sharp
Posts: 172
Joined: Mon Jul 25, 2011 4:05 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by yyeightzz » Thu Jan 08, 2015 4:40 am

I would like to install MiniDLNA from this repository, I have read the steps so far but before I proceed I just want to make sure I understand everything. I'm used to running apps from the package center where the GUI lets me start/stop, how do I proceed after I've installed MiniDLNA?

User avatar
zyxmon
Versed
Versed
Posts: 210
Joined: Fri Apr 23, 2010 9:30 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by zyxmon » Thu Jan 08, 2015 7:16 am

rewozz wrote:I would like to install MiniDLNA from this repository, I have read the steps so far but before I proceed I just want to make sure I understand everything. I'm used to running apps from the package center where the GUI lets me start/stop, how do I proceed after I've installed MiniDLNA?
You need some basic knowledge of linux before your proceed with optware (IPKG), qnapware or similar system. There is a lot of information on linux in the inetrnet. The scripts in qnapware are similar to optware. The only difference is marked in the first post:
If you are going to use Qnapware services add a line...
You need it to start minidlna automatically. You can also start minidlna from ssh session manually.
Entware & Qnapware for embedded Linux systems

User avatar
zyxmon
Versed
Versed
Posts: 210
Joined: Fri Apr 23, 2010 9:30 pm

Re: Optware replacement - 1700+ packages (arm & x86)

Unread post by zyxmon » Sat Jan 10, 2015 1:31 pm

Qnapware is synchronized with Entware (2014.12 release). The list of upgraded and new packages:
https://github.com/Entware/entware/wiki ... ember-2014

To update the list of packages run:

Code: Select all

opkg update
То upgrade installed packages run

Code: Select all

opkg upgrade
Build scrips are also updated - https://github.com/zyxmon/qnapware
Entware & Qnapware for embedded Linux systems

Post Reply

Return to “IPKG”