[Bug 1308530] Re: Cannot login after an upgrade from Saucy to Trusty with Ubiquity and encrypted home directory
Tao Wang
twang2218 at gmail.com
Sun Apr 20 16:20:36 UTC 2014
I found 'samba' do affect the ecryptfs somehow.
As I said before, even when I run `ecryptfs-mount-private` as the
README.txt file said, it will decrypt the HOME directory for a moment,
after maybe few seconds or few minutes, the HOME directory will be
encrypted/umounted again. And when this happened, I got following error
in `/var/log/auth.log`:
```
Apr 20 18:48:44 wombat smbd[12728]: pam_unix(samba:session): session closed for user tao
Apr 20 18:50:17 wombat smbd[12919]: pam_unix(samba:session): session closed for user tao
Apr 20 18:53:28 wombat smbd[13118]: pam_unix(samba:session): session closed for user tao
Apr 20 18:55:03 wombat smbd[13139]: pam_unix(samba:session): session closed for user tao
Apr 20 18:56:16 wombat smbd[13321]: pam_unix(samba:session): session closed for user tao
```
So, I just tried to uninstall samba server by `sudo apt-get purge
samba`, and it seems working, for now. But, I cannot use samba to share
files on my system anymore...
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1308530
Title:
Cannot login after an upgrade from Saucy to Trusty with Ubiquity and
encrypted home directory
Status in Release Notes for Ubuntu:
Fix Released
Status in “ubiquity” package in Ubuntu:
Triaged
Bug description:
Trusty Desktop amd64 20140415
TEST CASE:
1. Install Saucy Desktop with encrypted home
2. Boot a Trusty ISO
3. Select upgrade to Trusty
4. Enter the same username and another password
EXPECTED RESULT:
User can log in
ACTUAL RESULT
User cannot login.
If I boot to recovery mode and "sudo -i -u ubuntu" I get
"""
$ sudo -i -u ubuntu
open: No such file or directory
Error locking counter
"""
If I unlock the home directory with ecryptfs-mount-private I get:
"""
$ ecryptfs-mount-private
Enter your login passphrase:
Inserted auth tok sig [XXXXXXX] into the user session keyring
open: No such file or directory
Error locking counter
"""
But the home directory is not unlocked and mounted
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Wed Apr 16 14:59:42 2014
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
InstallationDate: Installed on 2014-04-16 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140415)
ProcEnviron:
SHELL=/bin/bash
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1308530/+subscriptions
More information about the foundations-bugs
mailing list