[Bug 3676] New: Redirect conch stdin from /dev/zero rather than requiring a controlling terminal

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Mar 31 11:29:56 AEDT 2024


https://bugzilla.mindrot.org/show_bug.cgi?id=3676

            Bug ID: 3676
           Summary: Redirect conch stdin from /dev/zero rather than
                    requiring a controlling terminal
           Product: Portable OpenSSH
           Version: -current
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Regression tests
          Assignee: unassigned-bugs at mindrot.org
          Reporter: cjwatson at debian.org

Created attachment 3799
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3799&action=edit
regress: Redirect conch stdin from /dev/zero

The new controlling-terminal requirement in regress/conch-ciphers.sh is
somewhat inconvenient.  I know that in theory wrapping the regression
tests in something like script(1) should be fine, but in practice I
haven't been able to get this to work properly in Debian's autopkgtest
framework where we run the regression tests automatically; when I tried
the result was that all the output of the regression tests was hidden
from stdout and only showed up in autopkgtest's separate log file, but
only when running in CI jobs on salsa.debian.org and not locally, which
was extremely weird.

I could probably figure this out if I spent long enough debugging it,
but a tiny patch to avoid the requirement in the first place seems like
a more sensible use of time.  Would you consider the attached patch?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list