encrypted home-directory is not unmounted on logout

Bug #1734541 reported by Jojo on 2017-11-26
260
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Medium
Unassigned
gnome-session (Ubuntu)
Medium
Unassigned

Bug Description

Current Situation:

If you log out from an user account with an encrypted home directory, it is not automatically unmounted and encrypted again.

Expected behaviour:

If I log out from an user account with an encrypted home directory, Id expect the homedir to be unmounted and encrypted again.
Stepts to reproduce:

    log into an account with encrypted home directory. (lets call it: user)
    Log out again
    log into another account (which has sudo rights, lets call it: user2)

and now enter the following into a terminal:

user2@ubuntu: sudo su
user2@ubuntu: ls -la /home/user

you can see the files of the user

Reasons:
This is a security issue, because as a user you can reasonable expect your data to be safe, if you log out. if you would simply log in as another user but keep your data accessable you would simply switch user, instead of loggin out.
Many users only suspend their laptop while carrying it with them. Logging out and suspending the user expects to have at least the home directory encrypted.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gdm3 3.26.1-3ubuntu2
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 26 16:18:39 2017
EcryptfsInUse: Yes
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)

Jojo (derdiedasjojo) wrote :
information type: Public → Public Security
Changed in gdm3 (Ubuntu):
importance: Undecided → Medium
Changed in gnome-session (Ubuntu):
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

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

Changed in gdm3 (Ubuntu):
status: New → Confirmed
Changed in gnome-session (Ubuntu):
status: New → Confirmed
Star Man (starman) wrote :

I confirm this issue is affecting me too.

Star Man (starman) wrote :

Sorry, this are my system specs:

Ubuntu 18.04 LTS amd64
GNOME Shell desktop
Ecryptfs IN USE
kernel Linux 4.15.0-22-generic x86_64

ubuntu_neuer (pcspezialist) wrote :

Ich bin ebenfalls davon betroffen.
I confirm this issue is affecting me too.

Das ist mein System:
This are my system:

Linux Mint 19 (Beta) 64Bit - based on Ubuntu 18.04
Cinnamon 3.8.4
Ecryptfs in use (Home - directory)
kernel 4.15.0-22-generic x86_64

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

Other bug subscribers