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.

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.



[1] 
https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/#_sharing_of_users_or_groups_between_packages

[2] 
https://download.copr.fedorainfracloud.org/results/mschorm/mysql-test/fedora-rawhide-x86_64/08853023-mysql8.4/builder-live.log.gz
--

Michal Schorm
Software Engineer
Databases Team
Red Hat

--

-- 
_______________________________________________
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

Reply via email to