[freeipa PR#5527][opened] [Backport][ipa-4-9] Reduce the differences between upstream and downstream builds
by rcritten
URL: https://github.com/freeipa/freeipa/pull/5527
Author: rcritten
Title: #5527: [Backport][ipa-4-9] Reduce the differences between upstream and downstream builds
Action: opened
PR body:
"""
Make it easier to share the same spec file between upstream and downstream (at least CentOS and RHEL) builds.
This includes:
Replace some FreeIPA references with IPA to be more name-agnostic.
Drop csrgen which was never feature complete, doesn't work today.
Tweak the UI builder which was already capable of picking a tool to be more generic in its output.
The spec file itself has already been tweaked to handle picking the right dependencies per distribution.
I also synced some changes from other recent translation changes.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5527/head:pr5527
git checkout pr5527
2 years, 7 months
[freeipa PR#5526][opened] ipatests: fix ipahealthcheck fixture _modify_permission
by flo-renaud
URL: https://github.com/freeipa/freeipa/pull/5526
Author: flo-renaud
Title: #5526: ipatests: fix ipahealthcheck fixture _modify_permission
Action: opened
PR body:
"""
The test is storing the initial file permissions obtained with 'stat',
then modifies them, calls ipa-healthcheck and reverts the permissions
to the original value.
When the file is a symlink, stat returns the permission of the link,
not of the pointed-to file. But chmod modifies the permissions of the
pointed-to file, not of the link.
As a consequence, the fixture does not properly restore the original
file permissions.
The fix consists in calling 'stat -L' because the command follows
links.
Signed-off-by: Florence Blanc-Renaud <flo(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5526/head:pr5526
git checkout pr5526
2 years, 7 months
Testing with expired certificates
by Antonio Torres
Hi,
I am adding a `prune` option to `ipa-cacert-manage` (as discussed in
https://pagure.io/freeipa/issue/7404).
The test for this option would be to have an expired cert installed and
check
that it is deleted after running the command, but I'm not sure how to add
an
expired certificate in first place. Any pointers on this?
Thank you!
2 years, 7 months