[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#707116: live-build: httpfs2 support broken



Package: live-build
Version: 3.0.5-1
Severity: normal

Dear Maintainer,

it seems that support for httpfs2 is broken in wheezy's live-build.

* What led up to the situation?

In squeeze's version of live-build, it was possible to use a root filesystem located on a HTTP webserver which was accessed using "httpfs2". This does not work any more with wheezy.


* What exactly did you do (or not do) that was effective (or ineffective)?

$ lb config \
--apt apt \
--apt-indices false \
--apt-recommends false \
--architectures i386 \
--archive-areas "main non-free" \
--binary-images tar \
--debootstrap-options "--variant=minbase" \
--distribution stable \
--firmware-chroot false \
--initramfs live-boot \
--initramfs-compression lzma \
--linux-flavours 486 \
--memtest none

$ echo "httpfs2" >config/package-lists/my.list.chroot

$ lb build

Then I copied the resulting binary/live/{initrd.img*,vmlinuz*,filesystem.squashfs} to a local webserver, renamed filesystem.squashfs to rootfs.squashfs and booted using iPXE. The kernel append line contains "httpfs=http://192.168.1.1/rootfs.squashfs";


* What was the outcome of this action?

Kernel and initrd get loaded, kernel boots and prints "This Debian Live image failed to boot".

/boot.log contains the following last lines:
file name:      rootfs.squashfs
host name:      192.168.1.1
port number:    80
protocol:       http
request path:   /rootfs.squashfs
auth data:      (null)
file size:      101666816
/bin/mount: invalid option --

It seems that the mount command of busybox has problems with libfuse's mount options.


* What outcome did you expect instead?

I would expect that the httpfs is mounted like it worked in squeeze.


-- Package-specific info:

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap  1.0.48

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-0.1
pn  gnu-fdisk                       <none>
pn  live-boot-doc                   <none>
pn  live-config-doc                 <none>
pn  live-manual-html | live-manual  <none>

Versions of packages live-build suggests:
pn  debian-keyring              <none>
pn  dosfstools                  <none>
pn  git                         <none>
ii  gpgv                        1.4.12-7
pn  loadlin                     <none>
pn  memtest86+ | memtest86      <none>
pn  mtools                      <none>
pn  parted                      <none>
pn  squashfs-tools | mtd-tools  <none>
ii  sudo                        1.8.5p2-1+nmu1
pn  syslinux | grub             <none>
pn  uuid-runtime                <none>
pn  win32-loader                <none>
pn  xorriso                     <none>

-- no debconf information


Reply to: