I upgraded a lot of packages on my laptop yesterday, and after restarting the system today, I noticed that most of the services were down. Further investigation revealed that the system booted into the default runlevel configuration which I normally never use - I've got two specific softlevel configurations named desktop and mobile. And although these soflevels are specified in my grub config, whatever component should be evaluating them silently ignores them. Unfortunately I do not have the slightest idea where to start looking... my grub config: default 1 splashimage = (hd0,1)/grub/splash.xpm.gz password xxxxxxxxxxxxx title = Tux mobil root (hd0,1) kernel /vmlinuz root=/dev/hda5 video=nvidiafb:1400x1050 splash=verbose,theme:emergence softlevel=mobile SWITCHTO=nonet initrd=/initrd-gentoo-1280x1024 title = Tux stationaer root (hd0,1) kernel /vmlinuz root=/dev/hda5 video=nvidiafb:1400x1050 splash=verbose,theme:emergence softlevel=desktop initrd=/initrd-gentoo-1280x1024 title = wandelnde Fehlersammlung lock rootnoverify (hd0,0) chainloader +1 my emerge --info: Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r3 i686) ================================================================= System uname: 2.6.16-gentoo-r3 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.4 Last Sync: Mon, 14 Aug 2006 02:00:01 +0000 ccache version 2.3 [disabled] 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 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="de_DE.UTF-8" LINGUAS="de en_GB en_US" MAKEOPTS="-j2" 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://zathras/gentoo-portage" USE="x86 X a52 aac aalib alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups divx4linux dlloader doc dri dv dvd dvdr dvdread eds elibc_glibc emboss encode esd fame firebird foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg kernel_linux libg++ libwww linguas_de linguas_en_GB linguas_en_US mad mikmod mmx motif mp3 mpeg ncurses nls nptl nsplugin nvidia ogg opengl oss pam pcmcia pcre pdflib perl png postgres pppd python qt qt3 qt4 quicktime readline reflection samba sasl scanner sdl session spell spl sqlite sse sse2 sse3 ssl subtitles tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia video_cards_vesa vorbis xinerama xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I cannot replicate this. What is the contents /var/lib/init.d/softlevel?
sinclair ~ # cat /var/lib/init.d/softlevel desktop That's the softlevel set by the grub config. I'll just reboot to another softlevel to verify that it's actually set...
Relax, lean back, forget it. A relic of my very first gentoo installation caught me: Copying /etc/init/net.dummy0 instead of creating a symlink... This prevented net from being started which in turn prevented most of the other serviced, depending on net, from starting. I apologize for any inconvience caused...