Encrypted home directory randomly unmounts

Bug #1420236 reported by James Page
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ecryptfs-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've noticed this a few times over the last month or so; my encrypted home directory will randomly unmount; I can mount it back straight away using the 'ecryptfs-mount-private' private and everything is accessible again.

Some things that are different about my install include the use of systemd as the init system instead of upstart.

I can't see anything in either the syslog or kern.log to give a clue as to why this happens.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ecryptfs-utils 104-0ubuntu1
ProcVersionSignature: Ubuntu 3.18.0-12.13-generic 3.18.4
Uname: Linux 3.18.0-12-generic x86_64
ApportVersion: 2.16-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Feb 10 11:12:42 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-11-25 (76 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141124)
SourcePackage: ecryptfs-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
James Page (james-page) wrote :
summary: - Encrypted home directory periodically unmounts
+ Encrypted home directory randomly unmounts
Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you use schroot? could be similar to bug #1430557

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

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

Changed in ecryptfs-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Adrian Skar (cylonskar) wrote :

This is happening to me now on Ubuntu 16.04 (Linux 4.4.0-24-generic (x86_64))

Revision history for this message
Wojciech Ziniewicz (wojciech-ziniewicz) wrote :

Same problem here. The output in dmesg:

[18185.463154] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-4]
[18185.463159] ecryptfs_writepage: Error encrypting page (upper index [0x0000000000000000])
[18473.552157] ecryptfs_encrypt_page: Error attempting to write lower page; rc = [-4]
[18473.552173] ecryptfs_writepage: Error encrypting page (upper index [0x0000000000000000])

Kernel version: Linux seriousbusiness 4.12.10-041210-generic #201708300614 SMP Wed Aug 30 10:16:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

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

Other bug subscribers

Remote bug watches

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