Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] USB automount "Stefan G. Weichinger" <lists@×××××.at>