#9572 RPM should use sysusers to create accounts
Closed: fixed by rjeffman. Opened by cheimes.

Request for enhancement

freeipa.spec uses the old getent passwd | useradd approach to create user accounts for kdcproxy and ipaapi. Fedora recommends to use the sysuser RPM macros and systemd facility instead. The macros is available in all supported Fedora versions and current RHEL 9.

  • https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/#_dynamic_allocation
  • https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

Metadata Update from @cheimes:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7318
- Issue assigned to cheimes

PR: https://github.com/freeipa/freeipa/pull/8083

Metadata Update from @rjeffman:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/8083 (was: https://github.com/freeipa/freeipa/pull/7318)
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-4895
- Issue assigned to rjeffman (was: cheimes)

master:

  • 0af2d9f19514bdc50133d5e0b0049ce51e473ad8 freeipa.spec.in: Use systemd-sysusers to setup users and groups

ipa-4-12:

  • 6b6e1010b099f2b224d3ad3531679796a9ef5f19 freeipa.spec.in: Use systemd-sysusers to setup users and groups

ipa-4-13:

  • 0800065ac5555dba102f05c947ca47b5dc9a81af freeipa.spec.in: Use systemd-sysusers to setup users and groups

Metadata Update from @rjeffman:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata