View previous topic :: View next topic |
Author |
Message |
dpaddy Apprentice
Joined: 25 Jun 2008 Posts: 160
|
Posted: Tue Jul 23, 2024 9:31 pm Post subject: [SOLVED] unable to find udev executable |
|
|
Context: I am old and becoming inept, so please be detailed with advice...
I attempted to read the news (eselect news list) and follow instructions -- sorry I can't pin that down more precisely -- and at some point thought it appropriate to upgrade world... that succeeded except that systemd-utils seemed to need +udev as a flag (or so I thought emerge was telling me).
I had a look at package.use where I was surprised to find -udev as a flag to systemd-utils (or so I seem to recall, I might be mistaken) so I removed -udev as a flag to systemd-utils whereupon I proceeded with emergeing it. That resulted in a system which boots but complains "unable to find udev executable" and whereas the keyboard works in the console, I have no keyboard or mouse when I start X. CALL THIS STATE Q
Thinking I f*cked the poodle, I tried to add back the -udev flag and emerge systemd-utils which resulted in a long list from emerge @preserved-rebuild which scared me so I stopped there because (among other things) xorg-server would have been rebuilt by emerge @preserved-rebuild which makes no sense to me because it did not change when going from systemd-utils -udev to +udev so how therefore should xorg-server change due to my putting systemd-utils back to -udev ?!
At this point it was clear I had no clue but after spending time with google I somehow got the idea that I should return to STATE Q because fixing from there might make sense. O.K., emergeing systemd-utils with +udev compiled but produced "failed to send reload request: Connection refused." After that I rebooted which seemed to put me back in STATE Q.
There are paths in /etc/init.d/udev which presumably are being searched for (some variant of) udev so I thought maybe I somehow failed to have udev installed (or I somehow removed it) but emerge -vp udev reports virtual/udev-217-r7 is installed and I don't understand how my system used to work right fine if I now need to have more udev something or other.
The above is as good as my memory can manage. My system is a new install just a week ago using profile default/linux/amd64/23.0/desktop (stable) and uname reports Linux 6.630-gentoo #11 SMP PREEMPT_DYNAMIC x86_64 AMD Ryzen 9 5950X.
At this point understanding would be a luxury because I would be happy enough if I had functioning keyboard and mouse in X.
Last edited by dpaddy on Wed Jul 24, 2024 3:04 pm; edited 1 time in total |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 493
|
Posted: Tue Jul 23, 2024 10:10 pm Post subject: |
|
|
For openrc systems systemd-utils with the udev useflag contains udev. For systemd systems systemd contains udev. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
Posted: Tue Jul 23, 2024 10:13 pm Post subject: |
|
|
I suspect that your keyboard problem in X is because udev is not running, so if we find and fix why openrc cannot start udev, we solve both problems at once. Please show the output of emerge --verbose --info sys-apps/systemd-utils, as run in state Q. |
|
Back to top |
|
|
dpaddy Apprentice
Joined: 25 Jun 2008 Posts: 160
|
Posted: Tue Jul 23, 2024 10:36 pm Post subject: |
|
|
Code: | Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop, gcc-13, glibc-2.39-r6, 6.6.30-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.30-gentoo-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.39
KiB Mem: 65777036 total, 65392800 free
KiB Swap: 67108860 total, 67108860 free
Timestamp of repository gentoo: Sat, 20 Jul 2024 09:00:00 +0000
Head commit of repository gentoo: 7f917d61ec5d02c35c8b7cad4abd7b05e757a58d
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.28.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.1::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust-bin: 1.77.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo
sys-devel/gcc: 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::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-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 3
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
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"
ARCH="amd64"
AUTOCLEAN="no"
BINPKG_COMPRESS="zstd"
BINPKG_FORMAT="gpkg"
BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor [PORTAGE_CONFIG]"
BINPKG_GPG_SIGNING_DIGEST="SHA512"
BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]"
BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg"
BOOTSTRAP_USE="unicode pkg-config split-usr xml python_targets_python3_12 python_single_target_python3_12 gil multilib zstd cet"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COMMON_FLAGS="-march=znver3 -O2 -pipe"
CONFIG_PROTECT="/etc /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/sandbo
x.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq"
CXXFLAGS="-march=znver3 -O2 -pipe"
DEFAULT_ABI="amd64"
DISTDIR="/var/cache/distfiles"
EDITOR="emacs"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
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"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-march=znver3 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-loc
ks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protec
t-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr
"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare
-a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAG
E_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh
=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-march=znver3 -O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPG_VERIFY_GROUP_DROP="nogroup"
GPG_VERIFY_USER_DROP="nobody"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm1
04v3 sirf skytraq superstar2 tsip tripmate tnt ublox"
GRUB_PLATFORMS="efi-64"
GSETTINGS_BACKEND="dconf"
HOME="/root"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.42/info:/usr/share/autoconf-2.71/info:/usr/share
/autoconf-2.13/info:/usr/share/automake-1.16.5/info:/usr/share/info:/usr/share/info/emacs-29"
INPUT_DEVICES="libinput"
INSTALL_MASK="/usr/lib/systemd"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
KERNEL="linux"
LANG="C.utf8"
LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text"
LC_MESSAGES="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LEX="flex"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LOGNAME="dpaddy"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=00:tw=30;42
:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crat
e=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.l
z4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:
*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01
;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.
pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;
35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.n
uv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.
yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=0
0;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.og
g=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpk
g-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;9
0:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:"
LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
LV2_PATH="/usr/lib64/lv2"
MAIL="/var/mail/dpaddy"
MAKEOPTS="-j32"
MANPAGER="manpager"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.42/man:/usr/local/share/man:/usr/share/man:/usr/li
b/rust/man:/usr/lib/llvm/17/share/man"
MOTD_SHOWN="pam"
MOZ_GMP_PATH="/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
NPM_CONFIG_GLOBALCONFIG="/etc/npm/npmrc"
OFFICE_IMPLEMENTATION="libreoffice"
PAGER="/usr/bin/less"
PATH="/bin:/usr/bin:/home/dpaddy/bin"
PHP_TARGETS="php8-2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 loong m68k mips ppc ppc-macos ppc64 ppc64-linux riscv ris
cv-linux s390 sparc x64-macos x64-solaris x86 x86-linux x86-macos"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.12"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}
""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.12/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.12/site-packages"
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_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TRUST_HELPER="/usr/bin/getuto"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima security.selinux system.nfs4_acl user.apache_handler user.Beagle.* user.dublincore.* u
ser.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres15"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPA
ND_VALUES_KERNEL"
PWD="/home/dpaddy"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_12"
PYTHON_TARGETS="python3_12"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rs
h=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby31 ruby32"
SHELL="/bin/bash"
SHLVL="2"
SYMLINK_LIB="no"
SYSROOT="/"
TERM="linux"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin /usr/lib/modules/*"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk
gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit p
pds qt5 readline sdl seccomp sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264
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 aut
hn_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 exp
ires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir use
rtrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx av
x2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmat
e evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip trip
mate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SIN
GLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="pyt
hon3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p i
face geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
USER="dpaddy"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FL
AGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_QUIC CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTE
NSIONS LLVM_SLOT LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTAT
ION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PERL_FEATURES PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS
QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-maco
s x64-solaris x86 x86-linux"
USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="intel"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_RUNTIME_DIR="/run/user/1000"
XDG_SEAT="seat0"
XDG_SESSION_CLASS="user"
XDG_SESSION_ID="1"
XDG_SESSION_TYPE="tty"
XDG_VTNR="1"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos acco
unt"
ac_cv_c_undeclared_builtin_options="none needed"
enable_year2038="no"
gl_cv_compiler_check_decl_option="-Werror=implicit-function-declaration"
gl_cv_func_getcwd_path_max="yes"
=================================================================
Package Settings
=================================================================
sys-apps/systemd-utils-254.13::gentoo was built with the following:
USE="acl kmod tmpfiles udev -boot -kernel-install -secureboot (-selinux) (-split-usr) -sysusers -test -ukify" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TAR
GET="python3_12 -python3_10 -python3_11" |
[Administrator edit: added [code] tags to preserve output layout; broke long whitespace-free lines in code tags to fix thread layout. -Hu] |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
Posted: Tue Jul 23, 2024 11:16 pm Post subject: |
|
|
dpaddy wrote: | Code: | INSTALL_MASK="/usr/lib/systemd"
=================================================================
Package Settings
=================================================================
sys-apps/systemd-utils-254.13::gentoo was built with the following:
USE="acl kmod tmpfiles udev -boot -kernel-install -secureboot (-selinux) (-split-usr) -sysusers -test -ukify" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" |
| You built with USE=-split-usr, so systemd-udevd would have been written to /usr/lib/systemd. Your INSTALL_MASK deleted that directory and everything in it. Therefore, you have no /usr/lib/systemd/systemd-udevd, and thus it cannot be found. Rebuild systemd-utils without that INSTALL_MASK. |
|
Back to top |
|
|
dpaddy Apprentice
Joined: 25 Jun 2008 Posts: 160
|
Posted: Wed Jul 24, 2024 2:07 pm Post subject: |
|
|
I thought that -- much like garlic is famed to protect against vampires -- INSTALL_MASK="/usr/lib/systemd" would to some extent keep me safe from systemd; emphasis on "to some extent" given that systemd has evidently wormed its way into gentoo (as Pottering forecast: "the writing is on the wall").
That INSTALL_MASK is in my make.conf so I'm afraid that removing it invites the vampires to move in and party. Is there a way to override that mask on a per-package basis (similar to setting -use_flag in package.use) and if so, then how exactly does one do so? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
Posted: Wed Jul 24, 2024 2:21 pm Post subject: |
|
|
If you do not want to install anything from systemd, then the right way to do this is to tell Portage not to install any package associated with systemd. Use /etc/portage/package.mask to block all systemd-related packages. Use /etc/portage/package.use to instruct any packages with optional systemd support not to include that support.
You might, or might not, be able to use package.env to set INSTALL_MASK on a per-package basis. Only some settings are supported there. |
|
Back to top |
|
|
dpaddy Apprentice
Joined: 25 Jun 2008 Posts: 160
|
Posted: Wed Jul 24, 2024 3:02 pm Post subject: |
|
|
Sincerely appreciated, thank you.
EDIT:
My (failing) memory of my impression from googling about the issue is that some believe a degree of malevolence is (or will be) brought to bear to sprinkle systemd rot throughout various locations such that dealing with /usr/lib/systemd will not suffice to mitigate against systemd invading your system.
I found that /usr/lib/systemd on my system is full of all sorts of crap that I have no idea of how it got there. In any case, the following seems to work for me (so far; I suspect the future might demonstrate otherwise).
Code: | $ grep MASK /etc/portage/make.conf
INSTALL_MASK='/usr/lib/systemd'
$ cat /etc/portage/env/remove-systemd-install_mask
INSTALL_MASK=''
$ cat /etc/portage/package.env
sys-apps/systemd-utils remove-systemd-install_mask
$ rm -r /usr/lib/systemd/
$ emerge -v --ask systemd-utils
| Whereas Quote: | $ emerge --verbose --info sys-apps/systemd-utils | still reports Quote: | INSTALL_MASK='/usr/lib/systemd' | nevertheless I find
Code: | # ls /usr/lib/systemd/
network systemd-udevd
| In particular, /usr/lib/systemd now has far less shit. Moreover, after reboot X works fine -- I have mouse and keyboard
I intend to delete /usr/lib/systemd/network hoping that cruft can be dispensed with, but the experiment will have to wait -- I do not currently have the energy (courage?) to face fixing whatever that might break.
Finally, I will admit a willingness to commit making a $100 per year donation (as long as I live) to gentoo.org if that all goes toward rooting out systemd crap and preventing systemd invading the systems of those who despise it. A pipe dream perhaps, but if there were 5000 gentoo users like me -- I have no idea of how many people are so crazy as to use gentoo -- that would provide half a million towards the effort. |
|
Back to top |
|
|
Babiz n00b
Joined: 18 Feb 2024 Posts: 27 Location: Dolomiti, Italy
|
Posted: Tue Sep 24, 2024 7:09 pm Post subject: Warning about systemd-utils (path dead link) |
|
|
Hi folks, today I want to share my little experience cause I find "error" on package systemd-utils make broken link to udevadm, it can various system udev failure, if you rebuild gentoo-kernel...
So I'm done when switch ~amd64 to amd64 globally, thanks useful info found on this great forum, but in between I run kernel rebuild and look for dracut error like "unable to find executable" , it's simple dead link, harmless if you know this.
(Because udevadm bin it's linked to wrong path I don't know why.)
This make udev init (gentoo-kernel, initramfs generation, OpenRC, split-usr) broken if restart you device and result display manager fail to load!
!!Beware to reboot system if systemd-utils and kernel initramfs are rebuilded under upgrade or downgrade!!
So make sure link is effective, I make workaround and set manually new symbolic link to udevadm executable but I think is a great idea trigger bug report for systemd-utils and update some related gentoo wiki pages too.
https://i.postimg.cc/DZ9WyPg8/2024-09-24-20-13.png
This above is example of broken link warns you with command:
IpnoRospo ~ # ls -l /usr/lib/systemd/systemd-udevd
lrwxrwxrwx 1 root root 17 24 set 22.16 /usr/lib/systemd/systemd-udevd -> ../../bin/udevadm
Below follow simple commands for fix it:
IpnoRospo ~ # rm /usr/lib/systemd/systemd-udevd
IpnoRospo ~ # ln -s /bin/udevadm /usr/lib/systemd/systemd-udevd
IpnoRospo ~ # ls -l /usr/lib/systemd/systemd-udevd
lrwxrwxrwx 1 root root 12 24 set 22.18 /usr/lib/systemd/systemd-udevd -> /bin/udevadm
Last edited by Babiz on Tue Sep 24, 2024 11:16 pm; edited 4 times in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22619
|
Posted: Tue Sep 24, 2024 7:56 pm Post subject: |
|
|
Generally, reporting problems in a SOLVED thread is less effective than reporting them in a new thread.
What is the output of emerge --info --verbose sys-apps/systemd-utils ; namei -l /bin/udevadm /usr/bin/udevadm /lib /usr/lib/systemd/systemd-udevd? |
|
Back to top |
|
|
Babiz n00b
Joined: 18 Feb 2024 Posts: 27 Location: Dolomiti, Italy
|
Posted: Tue Sep 24, 2024 9:23 pm Post subject: |
|
|
Hu wrote: | Generally, reporting problems in a SOLVED thread is less effective than reporting them in a new thread.
What is the output of emerge --info --verbose sys-apps/systemd-utils ; namei -l /bin/udevadm /usr/bin/udevadm /lib /usr/lib/systemd/systemd-udevd? |
Hello, here you can see:
namei.txt
Your paste can be seen here: https://bpa.st/KVQD6
nameifix.txt (After link manual fix)
Your paste can be seen here: https://bpa.st/2VDTG
Portage info
Your paste can be seen here: https://bpa.st/6TXV2
edit: I look at portage info, my guess, maybe, is a python confilict?
I see portage build with python 3.11 and systemd-utils is on python 3.12 lol.
I mess with python before revert to stable amd64 and I before rebuild various python targets,
I start installed python_3.12 version but on unstable ~amd64 recently pull out python_3.13
So I mess with installation and decice to revert to stable packages...too many python fo me guys |
|
Back to top |
|
|
|