Preseeding from url breaks the nfs mount when booting live cd from nfsroot

Bug #351982 reported by Brian Pitts
2
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: casper

This has a similar symptom to Bug #268005 but I suspect the cause is different.

The following entry in my pxelinux configuration boots fine.

label install-ubuntu
menu label Install Ubuntu without preseeding
kernel 8.10/casper/vmlinuz
append boot=casper netboot=nfs initrd=8.10/casper/initrd.gz nfsroot=192.168.8.1:/var/lib/tftpboot/8.10 automatic-ubiquity debug-ubiquity --

However, if I specify a url to fetch a preseed configuration file from booting hangs. Here is a sample entry from my pxelinux configuration.

label install-ubuntu-preseed
menu label Install Ubuntu with preseeding
kernel 8.10/casper/vmlinuz
append boot=casper netboot=nfs initrd=8.10/casper/initrd.gz nfsroot=192.168.8.1:/var/lib/tftpboot/8.10 automatic-ubiquity debug-ubiquity url=http://192.168.8.1/preseed/district.txt --

On my server, I see the client perform the mount and begin to transfer data, but the transfer stops.

On the client, about 30 seconds after displaying the line "squashfs: version 2.2 (2007/10/31) Phillip Lougher" the line "nfs: server 192.168.8.1 not responding, still trying"

When booting hangs, the last thing in casper.log is a mention of fetching the preseed file and then output from dhclient showing it received a lease.

Colin Watson (cjwatson)
Changed in casper (Ubuntu):
assignee: nobody → cjwatson
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.168

---------------
casper (1.168) jaunty; urgency=low

  * Fix writing of "$@" to diverted update-initramfs script (here-documents
    perform parameter expansion unless the delimiter is quoted).
  * Don't bring up a temporary network interface while fetching the preseed
    file when netbooting, as that will disconnect our root filesystem
    (LP: #351982).

 -- Colin Watson <email address hidden> Tue, 31 Mar 2009 15:39:29 +0100

Changed in casper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.