openSUSE 12.2 / kdm /pam_mount

Hi all,

after upgrading to lastest openSUSE 12.2, I see kdm segfaults in kdm whenever a user with defined pam_mount volumes tries to log in via kdm:

Dec 26 19:52:15 nde17 kdm: :0[4772]: (pam_mount.c:554): pam_mount 2.13: entering session stage
Dec 26 19:52:15 node17 kernel:  1280.147573] kdm[4772]: segfault at 0 ip           (null) sp 00007fffd3ffa678 error 14 in kdm[400000+2a000]
Dec 26 19:52:15 node17 kdm[4290]: Unknown session exit code 0 (sig 11) from manager process
Dec 26 19:52:15 node17 kdm_greet[4773]: Cannot read from core

As soon as I remove every node from /etc/security/pam_mount.conf.xml, the user can log in (but obviously no volumes are mounted during login).
There is no problem logging in via console nor ssh. It’s just the combination of kdm and pam_mount that makes kdm segfault.

node17:~ # uname -a
Linux node17.company.com 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux
node17:~ # rpm -qa |grep kdm
kdm-4.8.5-2.10.1.x86_64
kdm-branding-openSUSE-12.2-11.12.1.noarch
node17:~ # rpm -qa |grep pam_mount
pam_mount-2.13-2.1.2.x86_64
pam_mount-32bit-2.13-2.1.2.x86_64

We’ve had similar trouble with pam_mount & kdm in earlier releases, but those were eventually resolved, Obviously, checking that combination dropped from the release test plan :wink:

I had tested a newer level of KDE from software.opensuse.org earlier this month, but got other problems (with multiple X servers on a single video card, going to different hosts per xdmcp), so that was no solution either.

Any hope of having this fixed this both for 12.2 and 12.3?

Regards,
Jens

Not without reporting it. Forum post is not bug report. Please report it on bugzilla.novell.com.

On 2012-12-26 19:16, jmozdzen wrote:
> after upgrading to lastest openSUSE 12.2,

What procedure?

Online upgrade
method

Offline upgrade
method


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

I’ll do so - it’s just that I didn’t want to spam bugzilla when an easy fix is available :wink:

Hi Carlos,

definitely after an online upgrade (12.1 to 12.2), but iirc I had the same problem after a fresh install, a couple of weeks ago.

I’ll take this to bugzilla.

Regards,
Jens

It’s https://bugzilla.novell.com/show_bug.cgi?id=796159 and I had to reduce it to an enhancement request. It turned out that there was no effective “auth pam_mount” entry for the xdm service, after adding it pam_mount worked as expected. As I believe pam_mount shouldn’t segfault even under that condition, I left the bug open.

Regards,
Jens