It seems that this issue is due to a bad local config. I tested this in
a Resolute VM, and I was able to reproduce the systemd cycle after
adding the /etc/systemd/system/swap.img.swap.d/override.conf. In the
provided SystemdDelta.txt, we see that the gdm drop-in workaround
replaces this existing override.conf:


    [OVERRIDDEN] /etc/systemd/system/gdm.service.d/override.conf → 
/etc/systemd/system/swap.img.swap.d/
    override.conf

    --- /etc/systemd/system/swap.img.swap.d/override.conf    2026-03-28 
11:02:47.354687870 -0300
    +++ /etc/systemd/system/gdm.service.d/override.conf    2026-10-02 
12:16:28.644566424 -0300
    @@ -1,3 +1,2 @@
    -[Unit]
    -After=local-fs.target
    -Requires=local-fs.target
    +[Service]
    +ExecStartPre=/usr/bin/systemd-tmpfiles --create --boot 
/usr/lib/tmpfiles.d/x11.conf

This file was in /etc, so it's not from the systemd packaging, which
suggests that it was user-added. Can you confirm its origin?

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

Reply via email to