Remote LUKS Root Filesystem Problem After Upgrading 14.04 to 16.04

Bug #1579012 reported by Christian Felsing on 2016-05-06
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Medium
Unassigned

Bug Description

enclosed script /etc/initramfs-tools/hooks/mount_cryptroot is used to unlock LUKS root filesystem. Until 14.04 it was no problem to depend on existence of ${DESTDIR}/root for writing files, e.g. ssh public keys, scripts etc. From 16.04 a random home dir for root is used. Enclosed script contains an ugly workaround.

Feature request: Please provide a variable for hooks which contains path to root home dir.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: initramfs-tools 0.122ubuntu8
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Fri May 6 12:48:05 2016
InstallationDate: Installed on 2014-08-23 (621 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to xenial on 2016-05-06 (0 days ago)
mtime.conffile..etc.initramfs-tools.initramfs.conf: 2016-02-21T22:22:01

Christian Felsing (ip6li) wrote :
Launchpad Janitor (janitor) wrote :

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

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Changed in initramfs-tools (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers