du is missing from initrd

Bug #424731 reported by Tormod Volden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
busybox (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: casper

fs_size in scripts/casper-helpers uses "du", but the binary is missing from the initrd.

From casper.log:
+ du -ks /mnt/tmp_fs_size
/init: line 1: du: not found
+ cut -f1
+ size=
+ expr + / 20
expr: non-numeric argument
+ size=

ProblemType: Bug
Architecture: i386
Date: Sat Sep 5 10:10:45 2009
DistroRelease: Ubuntu 9.10
Package: casper 1.189
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
SourcePackage: casper
Uname: Linux 2.6.31-9-generic i686

Revision history for this message
Tormod Volden (tormodvolden) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Oh wait, I guess busybox has du (and df which I see used other places), so adding the full du binary will not be necessary.

Colin Watson (cjwatson)
affects: casper (Ubuntu) → busybox (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package busybox - 1:1.13.3-1ubuntu6

---------------
busybox (1:1.13.3-1ubuntu6) karmic; urgency=low

  * [initramfs] Enable CONFIG_FEATURE_USE_TERMIOS (LP: #268306).
  * [initramfs] Enable du, for casper (LP: #424731).

 -- Colin Watson <email address hidden> Mon, 07 Sep 2009 12:46:29 +0100

Changed in busybox (Ubuntu):
status: New → Fix Released
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Should "df" also be added?

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 424731] Re: du is missing from initrd

Oh, yeah, it probably should. Done.

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

Other bug subscribers