upgrade to 10.10 breaks login if using pam_encfs

Bug #658197 reported by John McManigle
68
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Release Notes for Ubuntu
Won't Fix
Undecided
Unassigned
encfs (Ubuntu)
Invalid
Undecided
Unassigned
util-linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

PROBLEM
=======
Due to an error in devname.c of util-linux, the upgrade to 10.10 leads to the inability to login for anyone with pam_encfs enabled, hanging at "(Interface.cpp:165) checking if nameio/block(3:0:1) implements
nameio/block(3:0:0) "

This is described (with a fix) as bug #593336 on google group linux.debian.bugs.dist ( http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/accc7d6cce95b9f4/80f49718cff30f42 ). I applied the patch on that page to util-linux on my computer, and the problem was resolved. The patch is attached.

WORKAROUND
==========
Downgrade mount to 2.16, that is, to the version from Karmic: http://packages.ubuntu.com/karmic/mount

RELEASE NOTES
=============
This is as serious issue and should be mentioned in the release notes until it's fixed.

Revision history for this message
John McManigle (mcmanigle) wrote :
Revision history for this message
Ole Wolf (ole.wolf) wrote :

I had converted an originally unencrypted home directory on 10.04 to an encrypted home directory using the guide at: https://wiki.ubuntu.com/EncryptedHomeFolder. My recent upgrade to 10.10 caused the error described here.

Temporary work-around: Manually downgrading util-linux to 2.16 and downgrading mount to the previous release (i.e., downloading via the repository pools and installing with dkpg) reenabled the encrypted home folder on login. I assume it was the util-linux downgrade and not the mount downgrade that helped.

tags: added: patch
Revision history for this message
m.eik michalke (m.eik) wrote :

had the same problem. i tried the patch provided by John McManigle, and it solved it.

Changed in util-linux (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Jakob Unterwurzacher (jakobunt) wrote :
tags: added: patch-accepted-upstream
Changed in ubuntu-release-notes:
status: New → Won't Fix
Revision history for this message
Phillip Susi (psusi) wrote :

It seems this was fixed some time ago.

Changed in encfs (Ubuntu):
status: New → Invalid
Changed in util-linux (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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