On my testing machine, I recently rebooted into kernel 5.10.26 for the security update. Since then, the default runlevel is skipped and " " (blank) runlevel is attempted to be started and succeeds somewhat. It appears to run shutdown killing procs and remounting ro, then start most services in default anyway. /run/openrc/softlevel is empty until I do 'openrc default' to bring some sanity. Rebuilt OpenRC to be sure but it persists The new glibc[-crypt] is applied here but do not know if that is a factor. Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1, gcc-10.3.0, glibc-2.33-r3, 5.10.52-gentoo x86_64) ================================================================= System uname: Linux-5.10.52-gentoo-x86_64-Intel_Xeon_E3-12xx_v2_-Ivy_Bridge,_IBRS-with-glibc2.33 KiB Mem: 8151588 total, 7954460 free KiB Swap: 1048572 total, 1048572 free Head commit of repository gentoo: cab1f2f724c6831fb5756b608f55bb54cb198807 Head commit of repository grknight: 7a9d7dc6a95454eb4f89241f888470db5b5f21b0 sh bash 5.1_p8 ld GNU ld (Gentoo 2.36.1 p3) 2.36.1 distcc 3.4 x86_64-pc-linux-gnu [disabled] app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r1::gentoo dev-lang/python: 3.9.5_p2::gentoo dev-util/cmake: 3.21.0::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.43.3::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.3-r1::gentoo sys-devel/binutils: 2.36.1-r1::gentoo sys-devel/gcc: 10.3.0-r2::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r3::gentoo Repositories: gentoo location: /var/repo/portage sync-type: git sync-uri: git+ssh://git@git.gentoo.org/repo/gentoo.git sync-user: grknight priority: -1000 sync-git-pull-extra-opts: -4 crossdev location: /var/repo/crossdev masters: gentoo local location: /var/repo/local masters: gentoo grknight location: /var/repo/grknight sync-type: git sync-uri: git+ssh://git@github.com:grknight/gentoo.git sync-user: grknight masters: gentoo priority: 60 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2 -mtune=sandybridge -fno-diagnostics-color" CHOST="x86_64-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/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=core2 -mtune=sandybridge -fno-diagnostics-color" DISTDIR="/var/lib/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --keep-going --autounmask-write=n" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/usr/lib/sysusers.d" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/var/lib/portage/distfiles/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl adns amd64 bzip2 cli crypt dri elogind fortran gcrypt gdbm iconv ipv6 libglvnd libtirpc multilib mysql ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" CPU_FLAGS_X86="mmx mmxext sse sse2" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4 php8-0" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="modesetting" Unset: CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Created attachment 726133 [details] rc.log Log of services trying to debug
Reverting to 5.10.26 makes it boot normally
Further debugging is saying that argv[1] is an empty string (not NULL) for reasons yet to be determined. This passes the rc_runlevel_exists check and then confuses OpenRC on what to start.
This is dracut's exposing the fault. Rolling back to an earlier initramfs fixes booting. But still please guard against empty strings for argv[1]
https://github.com/OpenRC/openrc/pull/431
AThis is fixed in 0.43.5.