On Tue, Feb 11, 2003 at 12:19:54AM +0100, Jens Kubieziel wrote: > ich nutze signify, um zufällige Signaturen zu generieren. U.a. habe ich > eine eigene Zitatedatei, die mit eingebunden werden soll. Diese Datei > liegt, wie von der Manpage vorgeschlagen, in > /usr/local/share/games/fortunes/. Signify schreibt mittels FIFO in > .signature (signify --fifo=/home/kubi/.signature > --input=/home/kubi/.signify). > > Manchmal "vergisst" nun signify oder auch fortune das Zitat einzufügen. > Dann hat die Signatur das Muster "Name Webseite" und nicht, wie > gewollt "Name Webseite<CR>Zitat". Nebenprodukt dieser Aktion ist dann > ein Zombie. Woran könnte dies liegen?
Ich habe mal strace eingesetzt, um etwas mehr zu sehen. Leider sagt mir der Output eher nichts. Kann jemand von euch etwas herauslesen: [...] --- SIGCHLD (Child exited) --- read(12, "Erfahrung ist die Summe der Dumm"..., 4096) = 108 read(12, "", 4096) = 0 close(12) = 0 munmap(0x401c2000, 4096) = 0 rt_sigaction(SIGHUP, {SIG_IGN}, {0x80931f0, [], SA_RESTART|0x4000000}, 8) = 0 rt_sigaction(SIGINT, {SIG_IGN}, {0x80931f0, [], SA_RESTART|0x4000000}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_IGN}, {0x80931f0, [], SA_RESTART|0x4000000}, 8) = 0 wait4(10182, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 10182 rt_sigaction(SIGHUP, {0x80931f0, [], SA_RESTART|0x4000000}, NULL, 8) = 0 rt_sigaction(SIGINT, {0x80931f0, [], SA_RESTART|0x4000000}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {0x80931f0, [], SA_RESTART|0x4000000}, NULL, 8) = 0 fstat64(3, {st_mode=S_IFIFO|0644, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401c2000 write(3, "Jens Kubieziel "..., 181) = 181 close(3) = 0 munmap(0x401c2000, 4096) = 0 utime("/home/kubi/.signature", [1996/08/14-07:20:00, 1996/08/14-07:20:00]) = 0 time([1045667187]) = 1045667187 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 time([1045667188]) = 1045667188 utime("/home/kubi/.signature", [1996/08/14-07:20:00, 1996/08/14-07:20:00]) = 0 open("/home/kubi/.signature", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3 fstat64(3, {st_mode=S_IFIFO|0644, st_size=0, ...}) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 pipe([12, 13]) = 0 pipe([14, 15]) = 0 fork() = 10205 close(13) = 0 close(15) = 0 read(14, 0xbffff3e8, 4) = ? ERESTARTSYS (To be restarted) --- SIGCHLD (Child exited) --- read(14, "\2\0\0\0", 4) = 4 close(14) = 0 fstat64(3, {st_mode=S_IFIFO|0644, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401c2000 write(3, "Jens Kubieziel "..., 73) = 73 close(3) = 0 munmap(0x401c2000, 4096) = 0 utime("/home/kubi/.signature", [1996/08/14-07:20:00, 1996/08/14-07:20:00]) = 0 time([1045667415]) = 1045667415 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 time([1045667416]) = 1045667416 utime("/home/kubi/.signature", [1996/08/14-07:20:00, 1996/08/14-07:20:00]) = 0 open("/home/kubi/.signature", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666 [...] -- Jens Kubieziel http://www.kubieziel.de "Tatsachen stehen in der Politik oft nicht hoch im Kurs. Selbst hartnäckige Misserfolge gelten noch als Beweis fuer die Richtigkeit der Theorie." (Helmar Nahr) -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)