guestmount does not work, libguestfs-test-tool test is not ok
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libguestfs (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
Quantal |
Invalid
|
Medium
|
Unassigned | ||
seabios (Ubuntu) |
Fix Released
|
Medium
|
Serge Hallyn | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Medium
|
Serge Hallyn |
Bug Description
=======
SRU Justification (for seabios):
1. Impact: guestmount does not work
2. Development fix: apply a patch from upstream to handle zero allocations
3. stable fix: same as development fix
4. Test case: run guestmount (see below)
5. Regression potential: this patch was cleanly cherrypicked from upstream, so
no regressions are expected.
=======
guestmount does not work. libguestfs-
fred@pegasus:~$ libguestfs-
===== Test starts here =====
LIBGUESTFS_DEBUG=1
TMPDIR=(not set)
libguestfs: new guestfs handle 0xc14f60
library version: 1.14.8
guestfs_get_append: (null)
guestfs_
guestfs_
guestfs_get_direct: 0
guestfs_
guestfs_
guestfs_get_path: /usr/lib/guestfs
guestfs_get_pgroup: 0
guestfs_get_qemu: /usr/bin/kvm
guestfs_
guestfs_
guestfs_get_smp: 1
guestfs_get_trace: 0
guestfs_
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: [00000ms] febootstrap-
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/
checking modpath /lib/modules/
picked vmlinuz-
checking modpath /lib/modules/
picked vmlinuz-
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib/
supermin helper [00000ms] visiting /usr/lib/
supermin helper [00000ms] visiting /usr/lib/
supermin helper [00000ms] adding kernel modules
supermin helper [00080ms] finished creating appliance
libguestfs: [00083ms] begin building supermin appliance
libguestfs: [00083ms] run febootstrap-
libguestfs: [00083ms] febootstrap-
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /var/tmp/
supermin helper [00000ms] inputs[0] = /usr/lib/
checking modpath /lib/modules/
picked vmlinuz-
checking modpath /lib/modules/
picked vmlinuz-
supermin helper [00000ms] finished creating kernel
supermin helper [01793ms] finished mke2fs
supermin helper [01793ms] visiting /usr/lib/
supermin helper [01793ms] visiting /usr/lib/
supermin helper [01798ms] visiting /usr/lib/
febootstrap-
libguestfs: error: external command failed, see earlier error messages
libguestfs-
libguestfs: closing guestfs handle 0xc14f60 (state 0)
I have also a up-to-date fedora16 partition running where is al works great.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libguestfs0 1:1.14.8-1
ProcVersionSign
Uname: Linux 3.2.0-15-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sat Feb 11 14:26:13 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120210)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libguestfs
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in seabios (Ubuntu): | |
status: | New → Confirmed |
Changed in libguestfs (Ubuntu): | |
importance: | Undecided → Medium |
Changed in seabios (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
tags: |
added: verification-done removed: verification-needed |
OK, I have been working with hillu, who does upstream febootstrap for Debian. We have found out why this happens. Somehow packages get selected twice during procssing and building the hostfiles file. febootstrap has been patched for this and will make the list of packages unique. This does not solve the root cuase, because we don' t know why apt returns dups.
hillu has pushed a working febootstrap 3.12-2 to Debian/unstable last night. Would be great if that would be pushed into precise.