After initial installation of Gentoo operating system (following instructions), the initrd and kernel are properly loaded, but OpenRC fails to start any services. I have repeated the process twice with installing Gentoo freshly to ensure there was not something improperly done or missed. Upon loading of the kernel, the following is displayed on the terminal: ------------------------------------------- INIT: version 2.88 booting OpenRC 0.11.8 is starting up Gentoo Linux (i686) Press I to enter interactive boot mode * /proc is already mounted * /Mounting /run ... * /run/openrc: creating directory * /run/lock: creating directory * /run/lock: correcting owner * Caching service dependencies ... [ ok ] INIT: Entering runlevel: 3 This is (none).unknown_domain (Linux i686 3.8.13-gentoo) 15:49:14 (none) login: ------------------------------------------- The system does not attempt to start any of the services. Modifying rc.conf to allow interactive boot shows that, immediately following "Caching service dependencies," OpenRC asks if it should start each of the init scripts. Selecting to load the service results in no output. INIT is properly handling the inittab and executing the OpenRC against each runlevel as appropriate, but OpenRC does not appear to be successfully executing the scripts when it tries to. Because none of the sysinit scripts are actually run, the system boots to a read-only root file system. It is possible to then remount as read-write and attempt to mount /boot, etc. Each init script references /sbin/runscript, which is a symbolic link to /sbin/rc. Executing runscript states "runscript should not be run directly", implying that the execution of this is working properly. Attempting to directly start any of the services, starting with those in sysinit, result in "* WARNING: <service> is already starting". It is possible to perform any of the functions of the script manually without executing the script, such as mounting the root file system as read/write, bringing up the network interface, etc. /etc/fstab: ------------------------------------------- /dev/sda1 /boot ext4 noauto,noatime 1 2 /dev/sda3 / ext4 noatime 0 1 /dev/sda2 none swap sw 0 0 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 /dev/fd0 /mnt/floppy auto noauto 0 0 ------------------------------------------- rc-status after boot: ------------------------------------------- Runlevel: default dmeventd [ stopped ] lvm [ stopped ] syslog-ng [ stopped ] vixie-cron [ stopped ] dhcpcd [ stopped ] net.eth0 [ stopped ] sshd [ stopped ] netmount [ stopped ] lvm-monitoring [ stopped ] mdadm [ stopped ] nscd [ stopped ] local [ stopped ] Runlevel: shutdown savecache [ stopped ] killprocs [ stopped ] mount-ro [ stopped ] Runlevel: sysinit dmesg [ stopped ] udev-mount [ stopped ] devfs [ stopped ] sysfs [ stopped ] udev [ stopped ] Runlevel: boot hwclock [ stopped ] modules [ stopped ] fsck [ stopped ] root [ stopped ] mtab [ stopped ] swap [ stopped ] localmount [ stopped ] sysctl [ stopped ] bootmisc [ stopped ] termencoding [ stopped ] keymaps [ stopped ] hostname [ stopped ] net.lo [ stopped ] tmpfiles.setup [ stopped ] urandom [ stopped ] procfs [ stopped ] swapfiles [ stopped ] Dynamic Runlevel: hotplugged Dynamic Runlevel: needed Dynamic Runlevel: manual ------------------------------------------- grub.conf: ------------------------------------------- default 0 timeout 5 #splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux 3.8.13 root (hd0,0) kernel /boot/kernel-genkernel-x86-3.8.13-gentoo rootfstype=ext4 root=/dev/sda3 initrd /boot/initramfs-genkernel-x86-3.8.13-gentoo # vim:ft=conf: ------------------------------------------- rc-update show: ------------------------------------------- bootmisc | boot devfs | sysinit dhcpcd | default dmesg | sysinit dmeventd | default fsck | boot hostname | boot hwclock | boot keymaps | boot killprocs | shutdown local | default localmount | boot lvm | default lvm-monitoring | default mdadm | default modules | boot mount-ro | shutdown mtab | boot net.eth0 | default net.lo | boot netmount | default nscd | default procfs | boot root | boot savecache | shutdown sshd | default swap | boot swapfiles | boot sysctl | boot sysfs | sysinit syslog-ng | default termencoding | boot tmpfiles.setup | boot udev | sysinit udev-mount | sysinit urandom | boot vixie-cron | default ------------------------------------------- Reproducible: Always Steps to Reproduce: 1. Install (base) Gentoo from LiveCD 2. Boot into kernel Actual Results: System displays login prompt without having run any sysinit, boot, or default runlevel init scripts. Expected Results: System will display login prompt having properly run all init scripts. Portage 2.1.12.2 (default/linux/x86/13.0, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo i686) ================================================================= System uname: Linux-3.8.13-gentoo-i686-AMD_Athlon-tm-_XP_1800+-with-gentoo-2.2 KiB Mem: 901568 total, 20340 free KiB Swap: 1048572 total, 1048572 free Timestamp of tree: Thu, 27 Jun 2013 02:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.69 sys-devel/automake: 1.10.3, 1.12.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -m32 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -m32 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync3.us.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d a52 aac aalib acl acpi alsa ao apache2 apm audiofile avahi bash-completion bcmath berkdb bindist branding bzip2 cairo calendar canna caps cdb cdda cddb cdinstall cdparanoia cdr cgi cjk clamav cli cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx dbi dbm dbus dedicated dga djvu dri dts dv dvb dvd dvdr encode enscript examples exif expat fam fastcgi fbcon ffmpeg fftw filecaps firebird flac flatfile fltk fontconfig footmaticdb fortran ftp gcj gd gdbm geoip ggi gif gimp glut gmp gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphviz gsl gsm gstreamer gtk gtkhtml guile gzip handbook hddtemp hdf5 hscolour iconv imagemagick imap imlib inifile inotify introspection iodbc ios ipod ipv6 jabber jack java java6 javascript jblg jingle jit joystick jpeg jpeg2k kerberos lame lapack lash latex lcms ldap libass libcaca libecd libedit libffi libnotify libsamplerate libwww llrc lm_sensors lua lzma lzo m17n-lib mad matroska mbox memlimit mhash mikmod milter mime mmap mms mmx mng modplug modules mono motif mozilla mp3 mp4 mpeg mpi mplayer msn mssql mtp mudflap mule musepack musicbrainz mysql mysqli nas ncurses netboot netcdf networkmanager nis nls nntp nocd npti nptl nsplugin ocaml ocamlopt odbc offensive ofx ogg openal openexr opengl openmp orc osc oss pam pch pcntl pcre pda perl php plotutils png policykit portaudio posix postgres postscript ppds profile pulseaudio python qdbm qmail-spp qt4 quicktime radius raw rdesktop readline recode rss ruby samba sasl scanner sdl seamonkey session sharedmem shorten simplexml skey slang slp smartcard smp sndfile snmp soap sockets socks5 sound sox speex spell sqlite sqlite3 sse ssl startup-notification subversion suid svg svga symlink syslog systemd sysvipc szip taglib tcl tclmalloc tcpd theora threads tidy tiff timidity tk tokenizer truetype udev unicode upnp upnp-av usb v4l vala vdpau videos vim-syntax vnc vorbis wavpack wayland wddx webkit wifi wmf wxwidgets x264 x86 xattr xcb xcomposite xface xft xine xinerama xinetd xml xmlrpc xmp xmpp xosd xpm xscreensaver xvid yahoo yaz zeroconf zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
In troubleshooting this after the first installation (I am now on my second installation), I decided to see if the scripts were actually being executed. I inserted into the start function of each of the sysinit scripts a statement that would echo some text to the tty1. When in interactive mode, it asked to execute the scripts (as I stated), but there was no output from the command to the terminal. This suggest that even if OpenRC was attempting to execute the script, it never actually executed the code. I also double and triple checked the symlinks and permissions on everything. But since I can execute them from the command prompt and they return the warning pasted in the description, that suggests it isn't the problem.
Can youattach a full rc log, please. You can done it by setting rc_logger="YES" rc_log_path="/var/log/rc.log" in /etc/rc.conf file. One more question is it a container or a "native" system?
Closing due to no response from the reporter. If this is still an issue, feel free to re-open and provide the requested information.