Currently the ipa-ccache-sweep.timer is only enabled via the spec file when a server is already configured:
%posttrans server # don't execute upgrade and restart of IPA when server is not installed %{__python3} -c "import sys; from ipalib import facts; sys.exit(0 if facts.is_ipa_configured() else 1);" > /dev/null 2>&1 if [ $? -eq 0 ]; then ... /bin/systemctl is-enabled ipa-ccache-sweep.timer >/dev/null 2>&1 if [ $? -eq 1 ]; then /bin/systemctl enable ipa-ccache-sweep.timer>/dev/null fi fi
It should be explicitly enabled in the installer with: systemctl enable ipa-ccache-sweep.timer
systemctl enable ipa-ccache-sweep.timer
Noticed in 4.9.8 but this has been present since 4.9.0 when the feature was introduced.
Metadata Update from @rcritten: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2051575
Issue linked to bug 2051575
Metadata Update from @rcritten: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2051575 https://bugzilla.redhat.com/show_bug.cgi?id=2051582 (was: https://bugzilla.redhat.com/show_bug.cgi?id=2051575)
https://github.com/freeipa/freeipa/pull/6168
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Metadata Update from @frenaud: - Custom field changelog adjusted to New installations of IPA now enable the ipa-ccache-sweep.timer that is removing expired credential caches from the filesystem.