root@pavka:/home/pavka# strace /etc/init.d/pxe stop execve("/etc/init.d/pxe", ["/etc/init.d/pxe", "stop"], [/* 36 vars */]) = 0 brk(0) = 0x805f000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fc1000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=226720, ...}) = 0 mmap2(NULL, 226720, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f89000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/nosegneg/libc.so.6", 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\220a\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=1352068, ...}) = 0 mmap2(NULL, 1357296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e3d000 mmap2(0xb7f83000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x146) = 0xb7f83000 mmap2(0xb7f86000, 9712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f86000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e3c000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e3c6b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7f83000, 4096, PROT_READ) = 0 munmap(0xb7f89000, 226720) = 0 getpid() = 20882 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 geteuid32() = 0 brk(0) = 0x805f000 brk(0x8080000) = 0x8080000 getppid() = 20881 stat64("/home/pavka", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 stat64(".", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 open("/etc/init.d/pxe", O_RDONLY) = 3 fcntl64(3, F_DUPFD, 10) = 10 close(3) = 0 fcntl64(10, F_SETFD, FD_CLOEXEC) = 0 rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {0x80551a0, ~[RTMIN RT_1], 0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0 read(10, "#!/bin/sh\n\n### BEGIN INIT INFO\n#"..., 8192) = 1339 stat64("/usr/sbin/pxe", {st_mode=S_IFREG|0755, st_size=41344, ...}) = 0 geteuid32() = 0 write(1, "Stopping pxe: ", 14Stopping pxe: ) = 14 stat64("/usr/local/sbin/start-stop-daemon", 0xbfeccbcc) = -1 ENOENT (No such file or directory) stat64("/usr/local/bin/start-stop-daemon", 0xbfeccbcc) = -1 ENOENT (No such file or directory) stat64("/sbin/start-stop-daemon", {st_mode=S_IFREG|0755, st_size=18916, ...}) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e3c6f8) = 20883 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 20883 --- SIGCHLD (Child exited) @ 0 (0) --- stat64("/var/run/pxe/pxe.pid", {st_mode=S_IFREG|0644, st_size=5, ...}) = 0 stat64("/usr/local/sbin/sleep", 0xbfecca3c) = -1 ENOENT (No such file or directory) stat64("/usr/local/bin/sleep", 0xbfecca3c) = -1 ENOENT (No such file or directory) stat64("/sbin/sleep", 0xbfecca3c) = -1 ENOENT (No such file or directory) stat64("/bin/sleep", {st_mode=S_IFREG|0755, st_size=14012, ...}) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e3c6f8) = 20884 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 20884 --- SIGCHLD (Child exited) @ 0 (0) --- stat64("/var/run/pxe/pxe.pid", {st_mode=S_IFREG|0644, st_size=5, ...}) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e3c6f8) = 20885 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 20885 --- SIGCHLD (Child exited) @ 0 (0) --- stat64("/var/run/pxe/pxe.pid", {st_mode=S_IFREG|0644, st_size=5, ...}) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e3c6f8) = 20886