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

Bug#684717: marked as done (debian-installer-7.0-netboot-amd64: Relative paths in syslinux configuration interact badly with TFTP prefix)



Your message dated Wed, 05 Sep 2012 09:03:03 +0000
with message-id <E1T9BVn-0002PM-6p@franck.debian.org>
and subject line Bug#684717: fixed in debian-installer-netboot-images 20120828
has caused the Debian Bug report #684717,
regarding debian-installer-7.0-netboot-amd64: Relative paths in syslinux configuration interact badly with TFTP prefix
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
684717: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684717
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer-7.0-netboot-amd64
Version: 20120712
Severity: wishlist

I tried to make the d-i files available under the /debian-installer path
of my TFTP server with a bind mount:

	$ findmnt /srv/tftp/debian-installer/
	TARGET                     SOURCE                                                   FSTYPE OPTIONS
	/srv/tftp/debian-installer /dev/mapper/thoth-root[/usr/lib/debian-installer/images] ext4   rw,relatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered

However the use of relative paths in the syslinux config files make this
difficult. My PXE-booted client displays the following:

	BOOT SERVER IP: 10.0.0.1
	!PXE entry point found (we hope) at 9E1C:0104 via plan A
	UNDI code segment at 9E1C len 199E
	UNDI data segment at 9C99 len 1830
	Getting cached packet  01 02 03
	My IP address seems to be 0A00010B 10.0.1.11
	ip:10.0.1.11:109.0.0.1:10.0.0.1:255.255.0.0
	BOOTIF=01-08-00-27-96-86-ec
	SYSUUID=blah
	TFTP prefix: debian-installer/amd64/text/
	Trying to load: pxelinux.cfg/default
	Could not find kernel image: debian-installer/amd64/boot-screens/vesamenu.c32
	boot: 

Looking at what's going over the network:

	# tshark -i eth0 -R tftp
	Capturing on eth0
	  6.254628    10.0.1.11 -> 10.0.0.1     TFTP 97 Read Request, File: debian-installer/amd64/text/pxelinux.0, Transfer type: octet, tsize\000=0\000
	  6.259698     10.0.0.1 -> 10.0.1.11    TFTP 1502 Data Packet, Block: 2
	...
	... data packets and requests for mac-address-specific pxelinux.cfg elided ...
	...
	  6.492348    10.0.1.11 -> 10.0.0.1     TFTP 120 Read Request, File: debian-installer/amd64/text/pxelinux.cfg/default, Transfer type: octet, tsize\000=0\000, blksize\000=1408\000
	  6.492898     10.0.0.1 -> 10.0.1.11    TFTP 67 Option Acknowledgement, tsize\000=154\000, blksize\000=1408\000
	  6.496270    10.0.1.11 -> 10.0.0.1     TFTP 60 Acknowledgement, Block: 0
	  6.496343     10.0.0.1 -> 10.0.1.11    TFTP 200 Data Packet, Block: 1 (last)
	  6.497011    10.0.1.11 -> 10.0.0.1     TFTP 60 Acknowledgement, Block: 1
	  6.497655    10.0.1.11 -> 10.0.0.1     TFTP 144 Read Request, File: debian-installer/amd64/text/debian-installer/amd64/boot-screens/menu.cfg, Transfer type: octet, tsize\000=0\000, blksize\000=1408\000
	  6.498214     10.0.0.1 -> 10.0.1.11    TFTP 61 Error Code, Code: File not found, Message: File not found
	  6.499417    10.0.1.11 -> 10.0.0.1     TFTP 148 Read Request, File: debian-installer/amd64/text/debian-installer/amd64/boot-screens/vesamenu.c32, Transfer type: octet, tsize\000=0\000, blksize\000=1408\000
	  6.499975     10.0.0.1 -> 10.0.1.11    TFTP 61 Error Code, Code: File not found, Message: File not found
	  6.501299    10.0.1.11 -> 10.0.0.1     TFTP 152 Read Request, File: debian-installer/amd64/text/debian-installer/amd64/boot-screens/vesamenu.c32.cbt, Transfer type: octet, tsize\000=0\000, blksize\000=1408\000
	  6.501857     10.0.0.1 -> 10.0.1.11    TFTP 61 Error Code, Code: File not found, Message: File not found
	  6.503305    10.0.1.11 -> 10.0.0.1     TFTP 150 Read Request, File: debian-installer/amd64/text/debian-installer/amd64/boot-screens/vesamenu.c32.0, Transfer type: octet, tsize\000=0\000, blksize\000=1408\000
	  6.503862     10.0.0.1 -> 10.0.1.11    TFTP 61 Error Code, Code: File not found, Message: File not found
	  6.505431    10.0.1.11 -> 10.0.0.1     TFTP 152 Read Request, File: debian-installer/amd64/text/debian-installer/amd64/boot-screens/vesamenu.c32.com, Transfer type: octet, tsize\000=0\000, blksize\000=1408\000
	  6.505995     10.0.0.1 -> 10.0.1.11    TFTP 61 Error Code, Code: File not found, Message: File not found
	  6.507237    10.0.1.11 -> 10.0.0.1     TFTP 152 Read Request, File: debian-installer/amd64/text/debian-installer/amd64/boot-screens/vesamenu.c32.c32, Transfer type: octet, tsize\000=0\000, blksize\000=1408\000
	  6.507794     10.0.0.1 -> 10.0.1.11    TFTP 61 Error Code, Code: File not found, Message: File not found

menu.cfg can't be loaded, because the TFTP prefix
'debian-installer/amd64/text' is prepended to the path in the config
file of 'debian-installer/amd64/boot-screens/menu.cfg'. If the config
file used paths relative to the pxelinux.0 file then I think booting
would work correctly.

Additionally the assumed prefix path written into the config files
doesn't let the 'text' and 'gtk' versions of the installers co-exist in
the same TFTP root, because the paths are missing the text/gtk element.
Once the various debian-installer-$VERSION-netboot-$ARCH packages are
co-installable, this will prevent different versions from being
accessible from the same TFTP server as well.

My workaround configuration involves bind-mounting
/usr/lib/debian-installer/images/amd64/text to
/srv/tftp/debian-installer/amd64, and then creating symlinks in
/srv/tftp pointing to 'debian-installer/amd64/pxelinux.{0,cfg/default}'.

An alternative workaround would be to configure the DHCP server to
specify the TFTP prefix path; however you're still limited to a single
version/architecture of debian-installer being configured per TFTP
server, and if you wanted to use another copy of pxelinux to boot
something else then the debian-installer configuration would still get
in the way.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (550, 'stable'), (540, 'stable-updates'), (520, 'testing'), (510, 'unstable')
Architecture: amd64 (x86_64)

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

debian-installer-7.0-netboot-amd64 depends on no packages.

debian-installer-7.0-netboot-amd64 recommends no packages.

Versions of packages debian-installer-7.0-netboot-amd64 suggests:
ii  tftpd-hpa                     5.2-4      HPA's tftp server

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: debian-installer-netboot-images
Source-Version: 20120828

We believe that the bug you reported is fixed in the latest version of
debian-installer-netboot-images, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 684717@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated debian-installer-netboot-images package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 05 Sep 2012 08:50:23 +0200
Source: debian-installer-netboot-images
Binary: debian-installer-7.0-netboot-amd64 debian-installer-7.0-netboot-armel debian-installer-7.0-netboot-armhf debian-installer-7.0-netboot-i386 debian-installer-7.0-netboot-ia64 debian-installer-7.0-netboot-kfreebsd-amd64 debian-installer-7.0-netboot-kfreebsd-i386 debian-installer-7.0-netboot-mips debian-installer-7.0-netboot-mipsel debian-installer-7.0-netboot-powerpc debian-installer-7.0-netboot-sparc
Architecture: source all
Version: 20120828
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description: 
 debian-installer-7.0-netboot-amd64 - Debian-installer network boot images for amd64
 debian-installer-7.0-netboot-armel - Debian-installer network boot images for armel
 debian-installer-7.0-netboot-armhf - Debian-installer network boot images for armhf
 debian-installer-7.0-netboot-i386 - Debian-installer network boot images for i386
 debian-installer-7.0-netboot-ia64 - Debian-installer network boot images for ia64
 debian-installer-7.0-netboot-kfreebsd-amd64 - Debian-installer network boot images for kfreebsd-amd64
 debian-installer-7.0-netboot-kfreebsd-i386 - Debian-installer network boot images for kfreebsd-i386
 debian-installer-7.0-netboot-mips - Debian-installer network boot images for mips
 debian-installer-7.0-netboot-mipsel - Debian-installer network boot images for mipsel
 debian-installer-7.0-netboot-powerpc - Debian-installer network boot images for powerpc
 debian-installer-7.0-netboot-sparc - Debian-installer network boot images for sparc
Closes: 682656 684717
Changes: 
 debian-installer-netboot-images (20120828) unstable; urgency=low
 .
   * Mark the s390{,x} architectures unsupported.
   * Put the netboot images in a 'Release number'-specific path. (Closes:
     #682656)
   * Extend the Built-Using field to match debian-installer package's by
     downloading these too in a trustful way.
   * Avoid overly cleaning syslinux trees, which breaks the relative
     paths in syslinux configuration. (Closes: #684717)
Checksums-Sha1: 
 33f1aa725b5b6745c0cf0e59bfaffbe1326409cc 2638 debian-installer-netboot-images_20120828.dsc
 660ac9b7cedae8dba320356fafc768952e29ae4d 4676 debian-installer-netboot-images_20120828.tar.gz
 12fe8dfb36826ec8fcd8bfbd5491c5a5b10bac99 42471112 debian-installer-7.0-netboot-amd64_20120828_all.deb
 fd439e5fd3c48551e7c4ea7912ae06c87af2db35 77696820 debian-installer-7.0-netboot-armel_20120828_all.deb
 5c014e058ce7b01348a45f14fe9a6c0a68fc27af 25961332 debian-installer-7.0-netboot-armhf_20120828_all.deb
 1238671fbdb0077f94db1166f4f27b2a0d127284 41226398 debian-installer-7.0-netboot-i386_20120828_all.deb
 fe0a8325476a7e6e9dde6be2a1ac2bb86e9f0b6a 15677848 debian-installer-7.0-netboot-ia64_20120828_all.deb
 bfebc7fbe0b77232e57a99557f80351cacf3eea5 34241948 debian-installer-7.0-netboot-kfreebsd-amd64_20120828_all.deb
 04cd3e812931756b26692f82988e78c26a75644d 9523602 debian-installer-7.0-netboot-kfreebsd-i386_20120828_all.deb
 67bf5b616541ce396a98efcd035b9732177347e9 30538824 debian-installer-7.0-netboot-mips_20120828_all.deb
 67ff6ea1e52b3f329c6b91aca85a99311d658765 35183288 debian-installer-7.0-netboot-mipsel_20120828_all.deb
 fd6f66147ab289059f80a67084c04d8cc2505e65 75960534 debian-installer-7.0-netboot-powerpc_20120828_all.deb
 35d67bfdfe0fb7befe0a8cdfebe6e1c4229bf17f 5651054 debian-installer-7.0-netboot-sparc_20120828_all.deb
Checksums-Sha256: 
 3d2130b8ae583a5b66c018e6d9231bf7f36b07fb60e736cc90a6f83e66fb626f 2638 debian-installer-netboot-images_20120828.dsc
 e54ca42d2bb5096dcf3ea33044a559474f8e0665f1e53389f1374a9df46de40f 4676 debian-installer-netboot-images_20120828.tar.gz
 ff597d4f6dda88c9ed450db7c9d2f3a5f297478dfff6b50cbfe4e1e9ba599115 42471112 debian-installer-7.0-netboot-amd64_20120828_all.deb
 bd88178332842fe4a1c9131286da90daea1fc913a0d6e2bdd17e1352968b8929 77696820 debian-installer-7.0-netboot-armel_20120828_all.deb
 bda6a25be167ea8dae5865aa23b864ac1ebd6ad29295ba48515c348e4738d07d 25961332 debian-installer-7.0-netboot-armhf_20120828_all.deb
 3d20e76b9a60d342a453f7f850b2517f6e0d3107e1e54c652531a26d02c5e191 41226398 debian-installer-7.0-netboot-i386_20120828_all.deb
 5f47ffab67e88a6fb1fb6e749f1b9d2937494c3d69060030f3ee07468fb43ed9 15677848 debian-installer-7.0-netboot-ia64_20120828_all.deb
 5ac92de690ec5c8d125af46cf997325008a898e6f81961615271e63e6544118c 34241948 debian-installer-7.0-netboot-kfreebsd-amd64_20120828_all.deb
 3d6f4673f929337ca06f6596be82994e884cc5b001ddbe122e4ec2d55b7fc55a 9523602 debian-installer-7.0-netboot-kfreebsd-i386_20120828_all.deb
 807f7799b347486f98baa23e15654ba226a9540ba3f1450a5237220231c22c0e 30538824 debian-installer-7.0-netboot-mips_20120828_all.deb
 feaccc0d44610e5ac90524111527ae13b11c9f4d56f82ab7c784802f501d0ccb 35183288 debian-installer-7.0-netboot-mipsel_20120828_all.deb
 d32989bae90cf6efcb24be375be3ac9e66a0f54fd3570b693cfca79411dd32a9 75960534 debian-installer-7.0-netboot-powerpc_20120828_all.deb
 f7e5c71b59fc12333d18ba9c812af99f8182f82c977fd0b834b645dc590f69eb 5651054 debian-installer-7.0-netboot-sparc_20120828_all.deb
Files: 
 ed178badfbab17b8a0df87b6993fdd55 2638 misc optional debian-installer-netboot-images_20120828.dsc
 39c7adcd99a0a64202cc633519106412 4676 misc optional debian-installer-netboot-images_20120828.tar.gz
 6222c425f655ca16ec59e94a4bc4dde5 42471112 misc optional debian-installer-7.0-netboot-amd64_20120828_all.deb
 27f397be69915410cb065ddfc9aedf4c 77696820 misc optional debian-installer-7.0-netboot-armel_20120828_all.deb
 0b42c2af10a81a954d450034f931bf16 25961332 misc optional debian-installer-7.0-netboot-armhf_20120828_all.deb
 eddd4fcf975ea3b7c6438ef1053d8eb5 41226398 misc optional debian-installer-7.0-netboot-i386_20120828_all.deb
 39cb6909aad5ad40728b4db1609270bc 15677848 misc optional debian-installer-7.0-netboot-ia64_20120828_all.deb
 aa85183c79e424c952d55a26f789b861 34241948 misc optional debian-installer-7.0-netboot-kfreebsd-amd64_20120828_all.deb
 9fb312f7be60f43badb61cdf318bf6cb 9523602 misc optional debian-installer-7.0-netboot-kfreebsd-i386_20120828_all.deb
 88ee96cc1b0bf5af8661dfc502ad60a3 30538824 misc optional debian-installer-7.0-netboot-mips_20120828_all.deb
 0878aa9df56afca9e41380b3699c353a 35183288 misc optional debian-installer-7.0-netboot-mipsel_20120828_all.deb
 2de2f4eb123602b8f96a34f8614b1623 75960534 misc optional debian-installer-7.0-netboot-powerpc_20120828_all.deb
 10bdbf889c9bda508a8132aee13d05a7 5651054 misc optional debian-installer-7.0-netboot-sparc_20120828_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQGcBAEBCAAGBQJQRw6gAAoJEIvPpx7KFjRVXIcL+warna0n1cNqQCpZczFxxSLU
0f1XpEwmI1+gRTHFWwHrUsO7R+ileNdeDDub/9nEJsv+UrSfSVkO41RqOHIGcsoE
aYP8MxDd1B1aH6OQrD8UJLpECcYGJrj2ht5LTJHUNDrFizMQSfeeeMn3VqkRZztD
q7GbSai7uWUkaA8wcdpoGcVCdvdMLTqVhnMHAwGmiSlz8ux7RVmV/l8DxTeHwQpz
eH2iN0Gwjw7wffhD3UXg++ldXg6IzBZgtrb8CrvVdgCQG4FnX1U42uklsvIOtQNX
r4myqVWa08YtWn7BmmabjAwulyDbW4cSpp8nXsJyKZ0aWSFNkDOwwGrcC8Mw9NIW
nfmfJ7FzmGvGhY3w1je8hd1vtGvxVbRf0gqZDYi1Xg5ML76QppBNikeSOSKMvxwL
Yye3P6zxTCQ2xdNH8wEBygt08+FjWI6v+4ZTetaerXO2oCQ70FfXxE/hATEVk557
op+1vhX6pUhgaLgbM5ayLYR+d4oHAtgr3E5mWIzT0Q==
=XVya
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: