wrong return codes
Markus Friedl
markus at openbsd.org
Tue Aug 19 17:39:14 EST 2003
On Mon, Aug 18, 2003 at 09:33:08PM +0200, Frank Beckmann wrote:
> Hello
>
> we have a Problem with wrong Return Codes in some SSH Relases (3.1p1 and
> 3.6.1p2) under Solaris (6 and 8)
> Example:
>
> ssh system ls /xy
> echo $?
> The file exist or not ...
> Somtimes the ssh give a wrong return code
can you reproduce this?
> Jun 22 03:14:31 d2cred2 sshd[20557]: error: Strange, wait returned pid
> 20648, expected 20762
> Jun 22 03:14:33 d2cred2 sshd[21044]: error: session_by_pid: unknown pid
> 21190
> Jun 22 03:14:38 d2cred2 sshd[15969]: error: Strange, wait returned pid
> 16649, expected 18111
does this always happen when a wrong return code is given?
can you trace the pids?
what process is 20648? and 20762?
More information about the openssh-unix-dev
mailing list