Installing libpam-ck-connector break mounting device

Bug #576073 reported by Julien Lavergne
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
LXDE
Unknown
Unknown
lxdm (Ubuntu)
Fix Released
High
Julien Lavergne

Bug Description

Binary package hint: lxdm

Installing libpam-ck-connector break mounting device ("Non authorized") when loging with lxdm. If gdm is using, it's working.

Related branches

Revision history for this message
Dooitze de Jong (dooitze) wrote :

I think the rights of libpam-ck-connector must be change

Changed in lxdm (Ubuntu):
assignee: nobody → Lubuntu (lubuntu-desktop)
Revision history for this message
Julien Lavergne (gilir) wrote :

No need to affect Lubuntu team.

Changed in lxdm (Ubuntu):
assignee: Lubuntu (lubuntu-desktop) → nobody
Revision history for this message
Julien Lavergne (gilir) wrote :

Lionel proposed 2 possible fixes for this on IRC, but after some tests, it doesn't fix the problem :
- adding "session optional pam_ck_connector.so" to lxdm.pam
- starting lxde session with "ck-launch-session"

Revision history for this message
Max (maxter) wrote :

well...
i didn't know if libpam-ck-connector is necessary, but i removed it, and it seems that no package depends from this one.

this fix the problem for me.

Revision history for this message
Daniel Kulesz (kuleszdl) wrote :

As already mentioned in #bug 635698, removing the package also resolved this usb pen drive issue with the fixed lxdm version.

Revision history for this message
Julien Lavergne (gilir) wrote :
Changed in lxde:
importance: Undecided → Unknown
status: New → Unknown
Changed in lxdm (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Stenten (stenten) wrote :

Removing libpam-ck-connector also causes apt to remove ubuntu-desktop; I've filed this as bug 709531 [1].

[1] https://bugs.launchpad.net/ubuntu/+source/lxdm/+bug/709531

Revision history for this message
Andrey Bondarenko (abone) wrote :

I agree with Stenten. Adding libpam-ck-connector conflict with lxdm (implemented in lxdm-0.2.0-0ubuntu3.2) is not a solution. This forces users to have either lubuntu-desktop, or any other desktop metapackage installed. Currently Lubuntu have too many bugs to force user to stick with it only. Now bug 709531 affects me too and I have to blacklist lxdm-0.2.0-0ubuntu3.2 to avoid it.

Revision history for this message
Andrey Bondarenko (abone) wrote :

I've tried another workarround and it works for me with (lxdm-0.2.0-0ubuntu3 with libpam-ck-connector) installed. I've edited file /etc/pam.d/lxdm and replaced line

@include common-session

with line

@include common-session-noninteractive

Files /etc/pam.d/common-session and /etc/pam.d/common-session-noninteractive are differs only in pam_ck_connector.so module. As I understand, upstream bug at sourceforge also recommends not to use pam_ck_connector with lxdm (probably, lxdm have built-in support for ck?).

Can anybody check test my solution. If it works I could create a patch. For me chaging config file is much better than introducing incompatibility between lubuntu-desktop and all the rest desktops.

Revision history for this message
Julien Lavergne (gilir) wrote :

You need also to check if ConsolKit works correctly after the modification. For example, you should be able to change settings in "Date and Time".

Revision history for this message
Andrey Bondarenko (abone) wrote :

I've checked lubuntu and xubuntu session started from lxdm-0.2.0-0ubuntu3 with common-session-noninteractive instead of common-session. In both environments I'm able to mount/unmount removable drive and set date and time. ck-list-sessions show exactly one record about my X session. Should I test anything else?

Revision history for this message
Julien Lavergne (gilir) wrote :

Thanks for the tests. I'll provide a fixed package so others people can also test the fix.

Changed in lxdm (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Julien Lavergne (gilir)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxdm - 0.3.0-0ubuntu3

---------------
lxdm (0.3.0-0ubuntu3) natty; urgency=low

  * debian/patches/
   - 80_translations.patch: Update translations from upstream git (2011-02-14)
  * debian/lxdm.pam:
   - Add @include common-session-noninteractive instead of
     @include common-session to disable consolekit pam support, already in lxdm
     (LP: #576073).
  * debian/control:
   - Drop libpam-ck-connector conflicts, since the support is disabled in the
     pam file (LP: #709531).
 -- Julien Lavergne <email address hidden> Mon, 28 Feb 2011 00:17:20 +0100

Changed in lxdm (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.