[Rpm-maint] [rpm-software-management/rpm] Let the system runtime environment provide users and groups (PR #4057)
Panu Matilainen
notifications at github.com
Fri Nov 28 10:39:50 UTC 2025
Rpm would prefer users and groups always provided by packages, but the real world is more complicated, and organizations may want to package software utilizing centrally managed groups for access control. To permit this, as the first step we need to let user() and group() dependencies to be provided by the system runtime environment.
Add a new system provides check to dependency resolution - we only add user and group provides here but there are many other potential areas in this direction.
Add a new sub-package to the klang family to have something with both a user and group dependency not provided by itself and adjust existing test for the extra output, add tests for various rpm -U and -V scenarios with system provided user/group.
This is all "good old" C to minimize backporting effort, we'll need to bring this to 4.x anyhow.
Related: #3994
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/4057
-- Commit Summary --
* Let the system runtime environment provide users and groups
-- File Changes --
M lib/depends.cc (47)
M tests/data/SPECS/klang.spec (10)
M tests/rpmdeps.at (59)
M tests/rpmi.at (4)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/4057.patch
https://github.com/rpm-software-management/rpm/pull/4057.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4057
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4057 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251128/da8fc2f2/attachment.htm>
More information about the Rpm-maint
mailing list