Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144513 - baselayout 1.12.x - Can't go to runlevel 1
Summary: baselayout 1.12.x - Can't go to runlevel 1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 04:57 UTC by Oliver Schwabedissen
Modified: 2006-12-12 03:35 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 Oliver Schwabedissen 2006-08-20 04:57:58 UTC
Since upgrading to the stable baselayout-1.12.4 I can't go from default runlevel 3 to runlevel 1 using "init 1".
The system shuts down most of the services, then asks for the root password:

Give root password for maintenance 
(or type Control-D to continue):

If I enter the root password and press ENTER I get the prompt, but also an error message:

sam ~# xLogin incorrect. 
Give root password for maintenance 
(or type Control-D to continue):

'x' is the first letter of my password. If I enter the password again I get

sam ~ # xxLogin incorrect. 
Give root password for maintenance 
(or type Control-D to continue):

'xx' is the first letter of my password twice. If I skip the password and just press ENTER I get

-bash : xx : command not found 
sam ~ #

Another ENTER gives me the password prompt again. So at this moment I can only shut off the system :-(.

Starting the system and going directly to runlevel 1 works fine however. I get the password prompt, enter the password and can start working.

emerge --info:
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 apm arts artswrappersuid asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 bzlib cdparanoia cdr cli crypt css cups dbm dbus divx4linux dlloader doc dri dts dvd dvdr dvdread emacs encode esd exif expat extrafilters fbcon ffmpeg firefox flac font-server foomaticdb fortran ftp gd gdbm gif gimp gimpprint glut gmp gnutls gpg gpm gstreamer gtk gtk2 hal icq ieee1394 imagemagick imap imlib ipv6 isdnlog java jikes jpeg kde ldap libg++ libwww lm_sensors logrotate logwatch lzo lzw-tiff mad mbox mikmod milter mime mjpeg mmg mmx mng moneyplex motif mozsvg mp3 mp4 mpeg mplayer musicbrainz mythtv ncurses nls noamazon nptl nptlonly nsplugin nvidia offensive ogg openexr opengl oss pam pcre pda pdflib perl png ppds pppd python qt3 qt4 quicktime readline real recode reflection samba sasl sdl sensord session smime smp sockets sox spell spl sse sse2 ssl tcltk tcpd tetex tidy tiff toolbar tools truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vcd visualization vorbis webdav win32codecs wxwindows xcomposite xft xine xinetd xml xml2 xmms xorg xosd xscreensaver xv xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de lirc_devices_pctv userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_vga video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-08-20 05:33:19 UTC
this is because at the tail end of /sbin/rc, it launches sulogin when it is switched to single run level
Comment 2 Oliver Schwabedissen 2006-08-20 08:52:57 UTC
(In reply to comment #1)
> this is because at the tail end of /sbin/rc, it launches sulogin when it is
> switched to single run level

I don't have a problem with this, but it should accept the password when it's correct. Unfortunately it doesn't accept the correct password when the system is shuting down from runlevel 3.
Comment 3 SpanKY gentoo-dev 2006-08-20 14:25:51 UTC
no, the problem you're seeing is different

you have two processes trying to control the terminal
Comment 4 SpanKY gentoo-dev 2006-08-21 04:00:05 UTC
stems back to bug 66834
Comment 5 Roy Marples (RETIRED) gentoo-dev 2006-12-12 03:35:36 UTC
This should be fixed in baselayout-1.13.0_alpha9