[Rpm-maint] [rpm-software-management/rpm] Add a man page for rpm sysusers integration (PR #4126)
Panu Matilainen
notifications at github.com
Fri Feb 27 14:15:05 UTC 2026
@pmatilai commented on this pull request.
> +# DEPENDENCIES
+
+RPM will generate an automatic requires on the named user or group for every
+non-root ownership declared through the *%attr()* or *%defattr()* directive in
+the *rpm-spec*(5) file. Similarly, it will generate a provides for every user
+and group declared in the packaged sysusers.d files and/or standalone entries.
+This ensures correct installation when a package relies on a user and/or group
+from another package.
+
+Explicit group membership (the *m* sysusers.d directive) will also create a
+dependency on both the user and the group name.
+
+By default, the dependencies are hard requires. This can be problematic when
+upgrading an existing distribution to RPM 4.19, however, so it is possible to
+weaken these requires into recommends, by setting *%\_use_weak_usergroup_deps*
+to *1* in the *rpmbuild-config*(5).
Oh yup, COMPATIBLITY is something we could even standardize on for these kind of items.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4126#discussion_r2864540253
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4126/review/3867165034 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260227/2aa82427/attachment-0001.htm>
More information about the Rpm-maint
mailing list