Activity log for bug #802197

Date Who What changed Old value New value Message
2011-06-26 15:03:50 Scott Moser bug added bug
2011-06-26 15:04:30 Scott Moser util-linux (Ubuntu): importance Undecided High
2011-06-26 15:04:30 Scott Moser util-linux (Ubuntu): status New Confirmed
2011-06-26 15:04:48 Scott Moser bug added subscriber Dustin Kirkland
2011-06-26 15:05:06 Scott Moser bug task added ecryptfs-utils (Ubuntu)
2011-06-26 22:26:08 Dustin Kirkland  bug added subscriber Michael Terry
2011-06-26 23:01:59 Tom Adams bug added subscriber Tom Adams
2011-06-27 00:28:16 Anders Kaseorg bug added subscriber Anders Kaseorg
2011-06-27 04:22:27 Roland Dreier bug added subscriber Roland Dreier
2011-06-27 09:00:41 Dustin Kirkland  util-linux (Ubuntu): importance High Critical
2011-06-27 09:00:43 Dustin Kirkland  ecryptfs-utils (Ubuntu): importance Undecided Critical
2011-06-27 09:00:46 Dustin Kirkland  ecryptfs-utils (Ubuntu): status New Triaged
2011-06-27 09:00:48 Dustin Kirkland  util-linux (Ubuntu): status Confirmed Triaged
2011-06-27 09:03:18 Dustin Kirkland  util-linux (Ubuntu): assignee Steve Langasek (vorlon)
2011-06-27 09:16:58 Dustin Kirkland  bug added subscriber LaMont Jones
2011-06-27 09:17:05 Dustin Kirkland  util-linux (Ubuntu): assignee Steve Langasek (vorlon) LaMont Jones (lamont)
2011-06-27 09:19:39 Dustin Kirkland  description encrypted-home directories were broken with the latest upgrade of util-linux. The issue is that ecryptfs tries to find a sysfs mount point by reading /etc/fstab (ie, it wants to find 'sysfs' and '/sys'). in ecryptfs/src/libecryptfs/sysfs.c , ecryptfs_get_version tries to get the version of ecryptfs in this kernel. and then see if it is capable. That calls 'get_sysfs_mountpoint' which parses /etc/mtab for the sysfs entry. The util-linux upgrade to 2.19.1-2ubuntu1 does not write an entry in /etc/fstab for sysfs. The end resupt is that the user ends up with file *content* decrypted, but not filenames. They'll see a bunch of filenames with "ECRYPTFS_FNEK_ENCRYPTED" in their name like: ECRYPTFS_FNEK_ENCRYPTED.FXbGolSeisjWM-Qojv3ajQsDcC-kITIu0KUxZdKsa5gkZBtZLX12p7AKgcrQTja6Hep3FSW8okccMX6- ECRYPTFS_FNEK_ENCRYPTED.FXbGolSeisjWM-Qojv3ajQsDcC-kITIu0KUxZdKsa5gkZBtZLX12p7AKggO-5p.pSThbVFaNI8aX4-6- ECRYPTFS_FNEK_ENCRYPTED.FXbGolSeisjWM-Qojv3ajQsDcC-kITIu0KUxZdKsa5gkZBtZLX12p7AKgirB.sNgfbm-8lk0XZWwB-A- 1 possible fix for this is for ecryptfs to read /proc/mounts rather than /etc/mtab. A work around for this is to: a.) log in as another user, edit /etc/mtab and add 'sysfs' entry (see /proc/mounts for example), then log in as new user b.) backlevel util-linux and reboot (so /etc/mtab is updated with sysfs entry via old util-linux). ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: util-linux 2.19.1-2ubuntu1 ProcVersionSignature: Ubuntu 3.0-1.2-generic 3.0.0-rc3 Uname: Linux 3.0-1-generic x86_64 Architecture: amd64 Date: Sun Jun 26 10:50:31 2011 EcryptfsInUse: Yes InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318) ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: util-linux UpgradeStatus: Upgraded to oneiric on 2010-11-15 (222 days ago) encrypted-home directories were broken with the latest upgrade of util-linux. The issue is that ecryptfs tries to find a sysfs mount point by reading /etc/mtab (ie, it wants to find 'sysfs' and '/sys'). in ecryptfs/src/libecryptfs/sysfs.c , ecryptfs_get_version tries to get the version of ecryptfs in this kernel. and then see if it is capable. That calls 'get_sysfs_mountpoint' which parses /etc/mtab for the sysfs entry. The util-linux upgrade to 2.19.1-2ubuntu1 does not write an entry in /etc/mtab for sysfs. The end resupt is that the user ends up with file *content* decrypted, but not filenames. They'll see a bunch of filenames with "ECRYPTFS_FNEK_ENCRYPTED" in their name like:  ECRYPTFS_FNEK_ENCRYPTED.FXbGolSeisjWM-Qojv3ajQsDcC-kITIu0KUxZdKsa5gkZBtZLX12p7AKgcrQTja6Hep3FSW8okccMX6- ECRYPTFS_FNEK_ENCRYPTED.FXbGolSeisjWM-Qojv3ajQsDcC-kITIu0KUxZdKsa5gkZBtZLX12p7AKggO-5p.pSThbVFaNI8aX4-6- ECRYPTFS_FNEK_ENCRYPTED.FXbGolSeisjWM-Qojv3ajQsDcC-kITIu0KUxZdKsa5gkZBtZLX12p7AKgirB.sNgfbm-8lk0XZWwB-A- 1 possible fix for this is for ecryptfs to read /proc/mounts rather than /etc/mtab. A work around for this is to:  a.) log in as another user, edit /etc/mtab and add 'sysfs' entry (see /proc/mounts for example), then log in as new user  b.) backlevel util-linux and reboot (so /etc/mtab is updated with sysfs entry via old util-linux). ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: util-linux 2.19.1-2ubuntu1 ProcVersionSignature: Ubuntu 3.0-1.2-generic 3.0.0-rc3 Uname: Linux 3.0-1-generic x86_64 Architecture: amd64 Date: Sun Jun 26 10:50:31 2011 EcryptfsInUse: Yes InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318) ProcEnviron:  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bash SourcePackage: util-linux UpgradeStatus: Upgraded to oneiric on 2010-11-15 (222 days ago)
2011-06-27 09:37:54 Dustin Kirkland  attachment added out https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/802197/+attachment/2182429/+files/out
2011-06-27 17:30:08 Brian Murray bug added subscriber Ubuntu Review Team
2011-06-27 17:30:10 Brian Murray tags amd64 apport-bug oneiric unity-2d amd64 apport-bug oneiric patch unity-2d
2011-06-28 00:50:32 jk bug added subscriber jk
2011-06-28 02:36:31 shankao bug added subscriber shankao
2011-06-28 03:14:56 Nick Semenkovich bug added subscriber semenko
2011-06-28 15:14:54 Chad Miller bug added subscriber Chad Miller
2011-06-29 12:05:13 Steve Langasek util-linux (Ubuntu): assignee LaMont Jones (lamont) Steve Langasek (vorlon)
2011-06-29 12:10:12 Launchpad Janitor util-linux (Ubuntu): status Triaged Fix Released
2011-06-29 13:15:34 Launchpad Janitor branch linked lp:ubuntu/util-linux
2011-06-29 16:56:09 Martin Pitt bug added subscriber Martin Pitt
2011-06-29 17:41:58 Martin Pitt bug added subscriber Loïc Minier
2011-07-11 23:03:23 Dustin Kirkland  ecryptfs-utils (Ubuntu): status Triaged Invalid
2011-07-11 23:28:59 Steve Langasek ecryptfs-utils (Ubuntu): importance Critical Low
2011-07-11 23:28:59 Steve Langasek ecryptfs-utils (Ubuntu): status Invalid Triaged
2011-07-12 12:25:15 Dustin Kirkland  ecryptfs-utils (Ubuntu): importance Low Medium
2011-07-12 12:25:18 Dustin Kirkland  ecryptfs-utils (Ubuntu): assignee Dustin Kirkland (kirkland)
2011-07-19 19:02:59 Launchpad Janitor branch linked lp:ecryptfs
2011-08-16 00:49:05 Nobuto Murata bug added subscriber Nobuto MURATA
2011-12-27 18:11:15 Dustin Kirkland  ecryptfs-utils (Ubuntu): status Triaged In Progress
2011-12-27 18:18:19 Dustin Kirkland  ecryptfs-utils (Ubuntu): status In Progress Fix Committed
2012-02-16 20:25:12 Launchpad Janitor ecryptfs-utils (Ubuntu): status Fix Committed Fix Released
2012-02-16 20:50:34 Launchpad Janitor branch linked lp:ubuntu/ecryptfs-utils