Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919315 - sys-kernel/installkernel-gentoo-8: dracut should be enabled by default
Summary: sys-kernel/installkernel-gentoo-8: dracut should be enabled by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Distribution Kernel Project
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-06 06:01 UTC by Jae Hak Kim
Modified: 2023-12-06 10:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jae Hak Kim 2023-12-06 06:01:47 UTC
dracut useflag for sys-kernel/installkernel-gentoo-8 is required for initramfs due to below changes:

https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/kernel-install.eclass?id=db0195c3d66fc9ca1ee966b2177b2174a7d7bd02

it makes sense for dracut to be enabled by default for sys-kernel/installkernel-gentoo-8 if initramfs is enabled by default

Reproducible: Always

Steps to Reproduce:
1. emerge installkernel-gentoo-8 with -dracut
2. emerge gentoo-kernel with initramfs
Actual Results:  
gentoo-kernel pulls installkernel-systemd

Expected Results:  
installkernel-gentoo-8 +dracut should be pulled for non systemd-boot users

# emerge --info
Portage 3.0.56 (python 3.11.6-final-0, default/linux/amd64/17.1/no-multilib/systemd/merged-usr, gcc-13, glibc-2.38-r7, 6.6.3-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.3-gentoo-dist-x86_64-11th_Gen_Intel-R-_Core-TM-_i7-1185G7_@_3.00GHz-with-glibc2.38
KiB Mem:    16083196 total,   6859832 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Wed, 06 Dec 2023 05:16:53 +0000
Head commit of repository gentoo: 25cddae7a86be18e5e6ea76223b49574b23404d1

Timestamp of repository gentoo-zh: Tue, 05 Dec 2023 10:31:50 +0000
Head commit of repository gentoo-zh: b2b3c9dd3442b735c00c9bdca986c1673a24c550

Timestamp of repository pentoo: Wed, 06 Dec 2023 03:46:54 +0000
Head commit of repository pentoo: dd933cd297f23390982a85acb0b514b5926094f2

sh bash 5.2_p21-r1
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r1::gentoo
dev-lang/perl:             5.38.2::gentoo
dev-lang/python:           3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust:             1.73.0::gentoo
dev-util/cmake:            3.27.9::gentoo
dev-util/meson:            1.3.0-r1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.7::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE Microsoft-vscode linux-fw-redistributable no-source-code google-chrome typora Vic-Fieger-License"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -flto=auto -fdevirtualize-at-ltrans -fgraphite-identity -floop-nest-optimize -fno-plt -fuse-linker-plugin -falign-functions=32"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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"
CXXFLAGS="-march=native -O3 -pipe -flto=auto -fdevirtualize-at-ltrans -fgraphite-identity -floop-nest-optimize -fno-plt -fuse-linker-plugin -falign-functions=32"
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="-march=native -O3 -pipe -flto=auto -fdevirtualize-at-ltrans -fgraphite-identity -floop-nest-optimize -fno-plt -fuse-linker-plugin -falign-functions=32"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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=native -O3 -pipe -flto=auto -fdevirtualize-at-ltrans -fgraphite-identity -floop-nest-optimize -fno-plt -fuse-linker-plugin -falign-functions=32"
GENTOO_MIRRORS="https://mirror.aarnet.edu.au/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j8"
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 debuginfo=0 -C codegen-units=1 -C target-cpu=native -C opt-level=3"
SHELL="/bin/bash"
USE="X a52 aac aalib acl alsa amd64 bluetooth bzip2 cairo cjk cli crypt cups curl dbus dhcpcd dist-kernel dri dts egl eglfs encode exif expat ffmpeg flac fontconfig fortran ftp gdbm gdk-pixbuf gif git gles2 gnome gnome-keyring gnome-online-accounts google gphoto2 graphite grub gtk gtk4 heif iconv icu introspection ios ipv6 jpeg json libtirpc libv4l lto luajit matroska minizip mp3 mp4 mpeg ncurses networkmanager nls nptl nvme odf ogg opengl openh264 openmp openssl pam pcre pdf pgo pipewire-alsa png policykit posix pulseaudio python qt qt5 raw readline samba screencast seccomp session sockets sound sqlite ssh ssl svg syslog systemd test-rust text threads thunderbolt tiff tkip truetype udev udisks unicode usb user-session v4l vaapi vorbis vulkan wayland webengine webp wifi x264 x265 xattr xml xmpp xvid zink zip zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2021" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha 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" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel i965 iris" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, 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, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Larry the Git Cow gentoo-dev 2023-12-06 07:09:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdd9147ae158ad02adddf9c16818cd41a91fef74

commit fdd9147ae158ad02adddf9c16818cd41a91fef74
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-06 07:08:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-06 07:08:49 +0000

    sys-kernel/installkernel-gentoo: enable dracut by default
    
    We get conflicts by default otherwise. This is also really what the common
    case is anyway.
    
    Closes: https://bugs.gentoo.org/919315
    Fixes: db0195c3d66fc9ca1ee966b2177b2174a7d7bd02
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-kernel/installkernel-gentoo/installkernel-gentoo-8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-06 10:56:55 UTC
The conflict mentioned on the forums at https://forums.gentoo.org/viewtopic-t-1166246.html feels like another example of bug 917145.