[Bug 1817689] Re: [16.04.6 Desktop] Cannot log in after installation with encrypted home enabled
Iain Lane
iain at orangesquash.org.uk
Tue Feb 26 18:39:03 UTC 2019
That function does some interesting stuff to find out where a sysfs is
mounted. It's broken because for some reason (don't know why), /proc
isn't mounted inside the chroot when we run adduser.
AFAICT user-setup is wrong here though - it calls adduser which calls
into ecryptfs. It ensures /sys is mounted but not /proc.
I don't know what was making this work before. I'm proposing to fix this
directly and not track that down since it seems fairly clear that user-
setup is buggy in this respect anyway.
--
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/1817689
Title:
[16.04.6 Desktop] Cannot log in after installation with encrypted home
enabled
Status in ubiquity package in Ubuntu:
Confirmed
Status in ubiquity source package in Xenial:
Confirmed
Bug description:
Ubuntu Desktop 16.04.6 20190222
Test Case
Do an entire disk installation and on the 'Who are you' page select "encrypt home", reboot and log in from lightdm
Actual Result
The log in is rejected. There are permission denied in the logs (journal attached)
This is a *regression* in 16.04.6. It works fine on 16.04.5.
The following message appears in the logs:
""""
user-setup: Error: Your kernel does not support filename encryption
user-setup: ERROR: Could not add passphrase to the current keyring
user-setup: adduser: `/usr/bin/ecryptfs-setup-private -b -u u' returned error code 1. Exiting.
""""
This is with kernel 4.15.0-45-generic
16.04.5 uses kernel 4.15.0-29-generic
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 4.15.0-45.48~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Tue Feb 26 06:10:00 2019
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd quiet splash --- apt-setup/restricted=false apt-setup/multiverse=false
InstallationDate: Installed on 2019-02-26 (0 days ago)
InstallationMedia: Ubuntu 16.04.6 LTS "Xenial Xerus" - Release amd64 (20190222)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1817689/+subscriptions
More information about the foundations-bugs
mailing list