During a recent upgrade of dracut (and it is reproducible with `emerge -1 dracut` at will in my current system state), I got the following errors about symlink installations being blocked by a directory: >>> Installing (1 of 1) sys-kernel/dracut-105::gentoo * * Installation of a symlink is blocked by a directory: * '/usr/lib/dracut/modules.d/80test-makeroot' * This symlink will be merged with a different name: * '/usr/lib/dracut/modules.d/80test-makeroot.backup.0001' * * * Installation of a symlink is blocked by a directory: * '/usr/lib/dracut/modules.d/80test-root' * This symlink will be merged with a different name: * '/usr/lib/dracut/modules.d/80test-root.backup.0001' * * * Installation of a symlink is blocked by a directory: * '/usr/lib/dracut/modules.d/80test' * This symlink will be merged with a different name: * '/usr/lib/dracut/modules.d/80test.backup.0001' * Every initramfs built by this installation of dracut is unable to mount root, it appears to be unable to mount root (stuck-ish at "A start job is running for /dev/mapper/vg0-root"). Given the errors are around files named makeroot/root, it seemingly is a smoking gun? Reproducible: Always Steps to Reproduce: 1. emerge -1 dracut 2. 3. Actual Results: >>> Installing (1 of 1) sys-kernel/dracut-105::gentoo * * Installation of a symlink is blocked by a directory: * '/usr/lib/dracut/modules.d/80test-makeroot' * This symlink will be merged with a different name: * '/usr/lib/dracut/modules.d/80test-makeroot.backup.0001' * * * Installation of a symlink is blocked by a directory: * '/usr/lib/dracut/modules.d/80test-root' * This symlink will be merged with a different name: * '/usr/lib/dracut/modules.d/80test-root.backup.0001' * * * Installation of a symlink is blocked by a directory: * '/usr/lib/dracut/modules.d/80test' * This symlink will be merged with a different name: * '/usr/lib/dracut/modules.d/80test.backup.0001' * Expected Results: Symlink installation works? Portage 3.0.66.1 (python 3.11.10-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.40-r5, 6.6.57-gentoo-dist x86_64) ================================================================= System uname: Linux-6.6.57-gentoo-dist-x86_64-AMD_Ryzen_7_7840U_w-_Radeon_780M_Graphics-with-glibc2.40 KiB Mem: 61511920 total, 54725564 free KiB Swap: 67107836 total, 67107836 free Timestamp of repository gentoo: Fri, 08 Nov 2024 00:18:26 +0000 Head commit of repository gentoo: 253cf4f979a4e8844353fec8acbe520fcc5d4103 Timestamp of repository EmilienMottet: Sun, 03 Nov 2024 15:48:21 +0000 Head commit of repository EmilienMottet: 41a7e976cb33f37f61404559ac80f6c2e7d5c9f4 Timestamp of repository bombo82: Mon, 14 Oct 2024 12:50:38 +0000 Head commit of repository bombo82: 3431084aafb53409122c8ac2dcf3309f47688413 Timestamp of repository dilfridge: Wed, 23 Oct 2024 21:18:21 +0000 Head commit of repository dilfridge: 5e018f2314d746c3f6f8e1b7fa84d3baaa6010f4 Timestamp of repository fol4: Wed, 30 Oct 2024 12:03:36 +0000 Head commit of repository fol4: 37bb342b89b7ae8c0e3728d7eee78bf10354d5eb Timestamp of repository gentoo-zh: Thu, 07 Nov 2024 15:48:21 +0000 Head commit of repository gentoo-zh: 4d6094c0b7b7ef5c975e545ab203d866d2efb4c3 Timestamp of repository guru: Thu, 07 Nov 2024 23:48:18 +0000 Head commit of repository guru: aa7172c8a68156f8bf19ae9fe7f74828d7764415 Timestamp of repository lto-overlay: Mon, 19 Aug 2024 06:22:27 +0000 Head commit of repository lto-overlay: 72f4e578bd64c1c5cb3fc6ac1526bf8d009ee026 Timestamp of repository mv: Fri, 01 Nov 2024 19:48:21 +0000 Head commit of repository mv: 87ce053a8964fc045d6b925be37f43162f0f75e7 Timestamp of repository nordvpn: Sat, 19 Oct 2024 18:18:20 +0000 Head commit of repository nordvpn: ac5c4bd7c7a29045e74cdae9a3e4350838d5bd1d Timestamp of repository salfter: Thu, 07 Nov 2024 21:48:20 +0000 Head commit of repository salfter: c66a3fd0219e0494493396400f323e73287e85c8 Timestamp of repository steam-overlay: Tue, 08 Oct 2024 15:50:59 +0000 Head commit of repository steam-overlay: c802c22bb423cb84d975b3fc9cfe6bc9410d22cd Timestamp of repository supertux88: Mon, 21 Oct 2024 01:03:15 +0000 Head commit of repository supertux88: 33594f8a469acf7385bef77c4dc986b137a0962f sh bash 5.2_p37 ld GNU ld (Gentoo 2.42 p6) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.6.0::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.6.14-r1::lto-overlay, 3.8.20_p2::gentoo, 3.9.20_p1::gentoo, 3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo dev-lang/rust-bin: 1.82.0::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-apps/systemd: 256.7::gentoo sys-devel/binutils: 2.42-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 18.1.8-r6::gentoo sys-devel/gcc: 13.3.1_p20241025::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.8::gentoo sys-devel/llvm: 18.1.8-r6::gentoo sys-kernel/linux-headers: 6.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r5::gentoo sys-libs/libselinux: 3.7-r1::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False sync-git-verify-commit-signature: true EmilienMottet location: /var/db/repos/EmilienMottet sync-type: git sync-uri: https://github.com/gentoo-mirror/EmilienMottet.git masters: gentoo volatile: False JayF-overlay location: /var/db/repos/JayF-overlay masters: gentoo volatile: True bombo82 location: /var/db/repos/bombo82 sync-type: git sync-uri: https://github.com/gentoo-mirror/bombo82.git masters: gentoo volatile: False dilfridge location: /var/db/repos/dilfridge sync-type: git sync-uri: https://github.com/gentoo-mirror/dilfridge.git masters: gentoo volatile: False fol4 location: /var/db/repos/fol4 sync-type: git sync-uri: https://github.com/gentoo-mirror/fol4.git masters: gentoo volatile: False gentoo-zh location: /var/db/repos/gentoo-zh sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: True local location: /var/db/repos/local masters: gentoo volatile: True lto-overlay location: /var/db/repos/lto-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/lto-overlay.git masters: gentoo mv volatile: True mv location: /var/db/repos/mv sync-type: git sync-uri: https://github.com/gentoo-mirror/mv.git masters: gentoo volatile: True nordvpn location: /var/db/repos/nordvpn sync-type: git sync-uri: https://github.com/gentoo-mirror/nordvpn.git masters: gentoo volatile: False salfter location: /var/db/repos/salfter sync-type: git sync-uri: https://github.com/gentoo-mirror/salfter.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False supertux88 location: /var/db/repos/supertux88 sync-type: git sync-uri: https://github.com/gentoo-mirror/supertux88.git masters: gentoo volatile: False Binary Repositories: binhost priority: 9999 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64 binhost-x86-64-v3 priority: 9998 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64-v3 Installed sets: @steam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=x86-64-v3 -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /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/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=x86-64-v3 -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--getbinpkg --with-bdeps=y" 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="-march=x86-64-v3 -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles 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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=x86-64-v3 -O2 -pipe -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" GENTOO_MIRRORS="https://mirrors.mit.edu/gentoo-distfiles/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j17" 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" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 appindicator bluetooth branding bzip2 cairo cdda cdr cet colord crypt cups dbus dist-kernel dri dts dvd dvdr egl encode exif flac fontconfig fprint gdbm gif gles2 gnome-keyring gpm gstreamer gtk gui harfbuzz iconv icu introspection ipv6 jpeg keyring kf6compat lcms libnotify libtirpc lto lvm mad mng mp3 mp4 mpeg multilib ncurses network-manager networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plymouth png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan wayland wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" 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" 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="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" 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="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_9 python3_10 python3_11 python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeonsi radeon" 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, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, 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, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 908121 [details] output from emerge -1 dracut
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba2f5edc7666b74128c74ae077cf062d1b120d47 commit ba2f5edc7666b74128c74ae077cf062d1b120d47 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-11-08 01:07:42 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-11-08 01:12:57 +0000 sys-kernel/dracut: fix up conflicting directories/symlinks Closes: https://bugs.gentoo.org/943007 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../dracut/{dracut-105.ebuild => dracut-105-r1.ebuild} | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
Noting that while the conflict is fixed, I'm still not getting a working initramfs out of this new version of dracut. I will dig deeper and troubleshoot and open another bug if I can pinpoint the issue.