Bug#1055890: cloud-init fails to work when deployed with MAAS due to old python2 based cloud-init.postinst
Package: cloud-init
Version: 22.4.2-1
Severity: important
Tags: upstream
Dear Maintainer,
Debian cloud-init is still bundling old python2 based cloud-init.postinst.
This fails MAAS based debian deployments as the cloud-init.postinst script fails to run
Replacing bundled filed with https://github.com/canonical/cloud-init/raw/ubuntu/devel/debian/cloud-init.postinst fixes the issue.
Please update to the latest cloud-init.postinst file.
-- System Information:
Debian Release: 12.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)
Kernel: Linux 6.1.50-current-rockchip64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cloud-init depends on:
ii eject 2.38.1-5+b1
ii fdisk 2.38.1-5+b1
ii gdisk 1.0.9-2.1
ii isc-dhcp-client 4.4.3-P1-2
ii locales 2.36-9+deb12u1
ii lsb-base 11.6
ii lsb-release 12.0-1
ii procps 2:4.0.2-3
ii python3 3.11.2-1+b1
ii python3-configobj 5.0.8-1
ii python3-jinja2 3.1.2-1
ii python3-jsonpatch 1.32-2
ii python3-jsonschema 4.10.3-1
ii python3-netifaces 0.11.0-2+b1
ii python3-oauthlib 3.2.2-1
ii python3-requests 2.28.1+dfsg-1
ii python3-serial 3.5-1.1
ii python3-yaml 6.0-3+b2
ii sysvinit-utils [lsb-base] 3.06-4
ii util-linux 2.38.1-5+b1
Versions of packages cloud-init recommends:
pn cloud-guest-utils <none>
pn eatmydata <none>
ii sudo 1.9.13p3-1+deb12u1
Versions of packages cloud-init suggests:
ii btrfs-progs 6.2-1
ii e2fsprogs 1.47.0-2
pn xfsprogs <none>
-- debconf information:
* cloud-init/datasources: MAAS
Reply to: