Skip to content

Conversation

@pmenzel
Copy link
Collaborator

@pmenzel Paul Menzel (pmenzel) commented Oct 14, 2026 •

Update with sudo bee update util-linux-2.42.4-0.

AI disclaimer: Drafted and assisted by claude-opus-5.5 (Claude Code).

The motivation is unshare --map-auto (since 2.38), which maps the first block of the user’s subordinate IDs from /etc/subuid and /etc/subgid:

$ unshare --map-auto --map-root-user sh -c 'cat /proc/self/uid_map'
         0      16716          1
         1    1200000      65536
  • Libraries: libblkid, libfdisk, libmount, libsmartcols and libuuid keep their SONAMEs, and every versioned symbol of the 2.37.3 libraries is still exported. The installed 2.37.3 findmnt and lsblk work with the new libraries.
  • New in the package: bits, blkpr, copyfilerange, coresched, enosys, exch, fadvise, getino, lsclocks, lsfd, pipesz, setpgid and waitpid, as well as liblastlog2, lastlog2 and pam_lastlog2.so (upstream default, as SQLite is found; nothing enables the PAM module). None of these files is owned by another installed package.
  • systemd units move from /lib/systemd/system to /usr/lib/systemd/system, which is the same directory, as /lib links to /usr/lib.
  • uuidd is no longer built (second commit). 2.42.4 adds tmpfiles.d and sysusers.d files for the user uuidd, which never exists on MarIuX (no systemd-sysusers), so every systemd-tmpfiles --create warned Failed to resolve user 'uuidd', as seen when installing 2.42.4-0 on geniux. The daemon has never been able to run here (units disabled, 2.37.3 units already used User=uuidd). libuuid falls back to generating time-based UUIDs itself; uuidgen -t still works.

Release notes

  1. https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes
  2. https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.39/v2.39-ReleaseNotes
  3. https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40-ReleaseNotes
  4. https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41-ReleaseNotes
  5. https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.42/v2.42-ReleaseNotes
  6. https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.42/v2.42.4-ReleaseNotes

@pmenzel Paul Menzel (pmenzel) force-pushed the update-util-linux-from-2.37.3-to-2.42.4 branch 2 times, most recently from 324a762 to b99c511 Compare October 16, 2026 14:17
unshare(1) supports `--map-auto` since util-linux 2.38. From the
[util-linux 2.38 Release Notes][1]:

> unshare(8) supports new options --map-users= and --map-groups= to map block of
> group IDs; and new option --map-auto to map the first block of user IDs owned
> by the effective user from /etc/subuid

With the new package:

    $ unshare --map-auto --map-root-user sh -c 'cat /proc/self/uid_map'
             0      16716          1
             1    1200000      65536

The five shared libraries keep their SONAMEs, and every versioned symbol
of the 2.37.3 libraries is still exported. The package now also contains
liblastlog2, lastlog2(8) and pam_lastlog2.so (SQLite is found), the
systemd units moved from /lib/systemd/system to /usr/lib/systemd/system
(/lib is a symbolic link to /usr/lib), and there are the new commands
bits, blkpr, copyfilerange, coresched, enosys, exch, fadvise, getino,
lsclocks, lsfd, pipesz, setpgid and waitpid. None of them is owned by
another installed package.

Unlike 2.37.3, the package contains tmpfiles.d(5) files, for example
/usr/lib/tmpfiles.d/lastlog2-tmpfiles.conf. So bee’s post-install hook
/usr/libexec/bee/hooks.d/systemd-tmpfiles now runs
`systemd-tmpfiles --create`, which applies all configuration files, not
only the package’s. On hosts with an automounted /home, the line
`Q /home 0755 - - -` in systemd’s /usr/lib/tmpfiles.d/home.conf then
causes a notice:

    $ sudo bee update util-linux-2.42.4-0
    installing /src/mariux/beeroot/packages/util-linux-2.42.4-0.x86_64.bee.tar.bz2 ..
    /usr/lib/tmpfiles.d/uuidd-tmpfiles.conf:5: Failed to resolve user 'uuidd': Unknown user
    /usr/lib/tmpfiles.d/uuidd-tmpfiles.conf:6: Failed to resolve user 'uuidd': Unknown user
    Detected autofs mount point '/home' during canonicalization of 'home'.
    Skipping /home
    removing util-linux-2.37.3-0.x86_64 ..

systemd-tmpfiles does not cross the autofs mount point and skips the
entry, so nothing under /home is changed, and the update succeeds. The
installation of any package with a tmpfiles.d file shows the same notice.

1.  https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes
2.  https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.39/v2.39-ReleaseNotes
3.  https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.40/v2.40-ReleaseNotes
4.  https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.41/v2.41-ReleaseNotes
5.  https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.42/v2.42-ReleaseNotes
6.  https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.42/v2.42.4-ReleaseNotes

[1]: https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes

Assisted-by: claude-opus-5.5 (Claude Code)
Since version 2.42.4, util-linux ships a tmpfiles.d(5) and a sysusers.d(5)
file for uuidd. MarIuX has no systemd-sysusers, so the user uuidd never
exists, and every run of `systemd-tmpfiles --create`, at boot and in bee’s
post-install hook, prints:

    $ sudo bee update util-linux-2.42.4-0
    installing /src/mariux/beeroot/packages/util-linux-2.42.4-0.x86_64.bee.tar.bz2 ..
    /usr/lib/tmpfiles.d/uuidd-tmpfiles.conf:5: Failed to resolve user 'uuidd': Unknown user
    /usr/lib/tmpfiles.d/uuidd-tmpfiles.conf:6: Failed to resolve user 'uuidd': Unknown user

The daemon has never worked on MarIuX: uuidd.socket and uuidd.service are
disabled, and the units of 2.37.3 already ran it as the non-existent user
uuidd. libuuid only asks uuidd for time-based UUIDs, and without it falls
back to generating them itself, so `uuidgen -t` still works.

Configure with `--disable-uuidd`. This removes `/usr/sbin/uuidd`, its
systemd units, its bash completion, its manual page and the two files
above, and nothing else. libuuid is still built.

Assisted-by: claude-opus-5.5 (Claude Code)
@pmenzel Paul Menzel (pmenzel) force-pushed the update-util-linux-from-2.37.3-to-2.42.4 branch from b99c511 to cbad40c Compare October 16, 2026 14:57
@pmenzel Paul Menzel (pmenzel) merged commit 3079cbb into master Oct 16, 2026
@pmenzel Paul Menzel (pmenzel) deleted the update-util-linux-from-2.37.3-to-2.42.4 branch October 16, 2026 14:59
Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant