1 |
On Mon, Sep 17, 2012 at 10:45 AM, Stefan G. Weichinger <lists@×××××.at> wrote: |
2 |
> Am 16.09.2012 20:45, schrieb Canek Peláez Valdés: |
3 |
> |
4 |
>> This workaround also works in my systemd-only overlay. So, if you have |
5 |
>> the systemd flag in any of those four packages, disable it and |
6 |
>> everything should work. Just to be explicit, the versions are: |
7 |
>> |
8 |
>> gnome-base/gdm-3.4.1-r1 |
9 |
>> gnome-base/gnome-session-3.4.2.1 |
10 |
>> gnome-base/gnome-shell-3.4.2 |
11 |
>> sys-auth/polkit-0.107:0 |
12 |
> |
13 |
> confirming this. I have exactly your mentioned versions with |
14 |
> USE="-systemd" and suspend/hibernate option returns, I could mount/use a |
15 |
> DVD right now ... yes! |
16 |
|
17 |
OK; now I can put this whole thing behind me. You can read the bug again: |
18 |
|
19 |
https://bugs.freedesktop.org/show_bug.cgi?id=53905 |
20 |
|
21 |
but the short answer is that you cannot let both systemd and |
22 |
consolekit to manage sessions. The problem (in my case) was that I was |
23 |
using accountsservice 0.6.22, which depends on consolekit. I upgraded |
24 |
to accountsservice 0.6.24 (which can depend on systemd), I removed all |
25 |
consolekit USE-flags (except for bluez: bluez uses consolekit to pull |
26 |
either consolekit or systemd; I reported a bug[1]), and after an |
27 |
emerge -uDNv world, I removed consolekit (I didn't had any other |
28 |
package depending on it). |
29 |
|
30 |
Now everything works as it should, in both my overlay and in the |
31 |
vanilla Gentoo tree. Be aware: it works *with systemd*; maybe it works |
32 |
without it, but I don't know (nor care). All the GNOME session |
33 |
management is moving to systemd, and I think it's a great idea. |
34 |
Support for consolekit (which is no longer maintained) is still there, |
35 |
but I don't know for how long. |
36 |
|
37 |
If you want to keep using (the unmaintained) consolekit, be sure to |
38 |
set "-systemd" in your USE flags. Do not mix systemd and consolekit, |
39 |
or this bug will hit you. |
40 |
|
41 |
Regards. |
42 |
|
43 |
[1] https://bugs.gentoo.org/show_bug.cgi?id=436180 |
44 |
-- |
45 |
Canek Peláez Valdés |
46 |
Posgrado en Ciencia e Ingeniería de la Computación |
47 |
Universidad Nacional Autónoma de México |