Bug 924311
| Summary: | Encoding under tty broken | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lukáš Zachar <lzachar> | ||||||
| Component: | systemd | Assignee: | systemd-maint | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 19 | CC: | admiller, dennis, johannbg, kdudka, kzak, lnykryn, metherid, msekleta, notting, ooprala, ovasik, p, plautrba, systemd-maint, twaugh, vpavlin, zbyszek | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-04-27 03:12:22 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Ok, thanks for report - and why is that reported against coreutils? I don't understand, can you please be more clear? Because of the rpm -qf `which tty` . Please move it to the appropriate component as I have missed it. Sorry for the trouble. The easiest way to reproduce the problem is to boot the Test day's image http://fedorapeople.org/groups/qa/20130320-gnome/20130320-gnome-x86_64.iso then switch into tty, login and run pstree or mc. No idea what's correct - it might have something to do with agetty/systemd ... probably the main reason there is the UTF-8 character in release name which seems to create the initial mess. I don't know. To have wider audience, moving it to distribution - as the default encoding should probably be Unicode. I would say that pstree utility is not able to correctly recognize that terminal which is connected to doesn't support utf-8 wide chars. Can you provide output of env command? In particular I am interested in variables LANG and LC_CTYPE. I am not sure what is the cause here, although I would say that it one of the following packages, bash, agetty, systemd or glibc (function setlocale(), nl_langinfo()). Created attachment 713988 [details]
env
output of env
LANG=en_US.UTF-8
LC_CTYPE not defined
systemd-202-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2013-6070/systemd-202-2.fc19 systemd-202-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/systemd-202-3.fc19 Package systemd-202-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-202-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-6488/systemd-202-3.fc19 then log in and leave karma (feedback). systemd-202-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 713884 [details] screenshot Description of problem: pstree under tty produces broken output. However if it is piped to head the output is correct. Also mc output is corrupted. Please see the screen shot. Version-Release number of selected component (if applicable): coreutils-8.21-8.fc19.x86_64 How reproducible: aways Steps to Reproduce: 1. mc 2. pstree Actual results: broken screen layout Expected results: nice layout as before Additional info: