Public bug reported:

[Impact]

Bug is impacting the suspend/resume flow when there is no input device
connected to machine. xorg hangs in this case.

[Where problems could occur]

The problem could occur in places where there is no input device
connected to the system but a suspend/resume is triggered.

[Test Case]

* Enable proposed updates (https://wiki.ubuntu.com/Testing/EnableProposed)
* Update xorg-server to the version in -proposed: sudo apt install -t 
jammy-proposed xorg-server
* Unplug all USB devices such as USB drive, keyboard, mouse, etc.
* Set RTC timer and suspend the system via UART console
    $ echo 8 > /proc/sys/kernel/printk
    $ sudo rtcwake -v -m no -s 240
    $ sudo systemctl suspend

[Regression Potential]

The patch defines a default behavior in systemd_logind_drop_master
function so there is a possibility that there might be a regression that
may affect all the systems that utilizes systemd_logind_drop_master

------------------------
Upstream Bug: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1387

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch

** Patch added: "jammy-0.debdiff"
   
https://bugs.launchpad.net/bugs/2056331/+attachment/5753369/+files/jammy-0.debdiff

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/2056331

Title:
  [SRU] fix suspend/resume when there are no input devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2056331/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to