Red Hat Bugzilla – Bug 105653
ascii graphics of newt utils is corrupted in single user mode
Last modified: 2014-03-16 22:38:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
Using Fedora test2. During the install I selected LDAP as a network login
service. Due local networking problems the system did not see thet LDAP server
at all so I could not login into the system.
Rebooted the system uptio single user mode to reconfigure authentication with
authconfig utility. authconfig launches and works fine, but the ascii graphics
was terrible. Some charset problems or whatever. Ascii lines were corrupted and
some weird color, blinking text fields and so on was seen.
But authconfig worked actually and I got the system reconfigured to authenticate
locally. After booting upto runlevel 5 I was able to log in normally.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. boot the system into single user mode (add 'single' to grub cmdline)
2. anter command 'authconfig'
3. see the mess
authconfig looks normal if you launch it in a X11 terminal, or if you open a
text mode virtual screen (crtl+alt+f5), login and launch it there. It's the
single user mode which corrupts ascii graphics of this utility. Perhaps the same
happens in single user mode for other text mode utils as well? Haven't tried that.
What's your /etc/sysconfig/i18n?
The machine is in my office. I'll tell about i18n on early Monday morning EEST.
Used default English localization and installed Finnish as an auxiliary locale.
Kbd layout was Finnish(latin1) alias fi-latin1. But I'll tell the exact content
of i18n later.
Here's my /etc/sysconfig/i18n:
This happens (to all utils using newt or ncurses) because in the
single user mode the LANG env variable is not set.
if you run it using:
# LANG="en_US.UTF-8" authconfig
it works fine.
Switching component to where this would have to be fixed.
*** Bug 127179 has been marked as a duplicate of this bug. ***
Added in SysVinit-2.85-39; the single user shell is now a login shell.
Package name is now sysvinit in latest Fedora.