Loading
Commits on Source 11
-
Alexander Bokovoy authored
FreeIPA fix for https://pagure.io/freeipa/issue/9652 now produces five elements tuple when iterating over CA certificate list, the last element being the serial number. We do not need it, so extract only the first four elements (certificate, nickname, trusted, EKU). The regression was introduced by FreeIPA commit f91b677ada376034b25d50e78475237c5976770e. Signed-off-by:
Alexander Bokovoy <abokovoy@redhat.com>
-
Rafael Guterres Jeffman authored
Python's module "pkg_resources" API has been deprecated in Python 3.12 and will be removed in a future release, and recent FreeIPA versions provide a replacement for pkg_resources.parse_version. To remove ansible-freeipa dependency on pkg_resources and not add a dependency on the 'packaging' module, which is not available in the standard Python distribution, we'll try to import the funcion used in FreeIPA to parse versions, and fallback to pkg_resources when it fails. As an equivalent class is needed, a fallback function is not provided and execution will fail if neither the FreeIPA nor the pkg_resources parse_version function are available. Signed-off-by:Rafael Guterres Jeffman <rjeffman@redhat.com>
-
Rafael Guterres Jeffman authored
Fix a log message in function container_tee and quote the temporary filename. Signed-off-by:Rafael Guterres Jeffman <rjeffman@redhat.com>
-
Thomas Woerner authored
infra/image/shcontainer: Fix log message in container_tee
-
Rafael Guterres Jeffman authored
SSSD 2.10+ runs under non-privileged user 'sssd' and relies on system capabilities to get access to certain resources like /etc/krb5.keytab. Not having these capabilities result in SSSD not starting. Podman has reduced the capabilities granted to containers, and to be able to start SSSD it is needed to add DAC_READ_SEARCH back. This patch adds file infra/images/shdefaults to store the defaults used by ansible-freeipa shell utilities in a contral location. See: https://github.com/containers/podman/discussions/24904#discussioncomment-11718823 Signed-off-by:
Rafael Guterres Jeffman <rjeffman@redhat.com>
-
Thomas Woerner authored
Fix CA certificates iteration
-
Thomas Woerner authored
test container: Add DAC_READ_SEARCH capability
-
Thomas Woerner authored
ipareplica: Don't rely on pkg_resources whenever possible
-
Thomas Woerner authored
Debugging is now enabled by default in the containers that are generated with container_create. "+SYS_PTRACE" has been added to CAP_DEFAULTS in shdefaults for this.
-
Thomas Woerner authored
readarray expects to get an item per line to be added to the array. Printing one item per line with printf fixes this to get the proper formatting for "${CAP_DEFAULTS[@]}" as a valid input for readarray. -
Rafael Guterres Jeffman authored
infra/image/shdefaults: Add SYS_PTRACE to CAP_DEFAULTS