Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870262 - sys-apps/systemd-utils-251.3: udev fails to initialize properly
Summary: sys-apps/systemd-utils-251.3: udev fails to initialize properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-15 18:35 UTC by Haelwenn (lanodan) Monnier
Modified: 2022-09-18 15:48 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 Haelwenn (lanodan) Monnier 2022-09-15 18:35:02 UTC
After rebooting to a system with sys-apps/systemd-utils-251.3, amdgpu and iwlwifi among other modules weren't automatically loaded and after manual loading, /dev/dri/card0 was still set to root:root.

Rollbacking to sys-apps/systemd-utils-250.7 and then rebooting resulted in a system working as expected.
Comment 1 Mike Gilbert gentoo-dev 2022-09-15 18:45:30 UTC
Please provide emerge --info.
Comment 2 Haelwenn (lanodan) Monnier 2022-09-16 05:25:28 UTC
$ emerge --info sys-apps/systemd-utils
Portage 3.0.30 (python 3.10.6-final-0, platforms/pc, gcc-11.3.0, glibc-2.35-r8, 5.15.52-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.52-gentoo-x86_64-AMD_Ryzen_5_PRO_3500U_w-_Radeon_Vega_Mobile_Gfx-with-glibc2.35
KiB Mem:    13906140 total,   5543528 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository cg: Sat, 10 Sep 2022 01:40:13 +0000
Head commit of repository cg: 9232b2a00dda460e39293b2163a13841d903302c

Timestamp of repository gamerlay: Wed, 07 Sep 2022 08:25:56 +0000
Head commit of repository gamerlay: 1bd28fab37508064c67e90cc2d3c179d6472d22c

Head commit of repository guru: 9c717599bd6e1a99754fda3a64b653a2db889167

Timestamp of repository pentoo: Sat, 10 Sep 2022 01:40:13 +0000
Head commit of repository pentoo: e1596516b0567c1f7567c4908d19bdc5857d3761

Head commit of repository gentoo: 8b5c64f033399af1aca45b7c7b75c81c383ee6c5

Head commit of repository lanodanOverlay: 74a3093b396f23269067d6aa39de25da52a89497

sh lksh
ld GNU ld (Gentoo 2.38 p4) 2.38
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.13_p4::gentoo, 3.10.6_p2::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.23.3::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

cg
    location: /repo/cg
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/cg.git
    masters: gentoo
    priority: 0

gamerlay
    location: /repo/gamerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gamerlay.git
    masters: gentoo
    priority: 0

guru
    location: /repo/guru
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 0

pentoo
    location: /repo/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    priority: 0

crossdev
    location: /repo/portage-crossdev
    masters: gentoo
    priority: 10

gentoo
    location: /repo/gentoo
    sync-type: git
    sync-uri: https://github.com/lanodan/gentoo.git
    priority: 100

lanodanOverlay
    location: /repo/lanodanOverlay
    sync-type: git
    sync-uri: https://hacktivis.me/git/overlay.git
    masters: gentoo guru
    priority: 200

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
AR="llvm-ar"
AS="clang"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIC -Qunused-arguments"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/udev/rules.d/ /usr/share/config /usr/share/gnupg/qualified.txt /var/games/atris/ /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPP="clang-cpp"
CXX="clang++"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIC -Qunused-arguments"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --usepkg --binpkg-changed-deps=y --misspell-suggestions=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 -march=native -mtune=native -ggdb -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIC"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news noinfo parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned python-trace qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIC"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ https://mirrors.dotsrc.org/gentoo/ https://gentoo.osuosl.org/ http://distfiles.gentoo.org"
INSTALL_MASK="/sbin/reboot /sbin/poweroff /sbin/shutdown /usr/share/applications/"
LANG="C.utf8"
LD="ld.lld"
LDFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--as-needed"
NM="llvm-nm"
OBJCOPY="llvm-objcopy"
OBJDUMP="llvm-objdump"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="true"
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"
RANLIB="llvm-ranlib"
READELF="llvm-readelf"
SHELL="/bin/mksh"
STRINGS="strings"
STRIP="llvm-strip"
USE="(cuda) (pgo) acl acpi alsa amd64 apparmor bzip2 cacert caps ccache cjk clang crypt cryptsetup d3d9 dane device-mapper dri egl eglfs eme-free gentoo-dev glamor gles gles1 gles2 gtk3 hardened harfbuzz iconv icu idn iproute2 ipv6 jingle jpeg jumbo-build libcxx libglvnd libproxy libtirpc libtommath libzfs lm-sensors mandoc metric mikmod modplug multilib multitarget ncurses nls nptl opencl opengl openmp opus pcre pie pipewire png qt3support readline sanitize sasl seatd seccomp smp sndio spell split-usr ssl ssp symlink syslog system-* system-act system-av1 system-boost system-bootloader system-bootstrap system-cairo system-crontab system-ffmpeg system-glew system-glfw system-harfbuzz system-heimdal system-icu system-info system-ipxe system-jpeg system-lcms system-leveldb system-libcxx system-libevent system-libfmt system-librnp system-libs system-libvpx system-libyaml system-llvm system-lua system-lz4 system-man system-mathjax system-mesa system-mimalloc system-mitkrb5 system-mongodb system-openjfx system-png system-python-libs system-qemu system-seabios system-service system-sqlite system-ssl system-stb system-tbb system-vulkan system-webp system-wfconfig system-wide system-wlroots system-xxhash system-zlib theora threads tre truetype udev unicode urandom usb uvm vaapi verify-sig vorbis vulkan wayland wayland-only webp xattr xcsecurity xtpax zfs zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="pc" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en en-US en-GB fr fr-CA ja is jbo de de-DE ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" NGINX_MODULES_HTTP="access autoindex brotli charset fastcgi gzip gzip_static limit_conn limit_req map memcached metrics mirror proxy push_stream rewrite scgi split_clients ssi upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi vhost_traffic_status headers_more stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="radeonsi amdgpu" 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, ARFLAGS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS, SIZE, YACC, YFLAGS

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

sys-apps/systemd-utils-250.7::gentoo was built with the following:
USE="acl kmod (split-usr) tmpfiles udev -boot (-selinux) -sysusers -test" ABI_X86="(64) -32 (-x32)"
FEATURES="userfetch binpkg-multi-instance buildpkg-live ebuild-locks binpkg-docompress splitdebug binpkg-logs usersync fixlafiles suidctl sfperms qa-unresolved-soname-deps parallel-fetch network-sandbox unmerge-orphans protect-owned buildpkg sandbox assume-digests userpriv binpkg-dostrip news downgrade-backup mount-sandbox python-trace xattr preserve-libs noinfo strict-keepdir merge-sync distlocks ipc-sandbox usersandbox multilib-strict strict unmerge-logs cgroup config-protect-if-modified pid-sandbox unknown-features-warn parallel-install"
Comment 3 Mike Gilbert gentoo-dev 2022-09-16 23:37:57 UTC
Unfortunately, I am unable to reproduce the problem. If you can bisect the issue to a specific commit, we could report the issue upstream.
Comment 4 fluxtape.contact 2022-09-18 13:28:14 UTC
I have the same issue. I don't know how to test for a specific commit, however from my testing the issue seems to only occur when compiling with clang. Compiling with gcc results in a working package.
Comment 5 Larry the Git Cow gentoo-dev 2022-09-18 15:48:13 UTC
The bug has been closed via the following commit(s):

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

commit 05e25e63567cfb77adde5e4c05ba99c907cb7f96
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-09-18 15:39:56 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-09-18 15:47:07 +0000

    sys-apps/systemd-utils: copy revert-fortify-source patch from systemd
    
    Closes: https://bugs.gentoo.org/870262
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../files/251-revert-fortify-source-3-fix.patch    | 40 ++++++++++++++++++++++
 ...1.4-r1.ebuild => systemd-utils-251.4-r2.ebuild} |  8 ++++-
 2 files changed, 47 insertions(+), 1 deletion(-)