@Dan Bungert. Since this was my changeset, I thought I'd put up a PR as food for thought which uses the override that Brett mentioned. It avoids the wholesale replacement of the entire unit file and just addresses Before and After config in the supplemental override file.
I also updated the After snapshot to align with cloud-init 24.2 which added a Before=systemd-user-sessions.service
@Dan Bungert. Since this was my changeset, I thought I'd put up a PR as food for thought which uses the override that Brett mentioned. It avoids the wholesale replacement of the entire unit file and just addresses Before and After config in the supplemental override file.
I also updated the After snapshot to align with cloud-init 24.2 which added a Before= systemd- user-sessions. service
https:/ /code.launchpad .net/~chad. smith/livecd- rootfs/ +git/livecd- rootfs/ +merge/ 469479
Note that cloud-init SRU of 24.2 is queued in unapproved queue for focal/jammy and noble /bugs.launchpad .net/ubuntu/ +source/ cloud-init/ +bug/2071762
https:/