Bug 1146

Summary: Various problems with /etc/rc.d/init.d/keytables
Product: [Retired] Red Hat Linux Reporter: Marc MERLIN <marc_soft>
Component: kbdAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-04-06 16:19:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marc MERLIN 1999-02-13 08:40:15 UTC
Gatewaying old bug to bugzilla:

1) English/Spelling
 # This must be executed *after* /usr is
mounted.
-# This means is /usr is NFS-mounted, it needs
to
+# This means that if /usr is NFS-mounted, it needs
to
 # run after networking and NFS mounts are up.

2) It doesn't touch the lock file and gets needlessly
   relaunched at each runlevel
@@ -20,12 +20,14
@@

start)
                # Load the proper
keymap
                echo -n "Loading keymap:
"
+               touch
/var/lock/subsys/keytable
                .
/etc/sysconfig/keyboard
                if [ ${KEYTABLE:-bogus} != "bogus" ];
then
                        loadkeys
$KEYTABLE

fi

;;

stop)
+               rm
/var/lock/subsys/keytable

;;

restart|reload)
                $0 start

3) The script is not run when booting in single user mode
   It's not cool for all the people who don't use qwerty
   keyboards (been there, done that)

4) But even better (and that's the solution I implemented
   on my system):

The ideal fix is that whatever keymap is selected during the
install should be copied somewhere in /etc/sysconfig and
loaded by rc.sysinit because if you have an fsck problem,
you're forced to fix the problem with the wrong keymap, and
that includes typing the root password (very frustrating).

Comment 1 Bill Nottingham 1999-04-06 16:19:59 UTC
fixed in console-tools-*-6, initscripts-3.99-1.