This was resolved in upstream cloud-init in 23.3, which moved Before=systemd-user-sessions.service from cloud-init.service to cloud- config.service to resolve LP: #2013403. That change was temporarily reverted on Ubuntu due to a snap-related performance regression. On Noble and newer, the snap regression has been resolved, and with that resolution the fix for this problem has been re-introduced.
Closing. ** Changed in: cloud-init (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633453 Title: ssh is started before cloud-init completed To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1633453/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs