Bug 56353 - zsh doesn't work over serial port.
Summary: zsh doesn't work over serial port.
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: zsh (Show other bugs)
(Show other bugs)
Version: 7.3
Hardware: All Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Aaron Brown
Keywords: Reopened
Depends On:
TreeView+ depends on / blocked
Reported: 2001-11-16 01:02 UTC by hjl
Modified: 2017-05-17 11:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-05-17 11:53:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
A patch (2.07 KB, patch)
2001-11-16 01:02 UTC, hjl
no flags Details | Diff
A patch to support serial port. (1.76 KB, patch)
2002-05-20 23:00 UTC, hjl
no flags Details | Diff

Description hjl 2001-11-16 01:02:17 UTC
I can't log in from a serial port under kernel 2.4.9-12. It used
to work fine. zsh blocks at

open("/dev/ttyS0", O_RDWR|O_NOCTTY)

Comment 1 hjl 2001-11-16 01:02:46 UTC
Created attachment 37703 [details]
A patch

Comment 2 Trond Eivind Glomsrxd 2001-11-16 16:26:43 UTC
Can you see if using zsh as shipped with Red Hat Linux 7.2 helps?

Comment 3 hjl 2001-11-16 16:31:19 UTC
I did try zsh from RedHat 7.2. It has the same problem.

Comment 4 Trond Eivind Glomsrxd 2001-11-16 19:31:10 UTC
The one from rawhide? (4.0.4)

Comment 5 hjl 2001-11-16 19:46:10 UTC
The same.

# rpm -q zsh
# strace -p 20994
open("/dev/ttyS0", O_RDWR|O_NOCTTY|O_LARGEFILE

Comment 6 hjl 2002-05-20 22:59:16 UTC
zsh in RedHat 7.3 has the same problem. I am uploading a patch.

Comment 7 hjl 2002-05-20 23:00:12 UTC
Created attachment 58047 [details]
A patch to support serial port.

Comment 8 Trond Eivind Glomsrxd 2002-06-28 17:15:27 UTC
Patch added to zsh-4.0.4-8

Comment 9 Kamil Dudka 2016-12-14 14:55:33 UTC
Has this patch been ever proposed to Zsh upstream?

Comment 10 Kamil Dudka 2017-05-17 11:42:14 UTC
According to the following thread at the upstream mailing list:


... it was not a bug of Zsh, so the fix does not belong there.  A possible workaround is to use 'agetty -L':


... or mgetty:


Comment 11 Kamil Dudka 2017-05-17 11:53:12 UTC
patch removed in zsh-5.3.1-6.fc27 by the following downstream commit:


Note You need to log in before you can comment on or make changes to this bug.