Thanks for tracking this down, and sorry for the noise. You're right that it was a local config issue.
dpkg -S finds no package owning /etc/systemd/system/swap.img.swap.d/override.conf, and my shell history shows I created it with sudo systemctl edit swap.img.swap back in March, while troubleshooting a hang at the LUKS decryption prompt during boot. On the previous release it caused no visible problems. After the upgrade to 26.04 it created the ordering cycle with tmp.mount, which led to the /tmp/.X11-unix ownership failure and the GDM login loop. I've removed that override along with the workarounds I added (the gdm drop-in and the tmp.mount copy). After a reboot the ordering cycle is gone and login works normally. Please close this as Invalid. One suggestion, if it's in scope: the path from a local swap unit drop- in to a GDM login loop was very hard to trace. A clearer error from mutter about a wrong /tmp/.X11-unix owner might save other people some time. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2169306 Title: Login loop after upgrade to 26.04: systemd ordering cycle (tmp.mount/swap) lets GDM greeter own /tmp/.X11-unix, Xwayland refuses to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2169306/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
