Source: coreutils
Version: 9.10
Severity: wishlist

There is a discussion on the bug-gnulib list [1] about making libsystemd
an optional dependency for the coreutils binary package.  The dependency
is there only for the readutmp-replacement functionality.

The list of relevant packages seems to include: who pinky users

Arguable, these tools are not the most important part of a core system,
and for a container environment they don't make sense.

What do you think about moving all applications to a new package which
is not as strongly required as the main 'coreutils' package?  That is:

Package: coreutils
Depends: ... no libsystemd anywhere ...
Recommends: coreutils-multiuser

Package: coreutils-multiuser
Depends: ... libsystemd ...

Further analysis is required to confirm that 'who', 'users', and 'pinky'
are the only relevant tools that needs libsystemd0 for readutmp.

Further analysis is required to see which kind of packages assumes
'who', 'users', and 'pinky' are available by default.  They would need
to add 'coreutils-multiuser' to 'Build-Depends' and/or 'Depends'.

Getting rid of tools that assumes a multi-user environment from the base
'coreutils' package seems like an overall long-term nice thing.

Thoughts?

/Simon

[1] https://lists.gnu.org/archive/html/bug-gnulib/2026-07/threads.html#00015

Attachment: signature.asc
Description: PGP signature

Reply via email to