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

Bug#521129: live-initramfs: hook= broken



Package: live-initramfs
Version: 1.156.1-1
Severity: normal

*** Please type your report below this line ***

For reproduction I have used vmware-workstation for the booting of the
debian-live binary.iso boot with a webserver
running on my host machine with ip address 192.168.0.4 with a hook
file of test.sh at http://192.168.0.4/test.sh
. I have edited the boot params to include:

hook=http://192.168.0.4/test.sh

And the /var/log/live.log has the following information:

Begin: Grant administrative PolicyKit pivilieges to default user ...
done.
Begin: Executing custom hook script ... Connecting to 192.168.0.4
(192.168.0.4:80)
wget: cannot connect to remote host (192.168.0.4): Network is
unreachable
chmod: test.sh: No such file or directory
/scripts/live-bottom/99hook: line 40: ./test.sh: not found
done.
done.

If you want to reproduce with a named internet web server for the
hook host, edit the boot param to use a name instead of an ip address
with something like:

hook=http://www.fyeox.com/test.sh

The following is from the /var/log/live.log:

Begin: Grant administrative PolicyKit pivilieges to default user ...
done.
Begin: Executing custom hook script ... wget: bad address
'www.fyeox.com'
chmod: test.sh: No such file or directory
/scripts/live-bottom/99hook: line 40: ./test.sh: not found
done.
done.

Thanks.

-- Package-specific info:

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-initramfs depends on:
ii  busybox                       1:1.10.2-2 Tiny utilities for small and embed
ii  file                          4.26-1     Determines file type using "magic"
ii  initramfs-tools               0.92o      tools for generating an initramfs
ii  sudo                          1.6.9p17-2 Provide limited super user privile
ii  udev                          0.125-7    /dev/ and hotplug management daemo
ii  user-setup                    1.23       Set up initial user and password

Versions of packages live-initramfs recommends:
ii  eject                       2.1.5+deb1-4 ejects CDs and operates CD-Changer
ii  uuid-runtime                1.41.3-1     universally unique id library
ii  wget                        1.11.4-2     retrieves files from the web

Versions of packages live-initramfs suggests:
pn  curlftpfs                     <none>     (no description available)
pn  genext2fs                     <none>     (no description available)
pn  httpfs2                       <none>     (no description available)
pn  loop-aes-utils                <none>     (no description available)
pn  mtd-tools                     <none>     (no description available)
pn  squashfs-tools                <none>     (no description available)

-- no debconf information



Reply to: