#9786 Rawhide: test failure in test_integration/test_installation.py::TestInstallWithoutNamed
Closed: fixed by frenaud. Opened by frenaud.

Issue

The test test_integration/test_installation.py::TestInstallWithoutNamed::test_replica0_install is failing in rawhide.
Scenario: remove the bind package and call server/replica installation without the DNS server.

Steps to Reproduce

  1. Install ipa packages
  2. Remove the bind package
  3. call ipa-server-install

Actual behavior

After the call to dnf remove -y bind, the ipa packages are removed. Any further call to IPA command fails.

Expected behavior

After the call to dnf remove -y bind, only ipa-server-dns package should be removed

Version/Release/Distribution

freeipa-server-4.13.0.dev202505121115+git-0.fc43.x86_64
dnf5-5.2.13.1-1.fc43.x86_64

Additional info:

I suspect that the change of behavior is related to dnf5 or rpm.
The spec file for ipa defines files in server-common with user/group named:
https://github.com/freeipa/freeipa/blob/e3425d0649d10b72e8e5d521296165932967419d/freeipa.spec.in#L1734-L1735

As the user named is defined in the bind rpm, freeipa-server-common rpm depends on bind:

# rpm -qR freeipa-server-common
/bin/sh
config(freeipa-server-common) = 4.13.0.dev202505121115+git-0.fc43
freeipa-client-common = 4.13.0.dev202505121115+git-0.fc43
group(named)
group(pkiuser)
httpd >= 2.4.41-9
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
systemd-units >= 246.6-3
user(named)

and the removal of bind triggers the removal of freeipa-server-common and freeipa-server.

Test logs in https://$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-rawhide/master/2025-05-10_19-30/rawhide/test_installation_TestInstallWithoutNamed/2/report.html?sort=result


master:

  • 51fc5624d279bb3af91bbbd3bb0d9d68be0b3a5a Spec file: move named-related files to server-dns package

Metadata Update from @frenaud:
- Issue assigned to frenaud

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/8414

ipa-4-13:

  • d4ee256c47300f8a6b93b4c87e49a1ec785147b3 Spec file: move named-related files to server-dns package

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

Metadata