• Re: [gentoo-user] Update of systemd-utils failes (OpenRC)

    From Michael@21:1/5 to All on Sat Feb 8 10:55:56 2025
    On Saturday 8 February 2025 08:56:20 Greenwich Mean Time Matthias Hanft wrote:
    Matthias Hanft wrote:
    After "emerge --sync" today, emerge wants to update systemd-utils
    from 254.17 to 255.15-r1 and fails with: [...]

    Ok, it was my own fault: I had another (own) "patchelf" (for legacy
    Kylix programs) in /usr/local/bin which came first in $PATH. Now the
    update was OK.

    Just the question remains:
    U I
    - - abi_x86_32 : 32-bit (x86) libraries
    + + acl : Add support for Access Control
    Lists
    - - boot : Enable systemd-boot (UEFI boot
    manager) - - kernel-install : Enable kernel-install
    + - kmod : Enable kernel module loading via
    sys-apps/kmod - - python_single_target_python3_10 : Build for Python
    3.10 only
    - - python_single_target_python3_11 : Build for Python 3.11 only
    + + python_single_target_python3_12 : Build for Python 3.12 only
    - - python_single_target_python3_13 : Build for Python 3.13 only
    - - secureboot : Automatically sign efi executables
    using user specified key - - sysusers : Enable
    systemd-sysusers
    - - test : Enable dependencies and/or
    preparations necessary to run tests (usually>
    controlled by FEATURES=test but can
    be toggled independently)

    + - tmpfiles : Enable systemd-tmpfiles
    + - udev : Enable systemd-udev (userspace
    device manager) - - ukify : Enable
    systemd-ukify

    With the update installed, the USE flags kmod, tmpfiles and udev changed
    from "off" to "on". Is this important, do I have to worry, or can I just ignore it (because there's no impact at all without systemd?

    -Matt

    You could ignore default USE flags, because when you use the openrc init
    system udev and tmpfilesd use some files provided by systemd. The rest of the systemd is not used.

    You may wish to take a quick look at this section in the wiki which explains
    it briefly:

    https://wiki.gentoo.org/wiki/OpenRC#System_integration


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmenODwACgkQseqq9sKV ZxnL/RAAnYrNhiJc+XW4f8HKUgxW1uznbqrx9a6JyL9DelG4ASKx8SIZqwU9l0e1 QDL+IibHYT5pXCdfT64GLvjhhNJkb7tGI2skjKQMFF5UYNR1wQVBY2Z+TiomZlzH la2JDMplqqGeRXXNNYqotKGzu/ZWc+z8IA4XO9UpM4Ek41hBik5sM8gAU68iG6Xf xYOUmXy6wgt1UYde4BXBFYbgtMz5xMYpa6E4oPG/0rsq7xbeOqUcJ2evH9oMWthF k5gDOTt1S+PLv6f89zqSzwxHFm/Y8rcDnldQYiM3eyqDMxsnUmXaZLKXBfXMbgQW ivxy+S0lrl1yc2jPZmEXE7LDslIedsZXy9iTItdfmxYIIqMCPcBky27pvaJd2ny8 Oj0wgE3xtd1WGrP2x5+bOe0U0MmgsoD6CMXh3ipY5821rA3Zpqyh+t/uPS5aTcEF anSIfZqDb9pSPfEnhzLnQdXVl4oqKTYW1EX2mX6egstSjOgxtkZRQG4qdcMFJlQ5 qw5X0Om6VtK+42aEEjA4/doaC1quD1lky3Dkd6oMndibniAn087ySpcSb3hb8GSx iYENJybeBTe0/+vXXDbQ+m/Sdm6xCYtm/9cHR8GOtaE9qK4MmagDGQL6SwVUpr3X 6sI/epiaOO5YXAEaUlYcxAMrPAMsZ+0nQeENPcv1j0wrj/QTTXA=
    =FfuX
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli Schwartz@21:1/5 to Matthias Hanft on Sun Feb 9 07:10:01 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------z0arfrKDvhChAee5wG0qnSz5
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 2/8/25 3:56 AM, Matthias Hanft wrote:
    Just the question remains:

    U I
    - - abi_x86_32 : 32-bit (x86) libraries
    + + acl : Add support for Access Control Lists >> - - boot : Enable systemd-boot (UEFI boot manager)
    - - kernel-install : Enable kernel-install
    + - kmod : Enable kernel module loading via sys-apps/kmod
    - - python_single_target_python3_10 : Build for Python 3.10 only
    - - python_single_target_python3_11 : Build for Python 3.11 only
    + + python_single_target_python3_12 : Build for Python 3.12 only
    - - python_single_target_python3_13 : Build for Python 3.13 only
    - - secureboot : Automatically sign efi executables using user specified key
    - - sysusers : Enable systemd-sysusers
    - - test : Enable dependencies and/or preparations necessary to run tests (usually
    controlled by FEATURES=test but can be toggled independently)
    + - tmpfiles : Enable systemd-tmpfiles
    + - udev : Enable systemd-udev (userspace device manager)
    - - ukify : Enable systemd-ukify

    With the update installed, the USE flags kmod, tmpfiles and udev changed
    from "off" to "on".


    The original 2022 addition of the systemd-utils package defaulted kmod
    and tmpfiles and udev to "on". In order to install it with those USE
    flags toggled "off" you would have had to locally set that in your
    package.use -- your reasons for doing so are best known by yourself. :)

    Those are decent defaults as you really want to have a tmpfiles.d
    processor of some sort, and a udev daemon, and the versions that were
    carved out of the systemd project and provided as standalone tools in "systemd-utils" are currently the only packaged versions of either one
    in ::gentoo (as the alternative for e.g. udev was just an outdated and unmaintained fork of systemd, and the alternative for tmpfiles was an
    insecure and abandoned project).

    It leaves open the question, which other packages did you use to satisfy
    the dependencies of:

    virtual/tmpfiles
    virtual/udev


    Is this important, do I have to worry, or can I just
    ignore it (because there's no impact at all without systemd?


    As Michael noted, systemd-utils exists to be a small collection of a few
    tools extracted from the systemd source code -- using the systemd-utils
    package at all, implies you aren't using systemd (in fact, systemd-utils
    will conflict with systemd! portage will not let you install systemd, if systemd-utils is currently installed), and thus per definition the systemd-utils package can't have any cause for concern with regard to
    systemd.



    --
    Eli Schwartz

    --------------z0arfrKDvhChAee5wG0qnSz5--

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCZ6hEZwUDAAAAAAAKCRCEp9ErcA0vV82p AP9Eiinju1triI59G8O54lZ1m/j7OVcIFr/Qrh+9UvQ5WwEAhJBZxNcpbrhjddP8W1CpaSKC/Tn5 oV62Zffpb8ETNg4=
    =4LxM
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Hanft@21:1/5 to All on Sat Feb 8 09:50:02 2025
    Hi,

    I'm using OpenRC (no systemd).

    After "emerge --sync" today, emerge wants to update systemd-utils
    from 254.17 to 255.15-r1 and fails with:

    Test phase [disabled because of RESTRICT=test]: sys-apps/systemd-utils-255.15-r1
    Install sys-apps/systemd-utils-255.15-r1 into /var/tmp/portage/sys-apps/systemd-utils-255.15-r1/image
    * abi_x86_64.amd64: running multilib-minimal_abi_src_install
    Error: File --set-rpath does not exist.
    * ERROR: sys-apps/systemd-utils-255.15-r1::gentoo failed (install phase):
    * patchelf failed

    "equery u systemd-utils" shows:

    * Found these USE flags for sys-apps/systemd-utils-255.15-r1:
    U I
    - - abi_x86_32 : 32-bit (x86) libraries
    + + acl : Add support for Access Control Lists
    - - boot : Enable systemd-boot (UEFI boot manager)
    - - kernel-install : Enable kernel-install
    + - kmod : Enable kernel module loading via sys-apps/kmod
    - - python_single_target_python3_10 : Build for Python 3.10 only
    - - python_single_target_python3_11 : Build for Python 3.11 only
    + + python_single_target_python3_12 : Build for Python 3.12 only
    - - python_single_target_python3_13 : Build for Python 3.13 only
    - - secureboot : Automatically sign efi executables using user specified key
    - - sysusers : Enable systemd-sysusers
    - - test : Enable dependencies and/or preparations necessary to run tests (usually
    controlled by FEATURES=test but can be toggled independently)
    + - tmpfiles : Enable systemd-tmpfiles
    + - udev : Enable systemd-udev (userspace device manager)
    - - ukify : Enable systemd-ukify

    and I wonder why there are so many differences between "U" and "I".

    Do I have to change any USE flags to get the update installed?
    Or is there another solution? Or is it just a bug which will be
    corrected by next week?

    Thanks,

    -Matt

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Hanft@21:1/5 to Matthias Hanft on Sat Feb 8 10:00:01 2025
    Matthias Hanft wrote:

    After "emerge --sync" today, emerge wants to update systemd-utils
    from 254.17 to 255.15-r1 and fails with: [...]

    Ok, it was my own fault: I had another (own) "patchelf" (for legacy
    Kylix programs) in /usr/local/bin which came first in $PATH. Now the
    update was OK.

    Just the question remains:

    U I
    - - abi_x86_32 : 32-bit (x86) libraries
    + + acl : Add support for Access Control Lists
    - - boot : Enable systemd-boot (UEFI boot manager)
    - - kernel-install : Enable kernel-install
    + - kmod : Enable kernel module loading via sys-apps/kmod
    - - python_single_target_python3_10 : Build for Python 3.10 only
    - - python_single_target_python3_11 : Build for Python 3.11 only
    + + python_single_target_python3_12 : Build for Python 3.12 only
    - - python_single_target_python3_13 : Build for Python 3.13 only
    - - secureboot : Automatically sign efi executables using user specified key
    - - sysusers : Enable systemd-sysusers
    - - test : Enable dependencies and/or preparations necessary to run tests (usually
    controlled by FEATURES=test but can be toggled independently)
    + - tmpfiles : Enable systemd-tmpfiles
    + - udev : Enable systemd-udev (userspace device manager)
    - - ukify : Enable systemd-ukify

    With the update installed, the USE flags kmod, tmpfiles and udev changed
    from "off" to "on". Is this important, do I have to worry, or can I just
    ignore it (because there's no impact at all without systemd?

    -Matt

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)