dirname not available in initramfs

Bug #1473812 reported by aleblanc
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

There is a call to dirname on line 11 of /usr/share/initramfs-tools/scripts/local-top/cryptroot, but dirname is not included in the initramfs.
This doesn't seem to cause any problems on a new system, but it caused me some problems when trying to debug some changes I made to my initramfs.

Description: Ubuntu 14.04.2 LTS
Release: 14.04

initramfs-tools:
  Installed: 0.103ubuntu4.2
  Candidate: 0.103ubuntu4.2
  Version table:
 *** 0.103ubuntu4.2 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.103ubuntu4 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: initramfs-tools 0.103ubuntu4.2
ProcVersionSignature: Ubuntu 3.13.0-57.95-generic 3.13.11-ckt21
Uname: Linux 3.13.0-57-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jul 13 02:57:43 2015
InstallationDate: Installed on 2015-07-01 (11 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
aleblanc (p-launchpad-aleblanc-cotse-net) wrote :
description: updated
Revision history for this message
Andy Whitcroft (apw) wrote :

Confirmed that in wily we get a dirname link in the initrds as generated.

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Andy Whitcroft (apw)
Changed in initramfs-tools (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Simon Déziel (sdeziel) wrote :

This also affects me on 14.04.4.

I've noticed that booting with "debug" instead of "quiet splash" resolves the issue. Maybe it's just a timing issue?

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.