"Check disc for defects"(integrity-check) does not work

Bug #1177839 reported by Nobuto Murata
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-defaults-builder (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

A built image with ubuntu-defaults-builder cannot run "Check disc for defects" on gfxboot.

How to reproduce:
 1. build a raring image with ubuntu-defaults-builder
 2. boot with the built image
 3. select "Check disc for defects" on gfxboot

Expected result:
 show result of integrity-check

Actual result:
 return to gfxboot immediately

ubuntu-defaults-builder and live-build do not generate /cdrom/md5sum.txt which casper expects

$ apt-cache policy ubuntu-defaults-builder live-build
ubuntu-defaults-builder:
  Installed: 0.47.1
  Candidate: 0.47.1
  Version table:
 *** 0.47.1 0
        500 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status
live-build:
  Installed: 3.0~a57-1ubuntu6
  Candidate: 3.0~a57-1ubuntu6
  Version table:
 *** 3.0~a57-1ubuntu6 0
        500 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: ubuntu-defaults-builder 0.47.1 [modified: usr/bin/ubuntu-defaults-image]
ProcVersionSignature: User Name 3.8.0-19.30-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
NonfreeKernelModules: usblp
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Wed May 8 15:20:37 2013
Ec2AMI: ami-09fe7108
Ec2AMIManifest: ubuntu-ap-northeast-1/images-testing/ubuntu-raring-daily-amd64-server-20130507.manifest.xml
Ec2AvailabilityZone: ap-northeast-1a
Ec2InstanceType: m1.small
Ec2Kernel: aki-44992845
Ec2Ramdisk: unavailable
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=screen-bce
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-defaults-builder
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :

We are in the similar situation as:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/873401/comments/2

We can generate /cdrom/MD5SUMS with LB_CHECKSUMS=md5 in ubuntu-defaults-builder, but cannot rename it to "md5sum.txt", because binary hook in ubuntu-defaults-builder is executed before "lb binary_checksums" is called.

We can fix this in live-build or casper, not ubuntu-defaults-builder, I think.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu-defaults-builder (Ubuntu):
status: New → Confirmed
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.