Your message dated Mon, 19 Apr 2021 23:03:30 +0000
with message-id <e1lycvs-000bex...@fasolo.debian.org>
and subject line Bug#983140: fixed in ansible 2.10.7+merged+base+2.10.8+dfsg-1
has caused the Debian Bug report #983140,
regarding ansible: Does not detect correct python interpreter on bullseye target
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
983140: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983140
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ansible
Version: 2.9.16+dfsg-1.1
Severity: important

I set up a fresh bullseye host (upgraded from a base buster
installation) and it has python3.7 and python3.9 installed. I think that
python3.7 is left over from buster and should probably be removed from
the host (apt-get autoremove does so). However, I expect this is a common
scenario after an upgrade.

if I run my base playbook in check mode it tells me to install
python3-apt, but that is already installed on the target. The reason is
that python3-apt in bullseye only provides the module for python3.9,
but ansible tries to run python3.7.

The following patch fixes this:

--- /usr/lib/python3/dist-packages/ansible/config/base.yml.bak  2021-02-19 
22:34:00.363529032 +0000
+++ /usr/lib/python3/dist-packages/ansible/config/base.yml      2021-02-19 
22:34:08.987398189 +0000
@@ -1462,6 +1462,7 @@
   name: Ordered list of Python interpreters to check for in discovery
   default:
   - /usr/bin/python
+  - python3.9
   - python3.7
   - python3.6
   - python3.5

Something similar is available upstream:
<https://github.com/ansible/ansible/commit/c986cbb9961bfaedf1a6ae7f0c2e34be26d9ab12>

Please consider applying this fix in the version of ansible shipped
with bullseye so that bullseye hosts can manage bullseye hosts out of the
box.

(I'd also suggest moving /usr/bin/python3 up that list so that this
doesn't recur for future python 3 releases.)

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ansible depends on:
ii  openssh-client        1:8.4p1-3
ii  python3               3.9.1-1
ii  python3-cryptography  3.3.1-1
ii  python3-distutils     3.9.1-2
ii  python3-dnspython     2.0.0-1
ii  python3-httplib2      0.18.1-3
ii  python3-jinja2        2.11.2-1
ii  python3-netaddr       0.7.19-4
ii  python3-paramiko      2.7.2-1
ii  python3-yaml          5.3.1-3+b1

Versions of packages ansible recommends:
pn  python3-argcomplete  <none>
pn  python3-jmespath     <none>
pn  python3-kerberos     <none>
pn  python3-libcloud     <none>
pn  python3-selinux      <none>
pn  python3-winrm        <none>
pn  python3-xmltodict    <none>

Versions of packages ansible suggests:
pn  cowsay   <none>
ii  sshpass  1.09-1+b1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ansible
Source-Version: 2.10.7+merged+base+2.10.8+dfsg-1
Done: Lee Garrett <deb...@rocketjump.eu>

We believe that the bug you reported is fixed in the latest version of
ansible, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 983...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lee Garrett <deb...@rocketjump.eu> (supplier of updated ansible package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 19 Apr 2021 23:56:56 +0200
Source: ansible
Architecture: source
Version: 2.10.7+merged+base+2.10.8+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Lee Garrett <deb...@rocketjump.eu>
Changed-By: Lee Garrett <deb...@rocketjump.eu>
Closes: 983140
Changes:
 ansible (2.10.7+merged+base+2.10.8+dfsg-1) unstable; urgency=medium
 .
   * Upload to unstable
   * Thanks to Christian Kastner for preparing this release.
   * Temporarily merge ansible-base and ansible source packages.
   * Remove 0006-remove-sphinx-notfound.patch (not needed)
   * Fix python interpreter discovery (Closes: #983140)
   * Fix "Mask default and fallback values for no_log module options"
     (CVE-2021-20228)
Checksums-Sha1:
 ad176d29b7688f0bceb639bd3213a2bad76e8cf1 3262 
ansible_2.10.7+merged+base+2.10.8+dfsg-1.dsc
 3895d585ee59e85aaee9e72c0f673dc6a8e1bf32 20471760 
ansible_2.10.7+merged+base+2.10.8+dfsg.orig.tar.xz
 0c4898daf1dc5c6f14f8c7b6c33a14c03b8d5cba 27984 
ansible_2.10.7+merged+base+2.10.8+dfsg-1.debian.tar.xz
 8feaee2c5ca582a64cdf722282608b1d3ee0a5c7 7838 
ansible_2.10.7+merged+base+2.10.8+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 72be187d64bd2ee4ff4068b41f7fac95ee2b0de3def0b75763a74f5e5c6d1b7d 3262 
ansible_2.10.7+merged+base+2.10.8+dfsg-1.dsc
 c514809bbf6ef08fa039240ddd29b4f4e94848b63eeec573556fa5e930acf095 20471760 
ansible_2.10.7+merged+base+2.10.8+dfsg.orig.tar.xz
 607060c58be63f31e2ec96a504dd677999352bbb37be0f93de40e617764d6898 27984 
ansible_2.10.7+merged+base+2.10.8+dfsg-1.debian.tar.xz
 e46a2a07d1e2ba3142fef3a73234413c286ebb7cf80fbc4f70192df1649fd4ab 7838 
ansible_2.10.7+merged+base+2.10.8+dfsg-1_amd64.buildinfo
Files:
 00d07efadac9e1f16580993e1d76d7f0 3262 admin optional 
ansible_2.10.7+merged+base+2.10.8+dfsg-1.dsc
 977712a306d05fbd7f72c4fea2d3cdee 20471760 admin optional 
ansible_2.10.7+merged+base+2.10.8+dfsg.orig.tar.xz
 0b5028d8c91540ece10d77696cc93814 27984 admin optional 
ansible_2.10.7+merged+base+2.10.8+dfsg-1.debian.tar.xz
 309e4f0e3caff8d8e8d79a1041d4c4d8 7838 admin optional 
ansible_2.10.7+merged+base+2.10.8+dfsg-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQQzBAEBCgAdFiEE2EfGJRCpwv8kLOAs1gShxII+4PgFAmB+CQQACgkQ1gShxII+
4Pi8OB/+J1qDqWYHdwSpx3fMK1QzkZlScec64gaadLftBGd027eZTTKzfa4YWXZB
icOMeCDNR14pgl0Y/y3x5t86R0zQSlPdIRZiIn1UZS+PzewzGFulaOKk28J3bgvw
byzEl76l8LRiUA+OPknLNYelMiWCXz/34Le5EJ0q+GirXqYK+YhzlDhwQHv829LB
FxfgU1PFimpZQ09UHvPSX0JTJYrvUAEZgX1DMavgcJ5hVYK+BPttrkmlagMJWn7N
meWXjv2jptZQjH3m12droHEJES4YCFhbrHtbeE+VDtCq8ZkZB6knkAeqt1sXE7/c
o4ONwcHV2Nrd/AEmQ53qYfvkNNWrhs1txL965UPPISVbxcFz9832paMA8jZ+nteW
cJsH3zppfI3JFoqdx3Oj9kNtlRuA7LU6sC5P6wbz6DybRUEJpG/iuupdkF86PVUH
3D0OBV7ItgpYiSiMpt4LCwAwydVTSTC0WmPDdH0hEHqSnujgHg9ysPGkwycyvEWv
/gz44WcZ0O4TKrrZfy9FJ1rn4mlfMVr1z9h9Q9xHynYuBB/LXSZF7cX30r/mJrWu
H2fSiflpFHkQoyJJDtwz1bMN2vDYSykFi4V3oPZ2b1icmhsku7Bp7StyM44weBCk
zzMy+U5GYw8YQMUnoD/IQzJyihW6sGW2kafinwiXFAuUSFtHOqks9PMpNphQlP/U
HEVLpnsdcfF7Gy6wU3bURcZVG5+rBEI0fLfxaCl1OPz5O19/OcsQ2fz2krQN3Fd2
v7LLyHaZVSV5mlz5NyleIkviQfT1UKhLcgFD5Q2Nbl7NeqTqb7s+T7U+Ehj8DCAD
hDbfdWcoI08OH51ZUAd/GxM0615PiMyENRAP+LRi/Ld4h9Zd0q4Q8HWxy/ayysrA
fAN15vBYj7mzWyi0WxRiVqC3CDn5i71Pgt78tavBgsGon9ofgPjthFXc2sdrschm
1fjf900uLU8O/PoDydN4VeeeD2x6HYcvW1uR9Erl6qQFbvOMHnoz+RobxGV9pKRz
f0kVNu4f9b/xwfNtOnBalc3CnvFT5cfac9i3uwl03Obn6DqLBA9onTBiNxENOeYA
oIVWASQsHfTXLjYDtxUy62/cP7kMkKy093jm5bQ3ltDX8njWZ9ykYHE0x83W89yS
fhraogazkO6akD+5ieGjaXb4zsgYIYynD5JzTfKka5ndj8jUDMkTbaVfKI54vLWN
dk4kD/On2ZjN8tjs/MKZhy87xRKynukK3A9q+o4z1un3JFD8SPBojE703JzfUfkx
n9WpApjm90/ywlFBdFnM18JrFx275IGOMcLlOKlf018swKIiE7zcbs28Ub1WIVrE
WhKAdTS0KssvEBn2wFJ/6FTbH2q7/g==
=zm8R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to