Bugreport: Lines swallowed in std_out redirection

TARDIEU Emmanuel ETARDIEU at CPR.FR
Fri Dec 8 04:47:20 EST 2000


I have the same problem with openssh-2.3.0p1 on sun solaris 2.6 sparc.

ssh -l root gaia echo \$PATH

would sometime produce nothing to the standard output.

Emmanuel

> -----Message d'origine-----
> De : Stefan Heinrichs 
> [mailto:stheinri at hamilton.physik.uni-konstanz.de]
> Envoyé : jeudi 7 décembre 2000 16:55
> À : openssh-unix-dev at mindrot.org
> Objet : Bugreport: Lines swallowed in std_out redirection
> 
> 
> Hi,
> 
> we are using OpenSSH_2.3.0p1. When using non-interactive mode,
> sometimes lines are swallowed from standard output:
> 
> root at hydra:~ # ssh anderson "ls -l /usr/sbin/sshd"
> -rwxr-xr-x   1 root     root       612344 Nov 25 20:26 /usr/sbin/sshd
> root at hydra:~ # ssh anderson "ls -l /usr/sbin/sshd"
> root at hydra:~ # ssh anderson "ls -l /usr/sbin/sshd"
> -rwxr-xr-x   1 root     root       612344 Nov 25 20:26 
> /usr/sbin/sshd   
> 
> At the same time the following appears in /var/log/messages:
> 
> sshd[6741]: error: channel 0: internal error: we do not read, but
> chan_read_failed for istate 8
> 
> We tested several kernel versions: 
> 2.2.16, 2.2.17, 2.2.17-SMP with some local patches, 
> and 2.2.17, 2.2.18pre24, 2.2.18pre24-SMP unpatched.
> Compilers used to generate the kernels were: 
> gcc-2.7.2.3, egcs-1.1.2 and gcc-2.95.2.
> 
> The problem could not be reproduced on SMP machines and only occurs in
> non-interactive mode.
> 
> The problem did not occur with OpenSSH-2.1.1p4 
> 
> The problem also disappears if ';true' is appended to the command line
> executed remotely.
> 
> Best regards,
> 
> Stefan
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20001207/0e9c0e6b/attachment.html 


More information about the openssh-unix-dev mailing list