Debian Patches

Status for ansible-core/2.18.1-2

Patch Description Author Forwarded Bugs Origin Last update
use-py3.patch use py3

Use python 3 for all helper scripts during build

This allows us to not depend on python 2 anymore for building.
Lee Garrett <debian@rocketjump.eu> not-needed 2024-11-11
test-git-archive-prefix-32-bit.patch test: Make git archive prefix fit in 32-bit ssize_t
On 32-bit architectures, the `git` integration tests fail with:

TASK [git : ARCHIVE | Generate an archive prefix] ******************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OverflowError: Python int too large to convert to C ssize_t

It doesn't seem vital that this prefix should be larger than a signed
32-bit integer can hold, so drop one bit.
Colin Watson <cjwatson@debian.org> yes 2024-10-16
Bump-ansible-galaxy-s-resolvelib-requirement-upperbo.patch Bump ansible-galaxy's resolvelib requirement upperbound to 1.2.0
Test against the newest resolvelib release 1.1.0

Only test the oldest supported resolvelib version, latest minor release,
and releases that offer additional coverage
s-hertel <19572925+s-hertel@users.noreply.github.com> yes debian upstream https://github.com/ansible/ansible/commit/d4085a56e00a6f9059e7df6e4a16eef4f5737501 2024-11-01
upstream_PR84377.patch Test aliases fix Mark a bunch of integration tests as needs/root and sometimes destructive in
their aliases file, verifying that they indeed fail when run as unprivileged
user. Each commit message explains the rationale behind it.
Lee Garrett <debian@rocketjump.eu> yes upstream, https://patch-diff.githubusercontent.com/raw/ansible/ansible/pull/84377.patch 2024-12-18
upstream_PR84378.patch Fix non-root integration tests failure A collection of commits to fix integration tests when run as non-root user.
This specifically only touches those tests that are intended to run as non-root
user.
Lee Garrett <debian@rocketjump.eu> yes upstream, https://patch-diff.githubusercontent.com/raw/ansible/ansible/pull/84378.patch 2024-12-18
upstream_PR84379.patch Fix integration tests on debian Couple of fixes to make the integration tests work again on Debian. Currently
ansible project CI tests don't run against Debian, but Debian downstream does.
Lee Garrett <debian@rocketjump.eu> yes upstream, https://patch-diff.githubusercontent.com/raw/ansible/ansible/pull/84379.patch 2024-12-18
fix-integration-tests.patch Fix integration tests mount_facts, unarchive, user user module with "generate_ssh_key: yes" will hang due to changes in the
ssh-keygen prompt. See https://github.com/ansible/ansible/issues/84484
Lee Garrett <debian@rocketjump.eu> no 2024-12-20
upstream_PR84482.patch Fix wrong homedir permissions when UMASK is unset in /etc/login.defs When a user doesn't exist and user module is used to create the user and the
homedir, adduser is called which parses HOME_MODE from /etc/login.defs, and
when not set calculates the mode from UMASK from the same file.
.
When a user already exists without homedir, and the user module is used to add
a home dir, it incorrectly ignores HOME_MODE, resulting in a world-readable
home dir when UMASK is not set. This is for example the case in Debian trixie
and later, and likely Ubuntu 25.04 and later.
.
Finally, when neither HOME_MODE nor UMASK was set, this module threw an
exception. So instead, follow adduser behaviour and initialize UMASK = 022.
Lee Garrett <debian@rocketjump.eu> yes upstream, https://patch-diff.githubusercontent.com/raw/ansible/ansible/pull/84482.patch 2024-12-20

All known versions for source package 'ansible-core'

Links