On Thu, 2025-04-03 at 08:30 +0200, Michal Schorm wrote: > Hi, > Regarding this text [1] in the Packaging Guidelines: > " > rpm automatically creates weak dependencies (Recommends) for packages > which contain files owned by users and groups. In the future, those > depencencies will be changed to Requires. > " > > The 'future' has apparently arrived, though I haven't noticed a change > or announcement for it.
It's part of https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers . In the scope, that says "Change rpm so that it generates hard dependency between packages A and B in case B depends on user or group provided by package A. Rpm currently has downstream patch so that only weak dependencies are generated." > > In the latest Fedora Rawhide COPR build of MySQL, I've noticed auto-generated > | Requires: group(mysql) user(mysql) > for every sub-package. [2] > > As I still haven't pushed the sysusers.d changes to MariaDB and MySQL, > this leads to a fun state where all of the MySQL sub-packages requires > the 'mysql' user and group, but even though the MySQL server creates > the user/group in %pre, officially it is only provided by MariaDB, > with which the MySQL conflicts, so the MySQL cannot be installed. > > I'm not opposing this change, I just miss the announcement. > > So head's up anyone who might not yet update exclusively to the > sysusers.d functionality. If you're not using sysusers, you're supposed/required to add the necessary provides manually. -- Adam Williamson (he/him/his) Fedora QA Fedora Chat: @adamwill:fedora.im | Mastodon: @ad...@fosstodon.org https://www.happyassassin.net -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue