Bug#524824: [Pkg-utopia-maintainers] Bug#524824: policykit: mounting removable drives in KDE4 stopped working with default settings

2009-04-20 Thread Michael Biebl
Marcus Better wrote:
>> Ok, I think this leads us into the right direction (you should only have on 
>> CK
>> session).
>> Which login manager do you use (kdm, gdm etc)
> 
> kdm.
> 
> I have libpam-ck-connector and it is referenced from /etc/pam.d/kdm:
> 
> #
> # /etc/pam.d/kdm - specify the PAM behaviour of kdm
> #
> auth   required pam_nologin.so
> auth   required pam_env.so readenv=1
> auth   required pam_env.so readenv=1 envfile=/etc/default/locale
> @include common-auth
> sessionrequired pam_limits.so
> sessionoptional pam_ck_connector.so
  ^^^
Please remove this line. This seems to be manually configured.

I'm pretty sure, your problem will be fixed then.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#524824: [Pkg-utopia-maintainers] Bug#524824: policykit: mounting removable drives in KDE4 stopped working with default settings

2009-04-20 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> Ok, I think this leads us into the right direction (you should only have on CK
> session).
> Which login manager do you use (kdm, gdm etc)

kdm.

I have libpam-ck-connector and it is referenced from /etc/pam.d/kdm:

#
# /etc/pam.d/kdm - specify the PAM behaviour of kdm
#
auth   required pam_nologin.so
auth   required pam_env.so readenv=1
auth   required pam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
sessionrequired pam_limits.so
sessionoptional pam_ck_connector.so
@include common-account
@include common-password
@include common-session

Also, when reconfiguring libpam-ck-connector it tells me:

"pam-auth-update: Local modifications to /etc/pam.d/common-*, not updating."

So it's possible that there is some cruft in the PAM config.

Cheers,

Marcus

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknsz70ACgkQXjXn6TzcAQlvxgCgpFGN3vMDZxgCMheLJDehjLZ3
7RcAmwf2WTrMKT1TRNh8IIlOD47nCOQB
=px6Y
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#524824: [Pkg-utopia-maintainers] Bug#524824: policykit: mounting removable drives in KDE4 stopped working with default settings

2009-04-20 Thread Michael Biebl
Marcus Better wrote:
>> Could you please remove this rule again, reboot and try again.
>> If that doesn't work, please send me the output of ck-list-sessions.
> 
> Did that, problem still there.
> 
> ~$ ck-list-sessions
> Session1:
> unix-user = '1000'
> realname = 'Marcus Better,,,'
> seat = 'Seat1'
> session-type = ''
> active = TRUE
> x11-display = ':0'
> x11-display-device = '/dev/tty7'
> display-device = ''
> remote-host-name = ''
> is-local = TRUE
> on-since = '2009-04-20T19:12:24.302665Z'
> login-session-id = '4294967295'
> Session2:
> unix-user = '1000'
> realname = 'Marcus Better,,,'
> seat = 'Seat2'
> session-type = ''
> active = FALSE
> x11-display = ':0'
> x11-display-device = ''
> display-device = ''
> remote-host-name = ''
> is-local = TRUE
> on-since = '2009-04-20T19:12:24.559830Z'
> login-session-id = '4294967295'
> 
> I'm really only logged in to one KDE session, the only login since booting.
> 

Ok, I think this leads us into the right direction (you should only have on CK
session).
Which login manager do you use (kdm, gdm etc) or do you use startx.
If the latter, does it help if you remove libpam-ck-connector (resp.
dpkg-reconfigure libpam-ck-connector and *not* select "ConsoleKit Session
Management")

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#524824: [Pkg-utopia-maintainers] Bug#524824: policykit: mounting removable drives in KDE4 stopped working with default settings

2009-04-20 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> Could you please remove this rule again, reboot and try again.
> If that doesn't work, please send me the output of ck-list-sessions.

Did that, problem still there.

~$ ck-list-sessions
Session1:
unix-user = '1000'
realname = 'Marcus Better,,,'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2009-04-20T19:12:24.302665Z'
login-session-id = '4294967295'
Session2:
unix-user = '1000'
realname = 'Marcus Better,,,'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2009-04-20T19:12:24.559830Z'
login-session-id = '4294967295'

I'm really only logged in to one KDE session, the only login since booting.

After editing the config file and restarting dbus, ck-list-sessions
shows nothing and I can access the device.

Cheers,

Marcus

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknsyscACgkQXjXn6TzcAQkfJQCeK2ISt1c9BszLkHFViW1W6YeY
5UEAoJTlt5H1V+Ms3fEX+6b5wwpsvXU2
=LmNN
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#524824: [Pkg-utopia-maintainers] Bug#524824: policykit: mounting removable drives in KDE4 stopped working with default settings

2009-04-20 Thread Michael Biebl
Marcus Better wrote:
> Package: policykit
> Version: 0.9-3
> Severity: normal
> 
> Today I was suddenly unable to mount a removable USB drive (a digital
> camera) in KDE4, something that used to work before. In between I have
> updated a bunch of packages, notably from KDE 4.2.1 to 4.2.2, so maybe
> it's related to this.
> 
> The device shows up in the plugged devices widget, but selecting the
> drive's icon in Dolphin gives a message about PermissionDenied for the
> action "org.freedesktop.hal.storage.mount-removable".
> 
> Some web searches turned up a workaround, I added the following rule
> PolicyKit.conf and it started working:
> 
>  
> 
> 
> 
> I think this should work out of the box.

Could you please remove this rule again, reboot and try again.
If that doesn't work, please send me the output of ck-list-sessions.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#524824: policykit: mounting removable drives in KDE4 stopped working with default settings

2009-04-20 Thread Marcus Better
Package: policykit
Version: 0.9-3
Severity: normal

Today I was suddenly unable to mount a removable USB drive (a digital
camera) in KDE4, something that used to work before. In between I have
updated a bunch of packages, notably from KDE 4.2.1 to 4.2.2, so maybe
it's related to this.

The device shows up in the plugged devices widget, but selecting the
drive's icon in Dolphin gives a message about PermissionDenied for the
action "org.freedesktop.hal.storage.mount-removable".

Some web searches turned up a workaround, I added the following rule
PolicyKit.conf and it started working:

 



I think this should work out of the box.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages policykit depends on:
ii  adduser   3.110  add and remove users and groups
ii  consolekit0.3.0-2framework for defining and trackin
ii  dbus  1.2.12-1   simple interprocess messaging syst
ii  libc6 2.9-4  GNU C Library: Shared libraries
ii  libdbus-1-3   1.2.12-1   simple interprocess messaging syst
ii  libdbus-glib-1-2  0.80-3 simple interprocess messaging syst
ii  libglib2.0-0  2.20.0-2   The GLib library of C routines
ii  libpam0g  1.0.1-9Pluggable Authentication Modules l
ii  libpolkit-dbus2   0.9-3  library for accessing PolicyKit vi
ii  libpolkit-grant2  0.9-3  library for obtaining privileges v
ii  libpolkit20.9-3  library for accessing PolicyKit

policykit recommends no packages.

Versions of packages policykit suggests:
pn  policykit-gnome(no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org