alex-pandora:~$ strace exagear
execve("/usr/bin/exagear", ["exagear"], [/* 32 vars */]) = 0
brk(0) = 0xbf000
uname({sys="Linux", node="alex-pandora", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400fa000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/var/run/ld.so.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/v7l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v7l", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/v7l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/v7l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/v7l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/v7l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v7l", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/lib/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=3832, ...}) = 0
open("/usr/lib/tls/v7l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v7l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v7l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v7l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v7l", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/v7l/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v7l", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/fast-mult/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/fast-mult/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/fast-mult/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/fast-mult", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/half/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/half", 0xbe944028) = -1 ENOENT (No such file or directory)
open("/usr/lib/libncurses.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\334\343"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=259312, ...}) = 0
mmap2(NULL, 292880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4019a000
mprotect(0x401d2000, 28672, PROT_NONE) = 0
mmap2(0x401d9000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x37) = 0x401d9000
mmap2(0x401e1000, 2064, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401e1000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\4\t\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9752, ...}) = 0
mmap2(NULL, 41136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4008f000
mprotect(0x40091000, 28672, PROT_NONE) = 0
mmap2(0x40098000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40098000
close(3) = 0
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0 &\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=39924, ...}) = 0
mmap2(NULL, 71368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400ca000
mprotect(0x400d4000, 28672, PROT_NONE) = 0
mmap2(0x400db000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0x400db000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\fR\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1168724, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40023000
mmap2(NULL, 1204784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401e2000
mprotect(0x402fb000, 32768, PROT_NONE) = 0
mmap2(0x40303000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x119) = 0x40303000
mmap2(0x40306000, 8752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40306000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4005e000
syscall_983045(0x4005e4a0, 0x4005e4a0, 0x684, 0x4005eb78, 0x4008e050, 0x4008e000, 0, 0xf0005, 0x50, 0x4008e600, 0xffff5300, 0xbe94478c, 0, 0xbe9445f8, 0x4007a844, 0x4006aff8, 0x20000010, 0x4005e4a0, 0xc488, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
mprotect(0x40303000, 8192, PROT_READ) = 0
mprotect(0x40098000, 4096, PROT_READ) = 0
mprotect(0x4008d000, 4096, PROT_READ) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3) = 0
brk(0) = 0xbf000
brk(0xc0000) = 0xc0000
brk(0xc1000) = 0xc1000
getuid32() = 1000
getgid32() = 1001
geteuid32() = 1000
getegid32() = 1001
gettimeofday({1414619264, 260192}, NULL) = 0
brk(0xc2000) = 0xc2000
brk(0xc3000) = 0xc3000
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40086000
read(3, "MemTotal: 253772 kB\nMemF"..., 1024) = 1024
close(3) = 0
munmap(0x40086000, 4096) = 0
brk(0xc4000) = 0xc4000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="alex-pandora", ...}) = 0
stat64("/home/alex", {st_mode=S_IFDIR|0755, st_size=2096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=2096, ...}) = 0
getpid() = 1730
getppid() = 1729
brk(0xc5000) = 0xc5000
getpgrp() = 1729
rt_sigaction(SIGCHLD, {0x3bce0, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=1437, rlim_max=1437}) = 0
brk(0xc6000) = 0xc6000
open("/usr/bin/exagear", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbe9447c4) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "#! /bin/bash\n\n#\n# This script st"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
dup2(3, 255) = 255
close(3) = 0
fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
fcntl64(255, F_GETFL) = 0x20000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=2484, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR) = 0
brk(0xc7000) = 0xc7000
brk(0xc8000) = 0xc8000
read(255, "#! /bin/bash\n\n#\n# This script st"..., 2484) = 2484
brk(0xc9000) = 0xc9000
brk(0xca000) = 0xca000
brk(0xcb000) = 0xcb000
brk(0xcc000) = 0xcc000
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -867, [1617], SEEK_CUR) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4005e048) = 1731
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x3bce0, [], 0x4000000 /* SA_??? */}, {0x3bce0, [], 0x4000000 /* SA_??? */}, 8) = 0
close(4) = 0
read(3, "/opt/exagear/images/ubuntu-1204l"..., 128) = 35
read(3, "", 128) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x3c940, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1731
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbe943d64, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [QUIT BUS FPE KILL USR2 PIPE ALRM TERM STOP TSTP])
rt_sigaction(SIGINT, {SIG_DFL}, {0x3c940, [], 0x4000000 /* SA_??? */}, 8) = 0
read(255, "\nshell=\"/bin/bash\"\n\nif [ -n \"$SH"..., 2484) = 867
stat64("/opt/exagear/images/ubuntu-1204lts/bin/bash", {st_mode=S_IFREG|0755, st_size=920788, ...}) = 0
geteuid32() = 1000
getegid32() = 1001
getuid32() = 1000
getgid32() = 1001
access("/opt/exagear/images/ubuntu-1204lts/bin/bash", X_OK) = 0
stat64("/opt/exagear/images/ubuntu-1204lts/bin/bash", {st_mode=S_IFREG|0755, st_size=920788, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=2096, ...}) = 0
stat64("/usr/local/sbin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/sbin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/bin/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/X11/service", 0xbe944580) = -1 ENOENT (No such file or directory)
stat64("/usr/games/service", 0xbe944580) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
_llseek(255, -339, [2145], SEEK_CUR) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4005e048) = 1732
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x3c940, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
wait4(-1, /usr/bin/exagear: line 76: service: command not found
[{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 1732
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbe94423c, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [HUP])
rt_sigaction(SIGINT, {SIG_DFL}, {0x3c940, [], 0x4000000 /* SA_??? */}, 8) = 0
read(255, "\n(\n cd ~\n $ubt --path-prefix $"..., 2484) = 339
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -8, [2476], SEEK_CUR) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4005e048) = 1733
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x3c940, [], 0x4000000 /* SA_??? */}, {SIG_DFL}, 8) = 0
wait4(-1, /usr/bin/exagear: line 91: 1734 Killed $ubt --path-prefix $image_dir --vpaths-list $vpaths_list -- /bin/echo "Starting the shell in the guest image $image_dir"
Failed to start the shell under ExaGear
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 1733
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbe9442bc, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [HUP])
rt_sigaction(SIGINT, {SIG_DFL}, {0x3c940, [], 0x4000000 /* SA_??? */}, 8) = 0
read(255, "exit $?\n", 2484) = 8
io_submit(0x1, 0x1, 0xfbad2088 <unfinished ... exit status 1>
Process 1730 detached