Description of problem: Garbled output from telnet-server on Fedora 18 Version-Release number of selected component (if applicable): telnet-server-0.17-54.fc18.x86_64 How reproducible: Always Steps to Reproduce: 1. yum install telnet-server 2. chkconfig telnet on 3. service xinetd start 4. telnet localhost 5. optionally try to log in but problem already visible Actual results: missing characters. newlines not working. Expected results: business as usual Additional info:
I find 2 manifestations of the problem.... One looks as you describe.... [egreshko@meimei ~]$ telnet localhost Trying ::1... Connected to localhost. Escape character is '^]'. Fedora release 18 (Spherical Cow) Kernel 3.7.4-204.fc18.x86_64 on an x86_64 (4) eimei login: assword: ast login: Wed Jan 30 08:23:52 from localhost The other... [egreshko@meimei ~]$ telnet f18x Trying 192.168.0.168... Connected to f18x. Escape character is '^]'. Fedora release 18 (Spherical Cow) Kernel 3.7.4-204.fc18.x86_64 on an x86_64 (3) Connection closed by foreign host. In both cases if I add server_args = -D options to the telnet file in /etc/xinetd.d the problem is "fixed".
FYI, I also reverted to the F17 telnet-server package. This did not fix the problem. Testing was done with the firewall disabled as well.
*** Bug 905725 has been marked as a duplicate of this bug. ***
https://lkml.org/lkml/2013/1/15/641 davej points this out... looks like it's a /sbin/login bug. fun.
FWIW, I replaced login with the one from F17 and this "fixed" the problem.
(In reply to comment #5) > FWIW, I replaced login with the one from F17 and this "fixed" the problem. Thanks for testing, reassigning to util-linux for further inspection.
https://lkml.org/lkml/2013/1/15/641 probably should be assigned to the kernel... makes my head hurt thinking about tty though.
*** Bug 906125 has been marked as a duplicate of this bug. ***
I can confirm and reproduce this bug. The version of my installed telnet-server package is: telnet-server-0.17-54.fc18.i686
The patch is in TTY tree and probably will be merged into kernel 3.9-rc.
Hopefully it will make it into the stable releases. In the meantime, we can bring it back after a bit of time in Linus' tree.
This is fixed with commit b81273a132177edd806476b953f6afeb17b786d5 Author: Jiri Slaby <jslaby> Date: Tue Jan 15 23:26:22 2013 +0100 TTY: do not reset master's packet mode which is in rawhide already. There's no CC to stable, so we'll have to look at bringing it back as I said in my previous comment.
Added to F17/F18.
kernel-3.8.3-101.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/kernel-3.8.3-101.fc17
kernel-3.8.3-201.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/kernel-3.8.3-201.fc18
Package kernel-3.8.3-201.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-3.8.3-201.fc18' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3893/kernel-3.8.3-201.fc18 then log in and leave karma (feedback).
kernel-3.8.3-201.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
Thank you for fixing this bug. The output from telnet-server is ok again.
kernel-3.8.3-103.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.