live installer isos: cloud-init clean shell-script needs a declared interpreter

Bug #2055729 reported by Chad Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
New
Undecided
Chad Smith

Bug Description

release: Ubuntu Noble
build date: Feb 29, 2024
image: https://cdimage.ubuntu.com/daily-live/20240229/noble-desktop-amd64.iso
cloud-init version: 24.1~7g54599148-0ubuntu1

When running the live desktop installer ISO on Ubuntu Noble (dated Feb29th) calls to cloud-init clean exit in error while trying to run /etc/cloud/clean.d/99-installer-use-network-manager script.

The reason being that /etc/cloud/clean.d/99-installer-use-network-manager script doesn't declar an interpreter and subprocess.Popen is unhappy calling scripts without that declaration.

Warnings seen in logs when running cloud-init clean:
subp.py[WARNING]: Exec format error. Missing #! in script?
Command: ['/etc/cloud/clean.d/99-installer-us-networkmanager']
Exit code: -
Stdout: -
Stderr: -
Failure during run-parts of /etc/cloud/clean.d: Runparts: 1 failures (99-installer-use-networkmanager) in 1 attempted commands

Chad Smith (chad.smith)
Changed in livecd-rootfs (Ubuntu):
assignee: nobody → Chad Smith (chad.smith)
Chad Smith (chad.smith)
summary: - live installer isos: cloud-init clean shell-script needs an declared
+ live installer isos: cloud-init clean shell-script needs a declared
interpreter
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.