[Bug 2055729] [NEW] live installer isos: cloud-init clean shell-script needs an declared interpreter

Chad Smith 2055729 at bugs.launchpad.net
Fri Mar 1 20:58:10 UTC 2024


Public bug reported:

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

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
     Assignee: Chad Smith (chad.smith)
         Status: New

** Changed in: livecd-rootfs (Ubuntu)
     Assignee: (unassigned) => Chad Smith (chad.smith)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2055729

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

Status in livecd-rootfs package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2055729/+subscriptions




More information about the foundations-bugs mailing list