Re: [opensuse-factory] Adding udisks2 polkit privileges
Am 06/04/12, schrieb Ilya Chernykh <anixxsus@gmail.com>:
Under KDE3 session I have similar output:
Session1: unix-user = '1000' realname = 'anixx' seat = 'Seat1' session-type = '' active = TRUE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = TRUE on-since = '2012-06-04T13:43:07.686552Z' login-session-id = '4294967295'
Still Udisks2 backend fails to function properly without the modified polkit policy.
So most probably pk is completely broken on your system. Whats the output of e.g. pkcheck --allow-user-interaction --process $$ --action-id org.freedesktop.udisks.filesystem-lsof-system-internal ; echo $? If it exits with "Authorization requires authentication but no agent is available.", also pass "--enable-internal-agent" to the above command. You may exchange the action id with any other, a list of possible actions is available via pkaction Regards, Stefan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 04 June 2012 23:10:41 Stefan Brüns wrote:
Am 06/04/12, schrieb Ilya Chernykh <anixxsus@gmail.com>:
Under KDE3 session I have similar output:
Session1: unix-user = '1000' realname = 'anixx' seat = 'Seat1' session-type = '' active = TRUE x11-display = ':0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = TRUE on-since = '2012-06-04T13:43:07.686552Z' login-session-id = '4294967295'
Still Udisks2 backend fails to function properly without the modified polkit policy.
So most probably pk is completely broken on your system.
The same behavior hapen not only on my system but also on a newly-installed openSUSE 12.1
Whats the output of e.g.
pkcheck --allow-user-interaction --process $$ --action-id org.freedesktop.udisks.filesystem-lsof-system-internal ; echo $?
If it exits with "Authorization requires authentication but no agent is available.",
Yes, it does.
also pass "--enable-internal-agent" to the above command.
With this option it asks for a password.
You may exchange the action id with any other, a list of possible actions is available via pkaction
What is it and why would I need it? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le mardi 05 juin 2012, à 08:34 +0400, Ilya Chernykh a écrit :
On Monday 04 June 2012 23:10:41 Stefan Brüns wrote:
Whats the output of e.g.
pkcheck --allow-user-interaction --process $$ --action-id org.freedesktop.udisks.filesystem-lsof-system-internal ; echo $?
If it exits with "Authorization requires authentication but no agent is available.",
Yes, it does.
This simply means you need a polkit agent in KDE 3. This might need to be written, or backported from KDE 4, maybe. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 05 June 2012 11:18:25 Vincent Untz wrote:
This simply means you need a polkit agent in KDE 3. This might need to be written, or backported from KDE 4, maybe.
Does it mean that auto-mounting should work well when, say, lxpolkit is running? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le mardi 05 juin 2012, à 11:39 +0400, Ilya Chernykh a écrit :
On Tuesday 05 June 2012 11:18:25 Vincent Untz wrote:
This simply means you need a polkit agent in KDE 3. This might need to be written, or backported from KDE 4, maybe.
Does it mean that auto-mounting should work well when, say, lxpolkit is running?
Possibly. But I don't know lxpolkit, so I can't tell for sure. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
"Stefan Brüns"
-
Ilya Chernykh
-
Vincent Untz