[Bug 1579012] [NEW] Remote LUKS Root Filesystem Problem After Upgrading 14.04 to 16.04

Christian Felsing hostmaster at ip6.li
Fri May 6 10:55:58 UTC 2016


Public bug reported:

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

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Attachment added: "mount_cryptroot"
   https://bugs.launchpad.net/bugs/1579012/+attachment/4657154/+files/mount_cryptroot

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1579012

Title:
  Remote LUKS Root Filesystem Problem After Upgrading 14.04 to 16.04

Status in initramfs-tools package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1579012/+subscriptions



More information about the foundations-bugs mailing list