2012-02-16 17:46:58 |
Ayan George |
bug |
|
|
added bug |
2012-02-16 17:46:58 |
Ayan George |
attachment added |
|
power-funcs.diff https://bugs.launchpad.net/bugs/933626/+attachment/2745858/+files/power-funcs.diff |
|
2012-02-16 20:13:08 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2012-02-16 20:13:16 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2012-02-24 18:42:12 |
Ayan George |
acpi-support (Ubuntu): assignee |
|
Steve Langasek (vorlon) |
|
2012-03-03 03:46:14 |
Steve Langasek |
acpi-support (Ubuntu): status |
New |
In Progress |
|
2012-03-03 03:47:16 |
Launchpad Janitor |
branch linked |
|
lp:acpi-support |
|
2012-03-04 00:00:36 |
Launchpad Janitor |
acpi-support (Ubuntu): status |
In Progress |
Fix Released |
|
2012-03-04 00:12:18 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/acpi-support |
|
2012-03-24 13:59:53 |
Axel Beckert |
bug |
|
|
added subscriber Axel Beckert |
2012-04-03 18:40:49 |
Ayan George |
description |
The acpi-support scripts use 'ps' and 'who' output to determine the current active X display and X user (in getXconsole and getXuser). Currently, LightDM does not write to utmp so 'who' does not output the correct information breaking getXconsole and getXuser.
ConsoleKit properly maintains the state of the console and probably should be used instead.
I've attached a patch that re-implements getXconsole and getXuser by calling ck-list-sessions. |
SRU Justificaiton
-----------------
Impact:
This bug impacts all Oneiric systems which use LightDM and are affected by lp870297 (Lightdm logins not being logged in wtmp).
In Oneiric, acpi-support depends on wtmp entries to determine the active console with getXconsole and getXuser. Since LightDM doesn't write to wtmp, this affects all systems that use acpi-support scripts to handle ACPI hotkey events -- including yet to be released hardware in the enablement/certification queue.
Fix:
The fix is to backport the changes made in Precise to Oneiric. This includes implementing getXuser and getXconsole with ConsoleKit (ck-list-sessions).
Patch:
This change is already in acpi-support .139:
http://launchpadlibrarian.net/95198647/acpi-support_0.138_0.139.diff.gz
I've attached a debdiff that backports that change to acpi-support .139 in Oneiric.
Regression Potential:
There should be very little potential for regression. In fact, this should fix machines affected by lp87029, including OEM systems.
------------------------
The acpi-support scripts use 'ps' and 'who' output to determine the current active X display and X user (in getXconsole and getXuser). Currently, LightDM does not write to utmp so 'who' does not output the correct information breaking getXconsole and getXuser.
ConsoleKit properly maintains the state of the console and probably should be used instead.
I've attached a patch that re-implements getXconsole and getXuser by calling ck-list-sessions. |
|
2012-04-03 18:41:45 |
Ayan George |
attachment added |
|
acpi-support.diff https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/933626/+attachment/2997934/+files/acpi-support.diff |
|
2012-04-03 18:52:40 |
Ayan George |
bug |
|
|
added subscriber Canonical Hardware Enablement Team |
2012-04-03 18:52:43 |
Ayan George |
tags |
patch |
blocks-hwcert-enablement patch |
|
2012-04-03 18:52:47 |
Ayan George |
nominated for series |
|
Ubuntu Oneiric |
|
2012-04-03 18:52:59 |
Ayan George |
nominated for series |
|
Ubuntu Precise |
|
2012-04-03 18:53:32 |
Ayan George |
acpi-support (Ubuntu): milestone |
|
oneiric-updates |
|
2012-04-03 18:54:36 |
Ayan George |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-04-03 18:56:21 |
Ayan George |
description |
SRU Justificaiton
-----------------
Impact:
This bug impacts all Oneiric systems which use LightDM and are affected by lp870297 (Lightdm logins not being logged in wtmp).
In Oneiric, acpi-support depends on wtmp entries to determine the active console with getXconsole and getXuser. Since LightDM doesn't write to wtmp, this affects all systems that use acpi-support scripts to handle ACPI hotkey events -- including yet to be released hardware in the enablement/certification queue.
Fix:
The fix is to backport the changes made in Precise to Oneiric. This includes implementing getXuser and getXconsole with ConsoleKit (ck-list-sessions).
Patch:
This change is already in acpi-support .139:
http://launchpadlibrarian.net/95198647/acpi-support_0.138_0.139.diff.gz
I've attached a debdiff that backports that change to acpi-support .139 in Oneiric.
Regression Potential:
There should be very little potential for regression. In fact, this should fix machines affected by lp87029, including OEM systems.
------------------------
The acpi-support scripts use 'ps' and 'who' output to determine the current active X display and X user (in getXconsole and getXuser). Currently, LightDM does not write to utmp so 'who' does not output the correct information breaking getXconsole and getXuser.
ConsoleKit properly maintains the state of the console and probably should be used instead.
I've attached a patch that re-implements getXconsole and getXuser by calling ck-list-sessions. |
SRU Justificaiton
-----------------
Impact:
This bug impacts all Oneiric systems which use LightDM and are affected by lp870297 (Lightdm logins not being logged in wtmp).
In Oneiric, acpi-support depends on wtmp entries to determine the active console with getXconsole and getXuser. Since LightDM doesn't write to wtmp, this affects all systems that use acpi-support scripts to handle ACPI hotkey events -- including yet to be released hardware in the enablement/certification queue.
Fix:
The fix is to backport the changes made in Precise to Oneiric. This includes implementing getXuser and getXconsole with ConsoleKit (ck-list-sessions).
Patch:
This change is already in acpi-support .139:
http://launchpadlibrarian.net/95198647/acpi-support_0.138_0.139.diff.gz
I've attached a debdiff that backports that change to acpi-support .139 in Oneiric.
Regression Potential:
There should be very little potential for regression. In fact, this should fix machines affected by lp87029, including OEM systems.
This has been tested using the following PPA:
https://launchpad.net/~ayan/+archive/acpi-support-sru
------------------------
The acpi-support scripts use 'ps' and 'who' output to determine the current active X display and X user (in getXconsole and getXuser). Currently, LightDM does not write to utmp so 'who' does not output the correct information breaking getXconsole and getXuser.
ConsoleKit properly maintains the state of the console and probably should be used instead.
I've attached a patch that re-implements getXconsole and getXuser by calling ck-list-sessions. |
|
2012-04-05 14:11:29 |
Anthony Wong |
bug |
|
|
added subscriber Anthony Wong |
2012-04-06 15:38:57 |
Ayan George |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2012-04-06 19:50:43 |
Steve Langasek |
bug task added |
|
acpi-support (Ubuntu Oneiric) |
|
2012-04-16 10:27:39 |
Martin Pitt |
bug task added |
|
acpi-support (Ubuntu Precise) |
|
2012-04-16 10:33:54 |
Martin Pitt |
acpi-support (Ubuntu Oneiric): status |
New |
Fix Committed |
|
2012-04-16 10:34:02 |
Martin Pitt |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2012-04-20 21:34:30 |
Clint Byrum |
bug |
|
|
added subscriber SRU Verification |
2012-04-20 21:34:36 |
Clint Byrum |
tags |
blocks-hwcert-enablement patch |
blocks-hwcert-enablement patch verification-needed |
|
2012-04-22 03:20:21 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/oneiric-proposed/acpi-support |
|
2012-05-23 09:05:39 |
Martin Pitt |
tags |
blocks-hwcert-enablement patch verification-needed |
blocks-hwcert-enablement patch verification-done |
|
2012-05-28 10:37:08 |
Launchpad Janitor |
acpi-support (Ubuntu Oneiric): status |
Fix Committed |
Fix Released |
|