Bug 1146 - Various problems with /etc/rc.d/init.d/keytables
Various problems with /etc/rc.d/init.d/keytables
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: kbd (Show other bugs)
5.2
All Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-02-13 03:40 EST by Marc MERLIN
Modified: 2014-03-16 22:08 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-04-06 12:19:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marc MERLIN 1999-02-13 03:40:15 EST
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 12:19:59 EDT
fixed in console-tools-*-6, initscripts-3.99-1.

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