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

Bug#420162: marked as done (debian-installer don't load preseed/run script)



Your message dated Sun, 22 Apr 2007 18:47:35 +0200
with message-id <20070422164735.GF1537@gpm.stappers.nl>
and subject line Bug#420162 done: d-i does load and run preseed/run script
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Title: debian-installer don’t load preseed/run script

Package: debian-installer
Version: shipped with etch initial release

Hello,

I guess I found a bug in the debian installer concerning the preseed/run command.
Using a netinstall i386 Etch CD I enter at the command prompt :

Press F1 for help, or ENTER to boot : auto url="" interface=eth0

Then installation start up to a message standing :

"The file needed for preconfiguration could not be retrieved from
http://10.6.64.156/killdhcp.sh. The installation will proceed in
n
on-automated mode"

But if I ALT/CTRL/F2 and enter wget http://10.6.64.156/killdhcp.sh the file actually loads.

In preseed.cfg the directive is :

d-i preseed/run string killdhcp.sh

If I try to wget or load the file in a browser I succeed too.

Regards

Jacques Garnier ( ASTEK )
SNCF DSIT-XIS/SO-AI Solaris/Aix/linux/(Tru64)
Poste : 50 85 44


--- End Message ---
--- Begin Message ---
Op 22-04-2007 om 11:51 schreef Geert Stappers:
> In the file ${di-root}/packages/preseed/preseed.sh is this code:
> 
> |  for location in $torun; do
> |          location=$(make_absolute_url "$location" "$last_location")
> |          if [ -n "$location" ]; then
> |                  if ! preseed_fetch "$location" "$tmp"; then
> |                          log "error fetching \"$location\""
> |                          error retrieve_error "$location"
> |                  fi
> |                  chmod +x $tmp
> |                  if ! log-output -t preseed/run $tmp; then
> |                          log "error running \"$location\""
> |                          error load_error "$location"
> |                  fi
> |                  log "successfully ran \"$location\""
> |                  rm -f $tmp
> |          fi
> |  done
> 
> So the program code is having the `chmod +x` and the different messages,
> it's output should also be available to the user.

And d-i does do that.

I was not able the reprodure the original bug.  I did not need to add
additional scripting for setting execute permissions.


Closing this bugreport
Geert Stappers

P.S.

I still wonder what triggered the message
 "The file needed for preconfiguration could not be retrieved from
  http://10.6.64.156/killdhcp.sh. The installation will proceed in 
  non-automated mode"
but it works for me.

--- End Message ---

Reply to: