root@vm-sbox-hristo:/usr/local (master)# strace /etc/init.d/apache2 start
execve("/etc/init.d/apache2", ["/etc/init.d/apache2", "start"], [/* 36 vars */]) = 0
brk(NULL) = 0x56273e3ee000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0b064a2000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=36234, ...}) = 0
mmap(NULL, 36234, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0b06499000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0
mmap(NULL, 3967488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0b05eb6000
mprotect(0x7f0b06076000, 2093056, PROT_NONE) = 0
mmap(0x7f0b06275000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7f0b06275000
mmap(0x7f0b0627b000, 14848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0b0627b000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0b06498000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0b06497000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0b06496000
arch_prctl(ARCH_SET_FS, 0x7f0b06497700) = 0
mprotect(0x7f0b06275000, 16384, PROT_READ) = 0
mprotect(0x56273d1c3000, 8192, PROT_READ) = 0
mprotect(0x7f0b064a4000, 4096, PROT_READ) = 0
munmap(0x7f0b06499000, 36234) = 0
getuid() = 0
getgid() = 0
getpid() = 4071
rt_sigaction(SIGCHLD, {0x56273cfb7540, ~[RTMIN RT_1], SA_RESTORER, 0x7f0b05eeb4a0}, NULL, 8) = 0
geteuid() = 0
brk(NULL) = 0x56273e3ee000
brk(0x56273e40f000) = 0x56273e40f000
getppid() = 4069
stat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/init.d/apache2", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
geteuid() = 0
getegid() = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x56273cfb7540, ~[RTMIN RT_1], SA_RESTORER, 0x7f0b05eeb4a0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f0b05eeb4a0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f0b05eeb4a0}, NULL, 8) = 0
read(10, "#!/bin/sh\n### BEGIN INIT INFO\n# "..., 8192) = 8087
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4072
close(4) = 0
read(3, "/var/run/apache2/apache2.pid\n", 128) = 29
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4072
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4072, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4072
stat("/etc/default/rcS", {st_mode=S_IFREG|0644, st_size=620, ...}) = 0
open("/etc/default/rcS", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "#\n# /etc/default/rcS\n#\n# Default"..., 8192) = 620
read(11, "", 8192) = 0
close(11) = 0
open("/lib/lsb/init-functions", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "# /lib/lsb/init-functions for De"..., 8192) = 8192
read(11, " Debian, would output \"Starting "..., 8192) = 3314
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4073
close(4) = 0
read(3, "/lib/lsb/init-functions.d/01-ups"..., 128) = 128
read(3, "/lsb/init-functions.d/50-ubuntu-"..., 128) = 78
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4073
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4073, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4073
faccessat(AT_FDCWD, "/lib/lsb/init-functions.d/01-upstart-lsb", R_OK) = 0
open("/lib/lsb/init-functions.d/01-upstart-lsb", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "# Allow executing init.d scripts"..., 8192) = 965
faccessat(AT_FDCWD, "/etc/init//etc/init.d/apache2.conf", R_OK) = -1 ENOENT (No such file or directory)
faccessat(AT_FDCWD, "/etc/init/apache2.conf", R_OK) = -1 ENOENT (No such file or directory)
read(12, "", 8192) = 0
close(12) = 0
faccessat(AT_FDCWD, "/lib/lsb/init-functions.d/20-left-info-blocks", R_OK) = 0
open("/lib/lsb/init-functions.d/20-left-info-blocks", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "# Default info blocks put to the"..., 8192) = 1088
read(12, "", 8192) = 0
close(12) = 0
faccessat(AT_FDCWD, "/lib/lsb/init-functions.d/40-systemd", R_OK) = 0
open("/lib/lsb/init-functions.d/40-systemd", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 12
close(3) = 0
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
read(12, "# -*-Shell-script-*-\n# /lib/lsb/"..., 8192) = 2587
stat("/run/systemd/system", {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4074
close(4) = 0
read(3, "LoadState=loaded\n", 128) = 17
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4074
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4074, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4074
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4075
close(4) = 0
read(3, "/etc/init.d/apache2\n", 128) = 20
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4075
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4075, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4075
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4076
close(4) = 0
read(3, "CanReload=yes\n", 128) = 14
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4076
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4076, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4076
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4077
close(4) = 0
read(3, "degraded\n", 128) = 9
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 4077
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4077, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4077
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
geteuid() = 0
stat("/usr/bin/tput", {st_mode=S_IFREG|0755, st_size=14648, ...}) = 0
faccessat(AT_FDCWD, "/usr/bin/tput", X_OK) = 0
geteuid() = 0
stat("/usr/bin/expr", {st_mode=S_IFREG|0755, st_size=43760, ...}) = 0
faccessat(AT_FDCWD, "/usr/bin/expr", X_OK) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 13
close(1) = 0
fcntl(13, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 14
close(2) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4078
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4078
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4078, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4078
dup2(13, 1) = 1
close(13) = 0
dup2(14, 2) = 2
close(14) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 13
close(1) = 0
fcntl(13, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 14
close(2) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4079
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4079
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4079, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4079
dup2(13, 1) = 1
close(13) = 0
dup2(14, 2) = 2
close(14) = 0
write(1, "[....] ", 7[....] ) = 7
write(1, "Starting apache2 (via systemctl)"..., 49Starting apache2 (via systemctl): apache2.service) = 49
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4080
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4080
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4080, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4080
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
geteuid() = 0
stat("/usr/bin/tput", {st_mode=S_IFREG|0755, st_size=14648, ...}) = 0
faccessat(AT_FDCWD, "/usr/bin/tput", X_OK) = 0
geteuid() = 0
stat("/usr/bin/expr", {st_mode=S_IFREG|0755, st_size=43760, ...}) = 0
faccessat(AT_FDCWD, "/usr/bin/expr", X_OK) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 13
close(1) = 0
fcntl(13, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 14
close(2) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4111
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4111
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4111, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4111
dup2(13, 1) = 1
close(13) = 0
dup2(14, 2) = 2
close(14) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 13
close(1) = 0
fcntl(13, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 14
close(2) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4112
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4112
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4112, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4112
dup2(13, 1) = 1
close(13) = 0
dup2(14, 2) = 2
close(14) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4113
close(4) = 0
read(3, "\33[31m", 128) = 5
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4113
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4113, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4113
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4114
close(4) = 0
read(3, "\33[32m", 128) = 5
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4114
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4114, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4114
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4115
close(4) = 0
read(3, "\33[33m", 128) = 5
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4115
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4115, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4115
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4116
close(4) = 0
read(3, "\33[39;49m", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4116
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4116, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4116
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4117
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4117
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4117, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4117
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4118
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4118
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4118, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4118
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4119
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4119
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4119, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4119
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4120
wait4(-1, [ ok [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4120
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4120, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4120
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4121
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4121
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4121, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4121
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4122
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4122
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4122, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4122
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
geteuid() = 0
stat("/usr/bin/tput", {st_mode=S_IFREG|0755, st_size=14648, ...}) = 0
faccessat(AT_FDCWD, "/usr/bin/tput", X_OK) = 0
geteuid() = 0
stat("/usr/bin/expr", {st_mode=S_IFREG|0755, st_size=43760, ...}) = 0
faccessat(AT_FDCWD, "/usr/bin/expr", X_OK) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 13
close(1) = 0
fcntl(13, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 14
close(2) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4123
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4123
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4123, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4123
dup2(13, 1) = 1
close(13) = 0
dup2(14, 2) = 2
close(14) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10) = 13
close(1) = 0
fcntl(13, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
fcntl(2, F_DUPFD, 10) = 14
close(2) = 0
fcntl(14, F_SETFD, FD_CLOEXEC) = 0
dup2(1, 2) = 2
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4124
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4124
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4124, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4124
dup2(13, 1) = 1
close(13) = 0
dup2(14, 2) = 2
close(14) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4125
close(4) = 0
read(3, "\33[31m", 128) = 5
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4125
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4125, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4125
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4126
close(4) = 0
read(3, "\33[33m", 128) = 5
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4126
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4126, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4126
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0b064979d0) = 4127
close(4) = 0
read(3, "\33[39;49m", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 4127
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4127, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]}) = 4127
write(1, ".\n", 2.
) = 2
close(12) = 0
close(11) = 0
exit_group(0) = ?
+++ exited with 0 +++