[Bug 1324698] [NEW] home ecryptfs directory not accessible in X on boot

Dash devel at tootai.net
Thu May 29 21:38:02 UTC 2014


Public bug reported:

Upgrade a notebook with SSD disk and /home/<user> directory in ecryptfs,
from 12.04 to 14.04. After installation, on each reboot, the ecryptfs
<user> partition is encrypted mounted when checking in console mode
(tty[1,2,...,6] but *not* when entering users credentials in X greeting
window. If, before entering those credentials, we open a tty console and
run "sudo service lightdm restart" and switch back to X greeting
windows, all is good.

In the case of login without restarting lightdm, behaviors are:

- ls -al shows cached directories created from time of login
- ls shows a README.TXT symbolic link to /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt
- ls shows a ecryptfs-mount-private.desktop symbolic link to /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop  
- all files and directories from real <user> encrypted directory are missing

The disk is one partition

UUID=9b12bd21-53d4-38f5-c474-674e05cd8d7c /               ext4
rw,relatime,discard,errors=remount-ro,data=ordered 0       1

cdir at host:~$ lsb_release -rd
Description:	Ubuntu 14.04 LTS
Release:	14.04

cdir at host:~$ apt-cache policy ecryptfs-utils
ecryptfs-utils:
  Installé : 104-0ubuntu1
  Candidat : 104-0ubuntu1
 Table de version :
 *** 104-0ubuntu1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.220.2
ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
Uname: Linux 3.13.0-27-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Thu May 29 23:09:28 2014
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-precise-amd64-20130203-1
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-10-13 (228 days ago)
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130203-13:50
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to trusty on 2014-05-29 (0 days ago)
VarLogDistupgradeTermlog:

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade trusty

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1324698

Title:
  home ecryptfs directory not accessible in X on boot

Status in “ubuntu-release-upgrader” package in Ubuntu:
  New

Bug description:
  Upgrade a notebook with SSD disk and /home/<user> directory in
  ecryptfs, from 12.04 to 14.04. After installation, on each reboot, the
  ecryptfs <user> partition is encrypted mounted when checking in
  console mode (tty[1,2,...,6] but *not* when entering users credentials
  in X greeting window. If, before entering those credentials, we open a
  tty console and run "sudo service lightdm restart" and switch back to
  X greeting windows, all is good.

  In the case of login without restarting lightdm, behaviors are:

  - ls -al shows cached directories created from time of login
  - ls shows a README.TXT symbolic link to /usr/share/ecryptfs-utils/ecryptfs-mount-private.txt
  - ls shows a ecryptfs-mount-private.desktop symbolic link to /usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop  
  - all files and directories from real <user> encrypted directory are missing

  The disk is one partition

  UUID=9b12bd21-53d4-38f5-c474-674e05cd8d7c /               ext4
  rw,relatime,discard,errors=remount-ro,data=ordered 0       1

  cdir at host:~$ lsb_release -rd
  Description:	Ubuntu 14.04 LTS
  Release:	14.04

  cdir at host:~$ apt-cache policy ecryptfs-utils
  ecryptfs-utils:
    Installé : 104-0ubuntu1
    Candidat : 104-0ubuntu1
   Table de version :
   *** 104-0ubuntu1 0
          500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.2
  ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
  Uname: Linux 3.13.0-27-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Thu May 29 23:09:28 2014
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-precise-amd64-20130203-1
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-10-13 (228 days ago)
  InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130203-13:50
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: release-upgrade
  UpgradeStatus: Upgraded to trusty on 2014-05-29 (0 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1324698/+subscriptions



More information about the foundations-bugs mailing list