Full_Name: Matthias Loepfe
Version: 2.3.9
OS: Solaris 2.6
Submission from: (NULL) (193.192.235.3)
Hi
I'm not sure if the following is realy seen as a bug, but I think it
is one.
If I use the following Option:
'SSLRandomSeed startup exec:bin/truerand 16'
The process which get spawned has no command line arguments. This lets
the truerand produce randomnumbers till it cannot write any more to
stdout (EPIPE). This terminates the truerand and the parent process
gets the exit condition and logs it - which I feel is not elegant.
I tried to circument it by the following Option which does not work:
'SSLRandomSeed startup exec:"bin/truerand 16" 16
There are two solutions:
1. catch the SIG_PIPE in truerand
2. pass the number of expected bytes as a command line arg
see the following truss output:
839: sigaction(SIGALRM, 0xEFFFFAD0, 0xEFFFFB50) = 0
839: setitimer(ITIMER_REAL, 0xEFFFFB6C, 0xEFFFFB6C) = 0
839: Received signal #14, SIGALRM [caught]
839: write(1, " j", 1) Err#32 EPIPE
839: Received signal #13, SIGPIPE [default]
839: *** process killed ***
837: waitid(P_PID, 839, 0xEFFFFAC0, WEXITED|WTRAPPED|WNOWAIT) = 0
837: ioctl(0, TIOCGPGRP, 0xEFFFFA7C) Err#6 ENXIO
837: getpgid(839) = 829
837: ioctl(0, TIOCGPGRP, 0xEFFFFA7C) Err#6 ENXIO
837: waitid(P_PID, 839, 0xEFFFFAC0, WEXITED|WTRAPPED) = 0
837: write(2, " B r o k e n P i p e\n", 12) = 12
Regards
Matthias
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]