View Issue Details

IDProjectCategoryView StatusLast Update
0000667channel: kernel/el7kernel-mlpublic2016-08-29 16:41
Reporterharryw Assigned Toburakkucat  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000667: no stdout when ssh'ing and allocating a pty
DescriptionUsing a 4.5.4 kernel-ml on CentOS 7, we've stumbled across a regression in which no stdout is returned when running an individual command via ssh *and* allocating a pseudo-terminal.

Example:

$ ssh -t user@centos-7.example.com "/bin/bash -c 'hostname -s'"
Connection to centos-7.example.com closed.
$ ssh -t user@centos-7.example.com "/bin/bash -c 'hostname -s; sleep 0.0000001'"
centos-7
Connection to centos-7.example.com closed.
$ ssh user@centos-7.example.com "/bin/bash -c 'hostname -s'"
centos-7

NOTE: the first command did not return any output!
Additional InformationI've found at least one other community reported bug that encountered this as well, cf. https://github.com/ansible/ansible/issues/15549
TagsNo tags attached.

Activities

toracat

2016-08-12 16:31

administrator   ~0004836

Is it certain that this is purely a kernel issue? Or can this be a combination of the kernel and the version of ssh used, as someone suggested in the ansible thread you quoted?

harryw

2016-08-12 16:33

reporter   ~0004837

I was able to bisect this by *only* changing the kernel and leaving everything else the same.

toracat

2016-08-12 17:46

administrator   ~0004838

Are you seeing this issue with the latest (4.7.0 at the moment) kernel-ml?

harryw

2016-08-29 16:30

reporter   ~0004857

I've retested on 4.7.2 and no longer see this issue.

$ uname -r
4.7.2-1.el7.elrepo.x86_64

toracat

2016-08-29 16:39

administrator   ~0004858

With that report, I am now closing this ticket as resolved.

Issue History

Date Modified Username Field Change
2016-08-12 15:51 harryw New Issue
2016-08-12 15:51 harryw Status new => assigned
2016-08-12 15:51 harryw Assigned To => burakkucat
2016-08-12 16:31 toracat Note Added: 0004836
2016-08-12 16:33 harryw Note Added: 0004837
2016-08-12 17:46 toracat Note Added: 0004838
2016-08-29 16:30 harryw Note Added: 0004857
2016-08-29 16:39 toracat Note Added: 0004858
2016-08-29 16:39 toracat Status assigned => resolved
2016-08-29 16:39 toracat Resolution open => fixed