Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[solved][liguros-repo] udev migration broke my system

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Tariella
Guru
Guru
Posts: 392
Joined: Sat Dec 10, 2005 10:31 am
Location: Europe/Austria

[solved][liguros-repo] udev migration broke my system

  • Quote

Post by Tariella » Sat Jan 10, 2026 1:01 pm

So, I recently realized that my system still used eudev, which caused a block with systemd-utils +udev.
A short research later, I decided to migrate away from the deprecated eudev to systemd-utils +udev, since that seems the way to go now.

I uninstalled eudev and followed the udev gentoo wiki to install systemd-utils with the correct use flags (mainly +udev and +kmod) and encountered a system-breaking error:
Openrc cannot start udev, as it is unable to find the executable.

A check showed that the existing init script at /etc/init.d/udev calls for the following executables:
/sbin/udevd
/lib/systemd/systemd-udevd
/usr/lib/systemd/systemd-udevd

Since

Code: Select all

equery files systemd-utils
claims that none of these files, nor the /etc/init.d/udev script itself are even provided by systemd-utils (which installs an executable named /sbin/udevadm), I speculated that maybe the init script was a leftover from eudev.
So I downloaded a fresh stage3 file to check the pre-installed init scripts, but there the /etc/init.d/udev file looks exactly the same.

Does anyone have any idea, where I went wrong, or which package provides the correct executables and/or the init script?

[Administrator note: updated title to note use of an overlay for udev; moved to Unsupported Software due to both the overlay and the use of INSTALL_MASK to block files installed by the affected package. -Hu]
Last edited by Tariella on Sat Jan 10, 2026 7:34 pm, edited 1 time in total.
Top
Chiitoo
Administrator
Administrator
User avatar
Posts: 3018
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Sat Jan 10, 2026 1:34 pm

Here I see:

Code: Select all

$ equery belongs /sbin/udevd /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd
 * Searching for /sbin/udevd,/lib/systemd/systemd-udevd,/usr/lib/systemd/systemd-udevd ...
sys-apps/systemd-utils-256.17 (/usr/lib/systemd/systemd-udevd -> ../../bin/udevadm)
sys-apps/systemd-utils-256.17 (/usr/bin/udevadm)
If none of them are present on the system, I wonder if 'INSTALL_MASK' will hold the answer.
Kindest of regardses.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Jan 10, 2026 3:10 pm

OP: what is the output of emerge --info --verbose sys-apps/systemd-utils sys-fs/udev-init-scripts ; equery files sys-apps/systemd-utils?
Top
Tariella
Guru
Guru
Posts: 392
Joined: Sat Dec 10, 2005 10:31 am
Location: Europe/Austria

  • Quote

Post by Tariella » Sat Jan 10, 2026 3:59 pm

Emerge --info shows INSTALL_MASK is indeed set:

Code: Select all

INSTALL_MASK="/etc/systemd/ /usr/lib/systemd/ /lib/systemd/"
Since this is not in my make.conf it must be defined somewhere else.

I tried

Code: Select all

INSTALL_MASK=" " emerge systemd-utils
but no change.

Any idea where this is defined?
I guess this setting is deprecated as well, since there is a -systemd use-flag now for the purpose of preventing systemd stuff from being installed.

The output of equery files systemd-utils

Code: Select all

/bin
/bin/udevadm
/etc
/etc/cron.daily
/etc/cron.daily/systemd-tmpfiles-clean
/etc/init.d
/etc/init.d/systemd-tmpfiles-setup
/etc/init.d/systemd-tmpfiles-setup-dev
/etc/udev
/etc/udev/hwdb.d
/etc/udev/hwdb.d/.keep_sys-apps_systemd-utils-0
/etc/udev/rules.d
/etc/udev/rules.d/.keep_sys-apps_systemd-utils-0
/etc/udev/udev.conf
/lib
/lib/systemd
/lib/udev
/usr
/usr/bin
/usr/bin/systemd-hwdb
/usr/bin/systemd-tmpfiles
/usr/bin/udevadm
/usr/include
/usr/include/libudev.h
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/network
/usr/lib/systemd/network/99-default.link
/usr/lib/systemd/systemd-udevd
/usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/etc.conf
/usr/lib/tmpfiles.d/legacy.conf
/usr/lib/tmpfiles.d/static-nodes-permissions.conf
/usr/lib/tmpfiles.d/tmp.conf
/usr/lib/tmpfiles.d/var.conf
/usr/lib/tmpfiles.d/x11.conf
/usr/lib/udev
/usr/lib/udev/ata_id
/usr/lib/udev/cdrom_id
/usr/lib/udev/dmi_memory_id
/usr/lib/udev/fido_id
/usr/lib/udev/hwdb.d
/usr/lib/udev/hwdb.d/20-OUI.hwdb
/usr/lib/udev/hwdb.d/20-acpi-vendor.hwdb
/usr/lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
/usr/lib/udev/hwdb.d/20-dmi-id.hwdb
/usr/lib/udev/hwdb.d/20-net-ifname.hwdb
/usr/lib/udev/hwdb.d/20-pci-classes.hwdb
/usr/lib/udev/hwdb.d/20-pci-vendor-model.hwdb
/usr/lib/udev/hwdb.d/20-sdio-classes.hwdb
/usr/lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
/usr/lib/udev/hwdb.d/20-usb-classes.hwdb
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb
/usr/lib/udev/hwdb.d/20-vmbus-class.hwdb
/usr/lib/udev/hwdb.d/60-autosuspend-chromiumos.hwdb
/usr/lib/udev/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
/usr/lib/udev/hwdb.d/60-autosuspend.hwdb
/usr/lib/udev/hwdb.d/60-evdev.hwdb
/usr/lib/udev/hwdb.d/60-input-id.hwdb
/usr/lib/udev/hwdb.d/60-keyboard.hwdb
/usr/lib/udev/hwdb.d/60-seat.hwdb
/usr/lib/udev/hwdb.d/60-sensor.hwdb
/usr/lib/udev/hwdb.d/70-analyzers.hwdb
/usr/lib/udev/hwdb.d/70-av-production.hwdb
/usr/lib/udev/hwdb.d/70-cameras.hwdb
/usr/lib/udev/hwdb.d/70-hardware-wallets.hwdb
/usr/lib/udev/hwdb.d/70-joystick.hwdb
/usr/lib/udev/hwdb.d/70-lights.hwdb
/usr/lib/udev/hwdb.d/70-maker-tools.hwdb
/usr/lib/udev/hwdb.d/70-mouse.hwdb
/usr/lib/udev/hwdb.d/70-pda.hwdb
/usr/lib/udev/hwdb.d/70-pointingstick.hwdb
/usr/lib/udev/hwdb.d/70-software-radio.hwdb
/usr/lib/udev/hwdb.d/70-sound-card.hwdb
/usr/lib/udev/hwdb.d/70-touchpad.hwdb
/usr/lib/udev/hwdb.d/80-ieee1394-unit-function.hwdb
/usr/lib/udev/hwdb.d/82-net-auto-link-local.hwdb
/usr/lib/udev/iocost
/usr/lib/udev/mtd_probe
/usr/lib/udev/rules.d
/usr/lib/udev/rules.d/40-gentoo.rules
/usr/lib/udev/rules.d/50-udev-default.rules
/usr/lib/udev/rules.d/60-autosuspend.rules
/usr/lib/udev/rules.d/60-block.rules
/usr/lib/udev/rules.d/60-cdrom_id.rules
/usr/lib/udev/rules.d/60-dmi-id.rules
/usr/lib/udev/rules.d/60-drm.rules
/usr/lib/udev/rules.d/60-evdev.rules
/usr/lib/udev/rules.d/60-fido-id.rules
/usr/lib/udev/rules.d/60-infiniband.rules
/usr/lib/udev/rules.d/60-input-id.rules
/usr/lib/udev/rules.d/60-persistent-alsa.rules
/usr/lib/udev/rules.d/60-persistent-input.rules
/usr/lib/udev/rules.d/60-persistent-media-controller.rules
/usr/lib/udev/rules.d/60-persistent-storage-mtd.rules
/usr/lib/udev/rules.d/60-persistent-storage-tape.rules
/usr/lib/udev/rules.d/60-persistent-storage.rules
/usr/lib/udev/rules.d/60-persistent-v4l.rules
/usr/lib/udev/rules.d/60-sensor.rules
/usr/lib/udev/rules.d/60-serial.rules
/usr/lib/udev/rules.d/64-btrfs.rules
/usr/lib/udev/rules.d/70-camera.rules
/usr/lib/udev/rules.d/70-joystick.rules
/usr/lib/udev/rules.d/70-memory.rules
/usr/lib/udev/rules.d/70-mouse.rules
/usr/lib/udev/rules.d/70-touchpad.rules
/usr/lib/udev/rules.d/75-net-description.rules
/usr/lib/udev/rules.d/75-probe_mtd.rules
/usr/lib/udev/rules.d/78-sound-card.rules
/usr/lib/udev/rules.d/80-drivers.rules
/usr/lib/udev/rules.d/80-net-setup-link.rules
/usr/lib/udev/rules.d/81-net-dhcp.rules
/usr/lib/udev/rules.d/82-net-auto-link-local.rules
/usr/lib/udev/rules.d/90-iocost.rules
/usr/lib/udev/scsi_id
/usr/lib/udev/v4l_id
/usr/lib32
/usr/lib32/libudev.so
/usr/lib32/libudev.so.1
/usr/lib32/libudev.so.1.7.9
/usr/lib32/pkgconfig
/usr/lib32/pkgconfig/libudev.pc
/usr/lib64
/usr/lib64/libudev.so
/usr/lib64/libudev.so.1
/usr/lib64/libudev.so.1.7.9
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libudev.pc
/usr/lib64/systemd
/usr/lib64/systemd/libsystemd-shared-256.so
/usr/share
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/udevadm
/usr/share/doc
/usr/share/doc/systemd-utils-256.17
/usr/share/doc/systemd-utils-256.17/NEWS.bz2
/usr/share/doc/systemd-utils-256.17/README.bz2
/usr/share/doc/systemd-utils-256.17/README.md.bz2
/usr/share/doc/systemd-utils-256.17/TODO.bz2
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/libudev.3.bz2
/usr/share/man/man3/udev_device_get_action.3
/usr/share/man/man3/udev_device_get_current_tags_list_entry.3
/usr/share/man/man3/udev_device_get_devlinks_list_entry.3
/usr/share/man/man3/udev_device_get_devnode.3
/usr/share/man/man3/udev_device_get_devnum.3
/usr/share/man/man3/udev_device_get_devpath.3
/usr/share/man/man3/udev_device_get_devtype.3
/usr/share/man/man3/udev_device_get_driver.3
/usr/share/man/man3/udev_device_get_is_initialized.3
/usr/share/man/man3/udev_device_get_parent.3
/usr/share/man/man3/udev_device_get_parent_with_subsystem_devtype.3
/usr/share/man/man3/udev_device_get_properties_list_entry.3
/usr/share/man/man3/udev_device_get_property_value.3
/usr/share/man/man3/udev_device_get_subsystem.3
/usr/share/man/man3/udev_device_get_sysattr_list_entry.3
/usr/share/man/man3/udev_device_get_sysattr_value.3
/usr/share/man/man3/udev_device_get_sysname.3
/usr/share/man/man3/udev_device_get_sysnum.3
/usr/share/man/man3/udev_device_get_syspath.3.bz2
/usr/share/man/man3/udev_device_get_tags_list_entry.3
/usr/share/man/man3/udev_device_get_udev.3
/usr/share/man/man3/udev_device_has_current_tag.3
/usr/share/man/man3/udev_device_has_tag.3.bz2
/usr/share/man/man3/udev_device_new_from_device_id.3
/usr/share/man/man3/udev_device_new_from_devnum.3
/usr/share/man/man3/udev_device_new_from_environment.3
/usr/share/man/man3/udev_device_new_from_subsystem_sysname.3
/usr/share/man/man3/udev_device_new_from_syspath.3.bz2
/usr/share/man/man3/udev_device_ref.3
/usr/share/man/man3/udev_device_set_sysattr_value.3
/usr/share/man/man3/udev_device_unref.3
/usr/share/man/man3/udev_enumerate_add_match_is_initialized.3
/usr/share/man/man3/udev_enumerate_add_match_parent.3
/usr/share/man/man3/udev_enumerate_add_match_property.3
/usr/share/man/man3/udev_enumerate_add_match_subsystem.3.bz2
/usr/share/man/man3/udev_enumerate_add_match_sysattr.3
/usr/share/man/man3/udev_enumerate_add_match_sysname.3
/usr/share/man/man3/udev_enumerate_add_match_tag.3
/usr/share/man/man3/udev_enumerate_add_nomatch_subsystem.3
/usr/share/man/man3/udev_enumerate_add_nomatch_sysattr.3
/usr/share/man/man3/udev_enumerate_add_syspath.3
/usr/share/man/man3/udev_enumerate_get_list_entry.3
/usr/share/man/man3/udev_enumerate_get_udev.3
/usr/share/man/man3/udev_enumerate_new.3.bz2
/usr/share/man/man3/udev_enumerate_ref.3
/usr/share/man/man3/udev_enumerate_scan_devices.3.bz2
/usr/share/man/man3/udev_enumerate_scan_subsystems.3
/usr/share/man/man3/udev_enumerate_unref.3
/usr/share/man/man3/udev_list_entry.3.bz2
/usr/share/man/man3/udev_list_entry_get_by_name.3
/usr/share/man/man3/udev_list_entry_get_name.3
/usr/share/man/man3/udev_list_entry_get_next.3
/usr/share/man/man3/udev_list_entry_get_value.3
/usr/share/man/man3/udev_monitor_enable_receiving.3
/usr/share/man/man3/udev_monitor_filter_add_match_subsystem_devtype.3
/usr/share/man/man3/udev_monitor_filter_add_match_tag.3
/usr/share/man/man3/udev_monitor_filter_remove.3
/usr/share/man/man3/udev_monitor_filter_update.3.bz2
/usr/share/man/man3/udev_monitor_get_fd.3
/usr/share/man/man3/udev_monitor_get_udev.3
/usr/share/man/man3/udev_monitor_new_from_netlink.3.bz2
/usr/share/man/man3/udev_monitor_receive_device.3.bz2
/usr/share/man/man3/udev_monitor_ref.3
/usr/share/man/man3/udev_monitor_set_receive_buffer_size.3
/usr/share/man/man3/udev_monitor_unref.3
/usr/share/man/man3/udev_new.3.bz2
/usr/share/man/man3/udev_ref.3
/usr/share/man/man3/udev_unref.3
/usr/share/man/man5
/usr/share/man/man5/systemd.link.5.bz2
/usr/share/man/man5/tmpfiles.d.5.bz2
/usr/share/man/man5/udev.conf.5.bz2
/usr/share/man/man7
/usr/share/man/man7/hwdb.7.bz2
/usr/share/man/man7/udev.7.bz2
/usr/share/man/man8
/usr/share/man/man8/systemd-hwdb.8.bz2
/usr/share/man/man8/systemd-tmpfiles.8.bz2
/usr/share/man/man8/systemd-udevd.8.bz2
/usr/share/man/man8/udevadm.8.bz2
/usr/share/pkgconfig
/usr/share/pkgconfig/udev.pc
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_systemd-tmpfiles
/usr/share/zsh/site-functions/_udevadm
Package settings from emerge --info are:

Code: Select all

sys-apps/systemd-utils-256.17::liguros-repo was built with the following:
USE="acl kmod (split-usr) tmpfiles udev (-boot) -kernel-install (-secureboot) (-selinux) -sysusers -test (-ukify)" ABI_X86="(32) (64) (-x32)" PYTHON_SINGLE_TARGET="python3_13 -python3_10 -python3_11 -python3_12 -python3_14"


sys-fs/udev-init-scripts-35::liguros-repo was built with the following:
USE="" ABI_X86="(64)"
CFLAGS="-mtune=generic -O2 -pipe"
CXXFLAGS="-mtune=generic -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg 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"
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Jan 10, 2026 4:10 pm

What is the output of grep -rn INSTALL_MASK /etc/make.conf /etc/portage/? Why are you pulling these from the liguros-repo overlay instead of the main Gentoo repository?
Top
Tariella
Guru
Guru
Posts: 392
Joined: Sat Dec 10, 2005 10:31 am
Location: Europe/Austria

  • Quote

Post by Tariella » Sat Jan 10, 2026 4:38 pm

Grep -m shows no results.

My installation was originally liguros, which is mainly gentoo with extra quality control.
The repo is basically the gentoo repo but with automated overnight build checks before release, so I kept it.
The profile presets might be at a different path though. I'll see if I can find them.

edit
I switched to gentoo desktop profile and while it solved the udev problem after re-emerging systemd-utils and udev-init-scripts, it opened a ton of other problems, namely split-usr vs merge-usr stuff, missing multilib and a legion of changed use flags to be double-checked.. Following the execution of the merge-usr script (which btw refuses to emerge on split-usr :facepalm:), the emerge -avuDN system failed for about half the packages because of the changed usr directories. I decided to do a reinstall from scratch.

Thanks for the help, marking this as solved now.
Technically, it probably was a 'very aged-system' problem, more than a liguros-repo problem. I found a similar problem on google from back in 2011, which was pure gentoo.
Top
sam_
Developer
Developer
User avatar
Posts: 2810
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Mon Jan 12, 2026 11:47 am

Tariella wrote:Grep -m shows no results.

My installation was originally liguros, which is mainly gentoo with extra quality control.
The repo is basically the gentoo repo but with automated overnight build checks before release, so I kept it.
The profile presets might be at a different path though. I'll see if I can find them.

edit
I switched to gentoo desktop profile and while it solved the udev problem after re-emerging systemd-utils and udev-init-scripts, it opened a ton of other problems, namely split-usr vs merge-usr stuff, missing multilib and a legion of changed use flags to be double-checked.. Following the execution of the merge-usr script (which btw refuses to emerge on split-usr :facepalm:), the emerge -avuDN system failed for about half the packages because of the changed usr directories. I decided to do a reinstall from scratch.

Thanks for the help, marking this as solved now.
Technically, it probably was a 'very aged-system' problem, more than a liguros-repo problem. I found a similar problem on google from back in 2011, which was pure gentoo.
I don't think that's expected wrt merge-usr (not something I've seen or heard reported) but done with now.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy