[Bug 909139] Re: preseed_fetch no longer works with relative URL

Bug Watch Updater 909139 at bugs.launchpad.net
Fri Jun 9 20:45:24 UTC 2023


** Changed in: preseed (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to preseed in Ubuntu.
https://bugs.launchpad.net/bugs/909139

Title:
  preseed_fetch no longer works with relative URL

Status in preseed package in Ubuntu:
  Confirmed
Status in preseed package in Debian:
  Fix Released

Bug description:
  My installer preseed file contains the following line, which worked in
  natty:

  d-i preseed/late_command string preseed_fetch post-install.sh
  /tmp/post-install.sh && sh /tmp/post-install.sh > /var/log/post-
  install.out 2>&1

  In oneiric, it fails with this rather cryptic error:

  /bin/fetch-url: .: line 33: can't open /usr/lib/fetch-url//post-
  install.sh

  It appears these scripts have been reworked for oneiric to be more
  modular in their protocol support:

  http://changelogs.ubuntu.com/changelogs/pool/main/p/preseed/preseed_1.49ubuntu1/changelog

  However, the backward compatibility support seems to be broken for
  certain cases. make_absolute_url in /lib/preseed/preseed.sh is
  apparently failing to make the URL absolute. I notice it uses the last
  location to try to resolve relative URLs. However, this is my only
  usage of fetch, and /var/run/preseed.last_location does not exist.

  Making the URL absolute causes the fetch to succeed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/909139/+subscriptions




More information about the foundations-bugs mailing list