likewise open and pam_mount don't copy /etc/skel

Bug #992101 reported by David Burke
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libpam-mount (Ubuntu)

Bug Description

Install likewise-open and join a domain
install libpam-mount and set up a share to mount
Modify common-session so likewise open and pam mount work together (see bug

Log in as a new user from the domain (but who does not yet have a home on the local machine)
pam_mount will mount the share, but everything in /etc/skel isn't copied over.

To prove pam_mount is the issue edit common-session and remove the reference to pam_mount

Log in as a new user and we can see files in /etc/skel are copied over. Of course now we have no shares.

In a typical user creation the files are copied right away and this issue is avoided. By when logging into a domain the user is created at first login. I am unsure if this happens only to likewise open or to any login mechanism that creates the home folder on the fly.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libpam-mount 2.10-2build1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
Uname: Linux 3.2.0-24-generic-pae i686
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Mon Apr 30 13:57:43 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
 PATH=(custom, no user)
SourcePackage: libpam-mount
UpgradeStatus: No upgrade log present (probably fresh install) 2012-04-30T11:41:59.609591

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

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

Changed in libpam-mount (Ubuntu):
status: New → Confirmed
Revision history for this message
David Burke (bufke) wrote :

This bug seems to be fixed. I am now able to use likewise-open, pam_mount, and have the home folder created.

Revision history for this message
Blagovest Petrov (eniac-bg) wrote :

I have the same problem with libpam_ldap and libpam_mount

Revision history for this message
David Burke (bufke) wrote :

I was actually just playing around with this again recently. Can you try adding this make home pam module?

I suspect this is actually what fixed it for me. It's odd the is needed though. I don't understand the behavior of copying /etc/skel by default but then not copying it when adding a remote authentication module.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers