[Bug 882670] Re: lb_chroot_dpkg doesn't check dpkg version before setting 'unsafe-io' option

Neil Wilson neil at aldur.co.uk
Tue Nov 8 17:10:30 UTC 2011


I'm using live build to build virtual machines and I noticed this and
I thought I'd report it as it was an easy fix.

I was rather hoping to do what I wanted as an extension to the
standard live-build, but that subsequently seems impossible so I've
just forked the code for my purposes.

On 8 November 2011 13:51, Colin Watson <cjwatson at canonical.com> wrote:
> Or rather (as I notice "chroot" here means the target system), it might
> well be better-supported to use livecd-rootfs.  I didn't really want to
> expand the scope of the project that switched Ubuntu to live-build to
> cover releases older than oneiric.
>


-- 
Neil Wilson

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/882670

Title:
  lb_chroot_dpkg doesn't check dpkg version before setting 'unsafe-io'
  option

Status in “live-build” package in Ubuntu:
  New
Status in “live-build” package in Debian:
  Fix Released

Bug description:
  The dpkg in the chroot (on a lucid build for example) might not be new
  enough to handle the 'unsafe-io' option set in the configuration file.

  lb_chroot_dpkg should check the chroot's dpkg capability first, e.g.

  Chroot chroot dpkg --force-help | grep -q unsafe-io

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: live-build 3.0~a24-1ubuntu17 [modified: usr/share/live/build/scripts/build/lb_bootstrap_cdebootstrap]
  ProcVersionSignature: User Name 3.0.0-12.20-virtual 3.0.4
  Uname: Linux 3.0.0-12-virtual x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Thu Oct 27 17:02:24 2011
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: live-build
  UpgradeStatus: Upgraded to oneiric on 2011-10-14 (13 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/882670/+subscriptions



More information about the Ubuntu-sponsors mailing list