[Bug 2081325] [NEW] Oracular: systemd override file not applied due to systemd unit rename cloud-init.service renamed to cloud-init-network.service in cloud-init v. 24.3.1

Chad Smith 2081325 at bugs.launchpad.net
Fri Sep 20 16:31:05 UTC 2024


Public bug reported:

I Oracular 24.10, cloud-init 24.3.1 renamed cloud-init.service to cloud-
init-network.service as part of the single-process mode support.  This
is only introduced in Oracular and not applicable to any stable releases
before Oracular.[1]

livecd-rootfs provides complete override for the entire cloud-
init.service in /etc/systemd/system/cloud-init.service to reorder the
service After=NetworkManager.service NetworkManager-wait-online.service
and drop # Before=sysinit.target. This overridden file is completely
ignored in Desktop Oracular images dated 20240916 because the systemd
unit name cloud-init.service doesn't match the new cloud-init-
network.service name. This results in incorrect systemd ordering that
may impact cloud-init's ability to download configuration when kernel
commandline options provide a nocloud seed url that requires DNS
resolution via a kernel commandline
'ds=nocloud;s=http://myresolvablehostname/'.


To fix this issue, livecd-rootfs should be emitting and override file to /etc/systemd/system/cloud-init-network.service with the latest content provided by cloud-init 24.3.1 in oracular.

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


** Tags: rls-oo-incoming

-- 
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/2081325

Title:
  Oracular: systemd override file not applied due to systemd unit rename
  cloud-init.service renamed to cloud-init-network.service in cloud-init
  v. 24.3.1

Status in livecd-rootfs package in Ubuntu:
  Confirmed

Bug description:
  I Oracular 24.10, cloud-init 24.3.1 renamed cloud-init.service to
  cloud-init-network.service as part of the single-process mode support.
  This is only introduced in Oracular and not applicable to any stable
  releases before Oracular.[1]

  livecd-rootfs provides complete override for the entire cloud-
  init.service in /etc/systemd/system/cloud-init.service to reorder the
  service After=NetworkManager.service NetworkManager-wait-
  online.service and drop # Before=sysinit.target. This overridden file
  is completely ignored in Desktop Oracular images dated 20240916
  because the systemd unit name cloud-init.service doesn't match the new
  cloud-init-network.service name. This results in incorrect systemd
  ordering that may impact cloud-init's ability to download
  configuration when kernel commandline options provide a nocloud seed
  url that requires DNS resolution via a kernel commandline
  'ds=nocloud;s=http://myresolvablehostname/'.

  
  To fix this issue, livecd-rootfs should be emitting and override file to /etc/systemd/system/cloud-init-network.service with the latest content provided by cloud-init 24.3.1 in oracular.

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




More information about the foundations-bugs mailing list