--- error 2006-11-15 21:37:16.000000000 +0100 +++ shell 2006-11-15 21:46:08.781099712 +0100 @@ -1,4 +1,4 @@ -execve("/usr/local/bin/backup.sh", ["/usr/local/bin/backup.sh"], [/* 9 vars */]) = 0 +execve("/usr/local/bin/backup.sh", ["backup.sh"], [/* 21 vars */]) = 0 uname({sys="Linux", node="simpson", ...}) = 0 brk(0) = 0x80f3000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) @@ -37,8 +37,8 @@ set_thread_area({entry_number:-1 -> 6, base_addr:0x401996c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0x40018000, 33598) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 -open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = -1 ENXIO (No such device or address) -ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffffa80) = -1 EINVAL (Invalid argument) +open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3 +close(3) = 0 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1672096, ...}) = 0 mmap2(NULL, 1672096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4019a000 @@ -52,7 +52,7 @@ geteuid32() = 0 getegid32() = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 -time(NULL) = 1163623021 +time(NULL) = 1163623468 brk(0x80f7000) = 0x80f7000 open("/etc/mtab", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=460, ...}) = 0 @@ -77,15 +77,15 @@ rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 uname({sys="Linux", node="simpson", ...}) = 0 brk(0x80f9000) = 0x80f9000 -stat64("/root", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 -stat64(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 -getpid() = 18537 -getppid() = 18536 -getpgrp() = 18535 +stat64("/usr/local/bin", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 +stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 +getpid() = 18583 +getppid() = 18582 +getpgrp() = 18582 rt_sigaction(SIGCHLD, {0x807a930, [], 0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 open("/usr/local/bin/backup.sh", O_RDONLY|O_LARGEFILE) = 3 -ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffffac8) = -1 ENOTTY (Inappropriate ioctl for device) +ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff6e8) = -1 ENOTTY (Inappropriate ioctl for device) _llseek(3, 0, [0], SEEK_CUR) = 0 read(3, "#!/bin/sh\n\nDATE=`date +\'%Y\'-\'%m\'"..., 80) = 80 _llseek(3, 0, [0], SEEK_SET) = 0 @@ -96,6 +96,8 @@ fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE) fstat64(255, {st_mode=S_IFREG|0755, st_size=775, ...}) = 0 _llseek(255, 0, [0], SEEK_CUR) = 0 +brk(0x80fa000) = 0x80fa000 +brk(0x80fb000) = 0x80fb000 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "#!/bin/sh\n\nDATE=`date +\'%Y\'-\'%m\'"..., 775) = 775 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 @@ -105,18 +107,18 @@ open("/usr/lib/gconv/ISO8859-15.so", O_RDONLY) = 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\4\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=9436, ...}) = 0 -brk(0x80fa000) = 0x80fa000 mmap2(NULL, 12324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40339000 mmap2(0x4033b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x4033b000 close(3) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 +brk(0x80fc000) = 0x80fc000 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, -736, [39], SEEK_CUR) = 0 -clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18538 +clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18584 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGCHLD, {0x807a930, [], 0}, {0x807a930, [], 0}, 8) = 0 close(4) = 0 @@ -125,25 +127,24 @@ close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL}, 8) = 0 -waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18538 +waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18584 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- -waitpid(-1, 0xbffff1e0, WNOHANG) = -1 ECHILD (No child processes) +waitpid(-1, 0xbfffee00, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x807b580, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "WEEK=`date +%-W`\nPTT=yoo@simpson"..., 775) = 736 -brk(0x80fb000) = 0x80fb000 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, -719, [56], SEEK_CUR) = 0 -clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18539 +clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18585 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- -waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18539 -waitpid(-1, 0xbffff1e0, WNOHANG) = -1 ECHILD (No child processes) +waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18585 +waitpid(-1, 0xbfffee00, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGCHLD, {0x807a930, [], 0}, {0x807a930, [], 0}, 8) = 0 close(4) = 0 @@ -164,77 +165,72 @@ rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 -stat64(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 -stat64("/usr/local/sbin/rsync", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/local/bin/rsync", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/sbin/rsync", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/bin/rsync", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/sbin/rsync", 0xbffff858) = -1 ENOENT (No such file or directory) +brk(0x80fd000) = 0x80fd000 +stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 +stat64("/usr/local/sbin/rsync", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/local/bin/rsync", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/sbin/rsync", 0xbffff478) = -1 ENOENT (No such file or directory) stat64("/usr/bin/rsync", {st_mode=S_IFREG|0755, st_size=282428, ...}) = 0 stat64("/usr/bin/rsync", {st_mode=S_IFREG|0755, st_size=282428, ...}) = 0 +brk(0x80fe000) = 0x80fe000 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, -418, [357], SEEK_CUR) = 0 -clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18540 +clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18586 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, {0x807b580, [], 0}, {SIG_DFL}, 8) = 0 -waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18540 +waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18586 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- -waitpid(-1, 0xbffff560, WNOHANG) = -1 ECHILD (No child processes) +waitpid(-1, 0xbffff180, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x807b580, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "dpkg --get-selections > $DESTINA"..., 775) = 418 -stat64(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 -stat64("/usr/local/sbin/dpkg", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/local/bin/dpkg", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/sbin/dpkg", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/bin/dpkg", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/sbin/dpkg", 0xbffff858) = -1 ENOENT (No such file or directory) +stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 +stat64("/usr/local/sbin/dpkg", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/local/bin/dpkg", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/sbin/dpkg", 0xbffff478) = -1 ENOENT (No such file or directory) stat64("/usr/bin/dpkg", {st_mode=S_IFREG|0755, st_size=315924, ...}) = 0 stat64("/usr/bin/dpkg", {st_mode=S_IFREG|0755, st_size=315924, ...}) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -365, [410], SEEK_CUR) = 0 -clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18543 +clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18589 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, {0x807b580, [], 0}, {SIG_DFL}, 8) = 0 -waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18543 +waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18589 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- -waitpid(-1, 0xbffff560, WNOHANG) = -1 ECHILD (No child processes) +waitpid(-1, 0xbffff180, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x807b580, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "mysqldump -uroot -plionel --all-"..., 775) = 365 -brk(0x80fc000) = 0x80fc000 -stat64(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 -stat64("/usr/local/sbin/mysqldump", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/local/bin/mysqldump", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/sbin/mysqldump", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/bin/mysqldump", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/sbin/mysqldump", 0xbffff858) = -1 ENOENT (No such file or directory) +stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 +stat64("/usr/local/sbin/mysqldump", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/local/bin/mysqldump", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/sbin/mysqldump", 0xbffff478) = -1 ENOENT (No such file or directory) stat64("/usr/bin/mysqldump", {st_mode=S_IFREG|0755, st_size=60720, ...}) = 0 stat64("/usr/bin/mysqldump", {st_mode=S_IFREG|0755, st_size=60720, ...}) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -291, [484], SEEK_CUR) = 0 -clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18544 +clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18590 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, {0x807b580, [], 0}, {SIG_DFL}, 8) = 0 -waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18544 +waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18590 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- -waitpid(-1, 0xbffff560, WNOHANG) = -1 ECHILD (No child processes) +waitpid(-1, 0xbffff180, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x807b580, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 @@ -267,26 +263,24 @@ fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 -stat64(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 -stat64("/usr/local/sbin/growisofs", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/local/bin/growisofs", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/sbin/growisofs", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/bin/growisofs", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/sbin/growisofs", 0xbffff858) = -1 ENOENT (No such file or directory) +stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 +stat64("/usr/local/sbin/growisofs", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/local/bin/growisofs", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/sbin/growisofs", 0xbffff478) = -1 ENOENT (No such file or directory) stat64("/usr/bin/growisofs", {st_mode=S_IFREG|0755, st_size=81148, ...}) = 0 stat64("/usr/bin/growisofs", {st_mode=S_IFREG|0755, st_size=81148, ...}) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -81, [694], SEEK_CUR) = 0 -clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18545 +clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18591 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, {0x807b580, [], 0}, {SIG_DFL}, 8) = 0 -waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 144}], 0) = 18545 +waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18591 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- -waitpid(-1, 0xbffff560, WNOHANG) = -1 ECHILD (No child processes) +waitpid(-1, 0xbffff180, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x807b580, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 @@ -303,53 +297,53 @@ fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) close(10) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 -stat64(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 -stat64("/usr/local/sbin/mail", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/local/bin/mail", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/sbin/mail", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/bin/mail", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/sbin/mail", 0xbffff858) = -1 ENOENT (No such file or directory) +stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 +stat64("/usr/local/sbin/mail", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/local/bin/mail", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/sbin/mail", 0xbffff478) = -1 ENOENT (No such file or directory) stat64("/usr/bin/mail", {st_mode=S_IFREG|0755, st_size=78296, ...}) = 0 stat64("/usr/bin/mail", {st_mode=S_IFREG|0755, st_size=78296, ...}) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -9, [766], SEEK_CUR) = 0 -clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18546 +clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18595 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, {0x807b580, [], 0}, {SIG_DFL}, 8) = 0 -waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18546 +waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18595 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- -waitpid(-1, 0xbffff560, WNOHANG) = -1 ECHILD (No child processes) +waitpid(-1, 0xbffff180, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x807b580, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "rm $LOG\n\n", 775) = 9 -stat64(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 -stat64("/usr/local/sbin/rm", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/usr/local/bin/rm", 0xbffff858) = -1 ENOENT (No such file or directory) -stat64("/sbin/rm", 0xbffff858) = -1 ENOENT (No such file or directory) +stat64(".", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0 +stat64("/usr/local/sbin/rm", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/local/bin/rm", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/sbin/rm", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/usr/bin/rm", 0xbffff478) = -1 ENOENT (No such file or directory) +stat64("/sbin/rm", 0xbffff478) = -1 ENOENT (No such file or directory) stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=34472, ...}) = 0 stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=34472, ...}) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -1, [774], SEEK_CUR) = 0 -clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18549 +clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40199708) = 18599 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ---- SIGCHLD (Child exited) @ 0 (0) --- -waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 18549 -waitpid(-1, 0xbffff4e0, WNOHANG) = -1 ECHILD (No child processes) -sigreturn() = ? (mask now []) rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x807b580, [], 0}, {SIG_DFL}, 8) = 0 +waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 18599 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 +--- SIGCHLD (Child exited) @ 0 (0) --- +waitpid(-1, 0xbffff180, WNOHANG) = -1 ECHILD (No child processes) +sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x807b580, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "\n", 775) = 1 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "", 775) = 0 exit_group(0) = ? -Process 18537 detached +Process 18583 detached