openrc: openrc 0.62 breaks rc_parallel="YES"

I had to revert to rc_parallel="NO" on my system after gentoo’s upgrade to openrc 0.62.

The output of sysinit with rc_parallel="YES":

 * Mounting /proc ... [ ok ]
 * Mounting /run ... [ ok ]
 * /run/openrc: creating directory
 * /run/lock: creating directory
 * /run/lock: correcting owner
udev                      | * ERROR: cannot start udev as sysfs would not start
udev-trigger              | * ERROR: cannot start udev-trigger as sysfs would not start
udev                      | * ERROR: cannot start udev as sysfs would not start
 * Create Static Devices Nodes in /dev ... * Mounting /sys ... * Mounting devtmpfs on /dev ... [ ok ]
 [ ok ]
 * Mounting security filesystem ... [ ok ]
 * Mounting config filesystem ... * Mounting /dev/mqueue ... [ ok ]
 [ ok ]
 * Mounting bpf filesystem ... [ ok ]
 * Mounting /dev/pts ... [ ok ]
 [ ok ]
 * Mounting /dev/shm ... [ ok ]

   OpenRC 0.62.2 is starting up Gentoo Linux (x86_64)

 * Caching service dependencies ... [ ok ]

The status of sysinit services after the error:

Runlevel: sysinit
 sysfs                                                             [  started  ]
 devfs                                                             [  started  ]
 udev                                                              [  stopped  ]
 systemd-tmpfiles-setup-dev                                        [  started  ]
 cgroups                                                           [  started  ]
 dmesg                                                             [  started  ]
 udev-trigger                                                      [  stopped  ]

I am not sure what else would be useful to post. Feel free to ask for more input.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 30 (21 by maintainers)

Commits related to this issue

Most upvoted comments

It’s 100% reproducible. Race conditions are rarely this consistent, so I wonder if this is one. I did bisect twice with identical results, but I can bisect once again… I do agree that the five commits that I’m pointing to look innocent.

Here’s all the emerge --info about my sys-devel/openrc:

Portage 3.0.68 (python 3.13.3-final-0, default/linux/amd64/23.0/split-usr, gcc-15, glibc-2.41-r1, 6.14.5-test x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.14.5-test-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-glibc2.41
KiB Mem:     8024716 total,   6710060 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 08 May 2025 04:15:00 +0000
Head commit of repository gentoo: 4e8e07f2ed28cb68a4cc8816435a8252ebb3cd21
Timestamp of repository gentoo-bootstrap: Tue, 06 May 2025 17:57:38 +0000
Head commit of repository gentoo-bootstrap: 870fe93d799acc7351bbcc05f0812010d0d9aec2

Timestamp of repository librewolf: Tue, 06 May 2025 17:57:51 +0000
Head commit of repository librewolf: 5a8c47844c8aaf45ebb7f8e422b015baf6bf517e

Timestamp of repository pg_overlay: Tue, 06 May 2025 20:39:47 +0000
Head commit of repository pg_overlay: 8bd27f4d3c094b23f43b9210c21776d819e04670

sh dash 0.5.12-r1
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37-r3::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r2::gentoo
dev-build/cmake:           3.31.7::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.8.0::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.13.3::gentoo
dev-lang/rust:             1.86.0-r1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.62.2::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             15.1.0::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.14::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    volatile: False

gentoo-bootstrap
    location: /var/db/repos/gentoo-bootstrap
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-bootstrap.git
    masters: gentoo
    volatile: False

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/librewolf.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://mirror1.sox.rs/gentoo/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @GPL-COMPATIBLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CONFIG_SHELL="/bin/dash"
CXXFLAGS="-O3 -march=native -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O3 -march=native -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-request-signature binpkg-signing buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles gpg-keepalive ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -march=native -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="https://gentoo.jss.hu"
INSTALL_MASK="/usr/lib/tmpfiles.d/*.conf"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
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"
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
SHELL="/bin/zsh"
USE="amd64 bzip2 cet crypt ftdi gdbm iconv libtirpc lto multilib ncurses openmp pcre pgo readline savedconfig seccomp sep-usr split-usr ssl system-* test-rust udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-apps/openrc-0.62.2::gentoo was built with the following:
USE="sysv-utils unicode -audit -bash -debug -netifrc -newnet -pam -s6 (-selinux) -sysvinit" ABI_X86="(64)"