Ubuntu 14.04: lightdm crashes when user has NFS mounted home directory

Bug #1308043 reported by Thomas Ribbrock
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Invalid
Medium
Unassigned
pam-kwallet (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Situation:
- Freshly installed machine with Kubuntu 14.04 i386
- Create local user
- The home directory is mounted from a server using NFS4 (no Kerberos)

On login, lightdm claims that the password of the user is incorrect. The same user can log in without any problems on the console and can access his files. If I create a local home directory (w/o NFS), the user can log in via lightdm as well.

What I've seen so far with NFS home directory:

After a login attempt, /var/log/syslog shows:
[...]
Apr 15 14:42:30 pc1326 kernel: [73998.523174] lightdm[13641]: segfault at 0 ip b72a41c7 sp bfd2b2f0 error 4 in libc-2.19.so[b723f000+1a9000]

In /var/log/auth.log:
[...]Apr 15 14:42:30 pc1326 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "testuser2"
Apr 15 14:42:30 pc1326 lightdm: pam_kwallet(lightdm:auth): pam_sm_authenticate

In /var/log/lightdm/lightdm.log:
[...]
[+74103.53s] DEBUG: Session pid=13162: Greeter start authentication for testuser2
[+74103.53s] DEBUG: Session pid=13689: Started with service 'lightdm', username 'testuser2'
[+74103.53s] DEBUG: Session pid=13689: Got 1 message(s) from PAM
[+74103.53s] DEBUG: Session pid=13162: Prompt greeter with 1 message(s)
[+74103.53s] DEBUG: Session pid=13162: Continue authentication
[+74103.67s] DEBUG: Session pid=13689: Terminated with signal 11
[+74103.67s] DEBUG: Session: Failed during authentication
[+74103.67s] DEBUG: Session pid=13162: Authenticate result for user testuser2: Authentication stopped before completion
[+74103.67s] DEBUG: Seat: Session stopped

lightdm:
  Installed: 1.10.0-0ubuntu3

Description: Ubuntu 14.04 LTS
Release: 14.04

Revision history for this message
Luis Lucas (lfrlucas) wrote :

Same problem here using Kubuntu 14.04.
Lightdm crashes (as reported in dmesg) when ldap users try to login.
In my case, Ldap users autenticate via kerberos (using sssd) and have home directories mounted via NFSv3.
My solution was to install and use KDM instead of lightdm!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm (Ubuntu):
status: New → Confirmed
Revision history for this message
thomas.hottendorff@hvbo4.de (thomas-hottendorff) wrote :

I have this problem too. Installed kdm to circumvent it for the time being.

Revision history for this message
webrat (irc-webratz) wrote :

I'm experiencing this issue also. To add some details i'll attach the apport file.
This is a fresh install of Ubuntu 14.04 using NFSv4 with Kerberos for the /home directories.

summary: - Kubuntu 14.04: lightdm crashes when user has NFS mounted home directory
+ Ubuntu 14.04: lightdm crashes when user has NFS mounted home directory
Revision history for this message
Robert Ancell (robert-ancell) wrote :

A backtrace is required to diagnose this but the logs above suggest it might be a bug in pam_kwallet.

Changed in lightdm (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Philipp Wendler (philw85) wrote :

Yes, you are right, the problem occurs only if pam-kwallet is installed. How can I generate a backtrace?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pam-kwallet (Ubuntu):
status: New → Confirmed
Revision history for this message
Harald Sitter (apachelogger) wrote :

For what it is worth, it would be really cool if you could upgrade pam-kwallet from proposed updates, as I absolutely expect your crash to be one of those that the version in proposed should fix:

bug #1314118
bug #1314119
bug #1314120

(instructions on how to enable the proposed updates are available in the last comment of those bug reports)

Changed in pam-kwallet (Ubuntu):
status: Confirmed → Incomplete
importance: Undecided → High
Revision history for this message
Philipp Wendler (philw85) wrote :

Indeed, after upgrading pam-kwallet to the version from trusty-proposed I can login without problems.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Marking the lightdm task as invalid as Philipp confirms this is a problem with pam-kwallet.

Changed in lightdm (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Harald Sitter (apachelogger) wrote :

The update has now been released. Thanks for the bug report.

Changed in pam-kwallet (Ubuntu):
status: Incomplete → 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.