Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41134 - $KEYMAP is not set up when booting as a single user - /sbin/rc problem ?
Summary: $KEYMAP is not set up when booting as a single user - /sbin/rc problem ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 10:23 UTC by M Grundman
Modified: 2004-10-03 02:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M Grundman 2004-02-10 10:23:58 UTC
If I add "keymaps" in /etc/runlevels/boot/.critical the command is not executed.
The error message is "You need to setup $KEYMAP in /etc/rc.conf first". However if I type manually "/etc/init.d/keymaps stop; /etc/init.d/keymaps start" as soon as the boot procedure finishes the command works.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-openmosix-r3)
=================================================================
System uname: 2.4.22-openmosix-r3 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/
ftp://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d afs alsa amd apache2 apm arts avi berkdb bonobo cdr crypt cups curl
derectfb dvd emacs encode esd evo foomaticdb footmaticdb gb gd gdbm gif gnome
gpm gtk gtk2 imagemagick imap imlib java jikes jpeg kde leim libg++ libgda
libwww mad maildir mbox mcal memlimit mikmod mimod motif mozilla mpeg mpi mysql
ncurses netcdf nls oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp
ppds prelude python qt quicktime readline samba sasl scanner sdl slang slp speex
spell ssl svga tcltk tcpd tetex tiff truetype unicode usb wmf x86 xml xml2 xmms
xv zlib"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-15 14:01:08 UTC
Do you have /usr on a different partition?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-15 14:02:22 UTC
Forget that.  Anything special about your config?  What does 'mount' give
you after booting to runlevel 3 for instance?
Comment 3 M Grundman 2004-02-17 03:06:59 UTC
I must add 

KEYMAP="fr"
SET_WINDOWKEYS="yes"

in /etc/conf.d/rc to make it work for a single user. The file /etc/rc.conf seems not to be read.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-19 11:18:42 UTC
Do you get the same error of you do say:

  # /etc/init.d/keymaps pause start

?

Also, please attach your /etc/rc.conf.
Comment 5 SpanKY gentoo-dev 2004-10-03 02:04:44 UTC
please re-open when you've posted the requested info