Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r8, 5.11.10 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.11.10-x86_64-Intel-R-_Core-TM-_i7-4710HQ_CPU_@_2.50GHz-with-glibc2.2.5 KiB Mem: 16275156 total, 14003632 free KiB Swap: 16773116 total, 16773116 free Timestamp of repository gentoo: Sat, 03 Apr 2021 09:00:01 +0000 Head commit of repository gentoo: 2f94e56aced99bd35520e74228b573810ce5b56a sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p4::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 3.8.9::gentoo, 3.9.3::gentoo dev-util/cmake: 3.20.0::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.43::gentoo sys-apps/sandbox: 2.22::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 9.3.0-r1::gentoo, 10.2.0-r5::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.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 localrepo location: /var/db/repos/localrepo masters: gentoo gig location: /var/lib/layman/gig masters: gentoo priority: 50 jorgicio location: /var/lib/layman/jorgicio masters: gentoo priority: 50 miramir location: /var/lib/layman/miramir masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=haswell -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CPPFLAGS="-march=haswell -O2 -pipe" CXXFLAGS="-march=haswell -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--ask --quiet-build=y" 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="-march=haswell -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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=haswell -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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/portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dlz dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp openssl pam pango pcre pdf png policykit ppds pulseaudio readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 xattr xcb xfce xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sys-apps/openrc-0.43::gentoo was built with the following: USE="ncurses netifrc pam unicode -audit -bash -debug -newnet (-prefix) (-selinux) -sysv-utils" ABI_X86="(64)" ERROR /etc/init.d/sshd restart * Stopping sshd ... [ ok ] * mountinfo: `' is not a mount point * Starting sshd ... /etc/init.d/postfix restart * Stopping postfix ... [ ok ] * mountinfo: `' is not a mount point * Starting postfix ... ALL SERVICES Reproducible: Always
IT GETS SOLVED IF dispatch-conf is run. SORRY for any trouble caused
(In reply to Andreas from comment #1) > IT GETS SOLVED IF dispatch-conf is run. > SORRY for any trouble caused Actually not. Stil persists.............
Some of these is the likely culprit grep -r mountinfo /etc/init.d /etc/init.d/netmount: if ! mountinfo -q $x; then /etc/init.d/devfs: if mountinfo -q /dev; then /etc/init.d/devfs: mountinfo -q $2 && continue /etc/init.d/nfs: if ! mountinfo -q /proc/fs/nfsd ; then /etc/init.d/udev: if ! mountinfo -q /dev; then /etc/init.d/udev: if ! mountinfo -q -f devtmpfs /dev; then /etc/init.d/sysfs: mountinfo -q /sys && return 0 /etc/init.d/sysfs: ! mountinfo -q /sys/kernel/security; then /etc/init.d/sysfs: if [ -d /sys/kernel/debug ] && ! mountinfo -q /sys/kernel/debug; then /etc/init.d/sysfs: if [ -d /sys/kernel/config ] && ! mountinfo -q /sys/kernel/config; then /etc/init.d/sysfs: && ! mountinfo -q /sys/fs/fuse/connections; then /etc/init.d/sysfs: if [ -d /sys/fs/selinux ] && ! mountinfo -q /sys/fs/selinux; then /etc/init.d/sysfs: if [ -d /sys/fs/pstore ] && ! mountinfo -q /sys/fs/pstore; then /etc/init.d/sysfs: ! mountinfo -q /sys/firmware/efi/efivars; then /etc/init.d/bootmisc: mountinfo -q -f tmpfs /var/run || cleanup_var_run_dir /etc/init.d/bootmisc: mountinfo -q -f tmpfs "$tmp" || cleanup_tmp_dir "$tmp" /etc/init.d/rpc.pipefs: mountinfo -q ${MNT} && return 0 /etc/init.d/root: mountinfo -q "${mountpoint}" && \ /etc/init.d/cgroups: if ! mountinfo -q /sys/fs/cgroup; then /etc/init.d/cgroups: if ! mountinfo -q /sys/fs/cgroup/openrc; then /etc/init.d/cgroups: 1) mountinfo -q "/sys/fs/cgroup/${name}" && continue /etc/init.d/localmount: if mountinfo -q /usr; then /etc/init.d/localmount: if ! mountinfo -q $x; then /etc/init.d/localmount: if mountinfo -q -f '^aufs$' / ; then /etc/init.d/localmount: aufs_mount_point="$(mountinfo -o ${aufs_si_id})"
Does "grep cgroup2 /proc/filesystems" return anything? This errors specifically occurs when running "mountinfo ''" so likely due to an empty variable, and this one in /lib/rc/sh/rc-cgroup.sh is suspect: cgroup2_set_limits() { local cgroup_path cgroup_path="$(cgroup2_find_path)" mountinfo -q "${cgroup_path}"|| return 0
grep cgroup2 /proc/filesystems nodev cgroup2 Then again I reverted back to stable openrc. NOT the 0.43
(In reply to Andreas from comment #5) > grep cgroup2 /proc/filesystems > nodev cgroup2 > > Then again I reverted back to stable openrc. > NOT the 0.43 Plus I use "legacy" cgroup in rc.conf because i need it for lxd and docker.
Does your system still boot with OpenRC 0.43? If it does, pick a service and attach the output from: rc-service foo --debug start Thanks, William
If you aren't comfortable trying to boot with it, just upgrade again and attach the output I requested in the previous comment. Thanks much.
I just checked all three cgroups modes, and the issue only occurs with legacy cgroups. I don't know about lxd, but with docker, you should be fine with the hybrid cgroups mode, which is the default setting. I will track down this issue with legacy cgroups though.
I have found that this message is noise. I need to look at fixing "mountinfo -q", but it does not break your system.
The fix I added was for cgroup2_find_path to return rather than try to call mountinfo on an empty path. It is in this commit and in 0.43.1. https://github.com/openrc/openrc/commit/533a8c70