Package: ansible
Version: 2.9.6+dfsg-1~bpo10+1
Severity: minor

Is it possible to get https://github.com/ansible/ansible/pull/68211 fixed in 
ansible/buster-backports?

I ran into this today:

    FAILED! => {"changed": false,
                "msg": "Malformed output discovered from systemd 
list-unit-files: alsa-restore.service                        static          
enabled      "}

AFAICT this is the problem change (from systemd NEWS):

    CHANGES WITH 245:

        * "systemctl list-unit-files" has been updated to show a new column
          with the suggested enablement state based on the vendor preset files
          for the respective units.

You can see the difference between buster-backports and buster:

    bash5$ systemctl --version
    systemd 245 (245.7-1~bpo10+1)
    +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP 
+GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 
default-hierarchy=hybrid
    bash5$ list-unit-files --no-pager --type service --all | head -2
    UNIT FILE                                   STATE           VENDOR PRESET
    alsa-restore.service                        static          enabled

    bash5$ systemctl --version
    systemd 241 (241)
    +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP 
+GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 
default-hierarchy=hybrid
    bash5$ systemctl list-unit-files --no-pager --type service --all | head -2
    UNIT FILE                                  STATE
    accounts-daemon.service                    enabled

The code that needs to change is here:

    
https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/service_facts.py#L221

    https://github.com/ansible/ansible/pull/68211






-- System Information:
Debian Release: 10.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
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:7.9p1-10+deb10u2
ii  python3               3.7.3-1
ii  python3-crypto        2.6.1-9+b1
ii  python3-cryptography  2.6.1-3+deb10u2
ii  python3-distutils     3.7.3-1
ii  python3-dnspython     1.16.0-1
ii  python3-httplib2      0.11.3-2
ii  python3-jinja2        2.10-2
ii  python3-netaddr       0.7.19-1
ii  python3-paramiko      2.6.0-1~bpo10+1
ii  python3-yaml          3.13-2

Versions of packages ansible recommends:
ii  python3-argcomplete  1.8.1-1
ii  python3-jmespath     0.10.0-1
ii  python3-kerberos     1.1.14-2
ii  python3-libcloud     2.4.0-1
ii  python3-selinux      2.8-1+b1
ii  python3-winrm        0.3.0-2
ii  python3-xmltodict    0.11.0-2

Versions of packages ansible suggests:
pn  cowsay   <none>
pn  sshpass  <none>

-- debconf-show failed

Reply via email to