1 |
On Thu, Sep 13, 2012 at 11:21 AM, Stefan G. Weichinger <lists@×××××.at> wrote: |
2 |
> Am 13.09.2012 16:19, schrieb Canek Peláez Valdés: |
3 |
> |
4 |
>> The general solution is using something like udisks+polkit. |
5 |
> |
6 |
> I have troubles with that combo for a month or so ... seems as if |
7 |
> polkit-0.107 somehow is responsible for stuff not mounted here. |
8 |
> |
9 |
> ~amd64 btw, gnome-3-context. |
10 |
> |
11 |
> udisks comes (/is installed) in both slot 0 and 2, correct? |
12 |
> |
13 |
> [I] sys-fs/udisks |
14 |
> Available versions: |
15 |
> (0) 1.0.4-r2 (~)1.0.4-r3 |
16 |
> (2) (~)1.99.0 (~)1.99.0-r1 |
17 |
> |
18 |
> Does it work for all of you? |
19 |
|
20 |
It doesn't, but I was under the assumption it was because I'm using |
21 |
systemd. Since I installed gnome-shell-3.4 this has stopped working; |
22 |
my findings can be seen on the bug to freedesktop.org: |
23 |
|
24 |
https://bugs.freedesktop.org/show_bug.cgi?id=53905 |
25 |
|
26 |
It hits not only USB mounting; it also hits suspend/hibernate (I'm no |
27 |
longer allowed to suspend as user), setting up printers, and basically |
28 |
everything related to polkit. The root of the problem seems to be that |
29 |
(somehow) gnome-shell gets registered as PolitUnixSession instead of |
30 |
PolkitUnixProcess or PolkitSystemBusName, and that case is not covered |
31 |
in subject_to_jsval. |
32 |
|
33 |
Could you run polkitd without the --no-debug option (I don't have |
34 |
OpenRC installed, nor /etc/init.d, so I don't know if that is how it's |
35 |
run under OpenRC) and see on the logs if you see the following? |
36 |
|
37 |
** |
38 |
ERROR:polkitbackendjsauthority.c:730:subject_to_jsval: code should not be |
39 |
reached |
40 |
|
41 |
If so, please state it in the bug. David hasn't answered in three |
42 |
weeks; two of them he was at the Kernel Summit in San Diego, but I |
43 |
think it's time for me to nudge him again. An independent report |
44 |
should help. |
45 |
|
46 |
I'm running GNOME 3 unstable and with my systemd-only overlay, so I'm |
47 |
used to this kind of things happening from time to time. Also, it has |
48 |
easy workarounds (pmount, pm-suspend, etc.), so I haven't been really |
49 |
concerned into fixing it. |
50 |
|
51 |
Regards. |
52 |
-- |
53 |
Canek Peláez Valdés |
54 |
Posgrado en Ciencia e Ingeniería de la Computación |
55 |
Universidad Nacional Autónoma de México |