Bug#757092: fai: syslinux package split, location of pxelinux changed

2014-08-30 Thread Thomas Lange
Oh, they have changed the behaviour. It's fixed in 4.2.3~beta5 and later.
-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#757092: fai: syslinux package split, location of pxelinux changed

2014-08-30 Thread Thomas
Package: src:fai
Followup-For: Bug #757092

Dear Maintainer,

"it's working" in my previous mail means:
fai-setup is running through without aborting but I can't boot from
the nfsroot or better from the created pxe environment.

The pxelinux.0 seems to need now a ldlinux.c32.
iPXE which is used by qemu to boot my client-to-install aborts with
the error message:
> Failed to load ldlinux.c32

I located the file in syslinux-common:
/usr/lib/syslinux/modules/bios/ldlinux.c32
and copied it to
/srv/tftp/fai/ldlinux.c32

With this change the client-to-install is booting but I'm pretty sure
that the old pxelinux.0 from syslinux-common hadn't this behaviour.


Thomas

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#757092: fai: syslinux package split, location of pxelinux changed

2014-08-30 Thread Thomas
Package: fai-server
Version: 4.2.2
Followup-For: Bug #757092

Dear Maintainer,

I'm using an up-to-date Jessie and run exactly in this problem today.
fai-setup doesn't complete.

8<--
root@fai:~# fai-setup
Creating FAI nfsroot in /srv/fai/nfsroot
Creating base system using debootstrap version 1.0.60
Calling debootstrap --exclude=info --include=aptitude jessie /srv/fai/nfsroot 
http://ftp.se.debian.org/debian
Creating base.tar.gz
..
..
..
install_packages exit code: 0
‘/srv/fai/nfsroot/boot/vmlinuz-3.14-2-amd64’ -> 
‘/srv/tftp/fai/vmlinuz-3.14-2-amd64’
‘/srv/fai/nfsroot/boot/initrd.img-3.14-2-amd64’ -> 
‘/srv/tftp/fai/initrd.img-3.14-2-amd64’
cp: cannot stat ‘/srv/fai/nfsroot/usr/lib/syslinux/pxelinux.0’: No such file or 
directory
Log file written to /var/log/fai/fai-make-nfsroot.log
Log file written to /var/log/fai/fai-setup.log
root@fai:~#
>8--

I patched /usr/sbin/fai-make-nfsroot with the patch and simulated the
new dependency with including pxelinux manually in the nfsroot:
> FAI_DEBOOTSTRAP_OPTS="--exclude=info --include=aptitude,pxelinux"
in /etc/fai/nfsroot.conf
and it is working.

Thomas


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages fai-server depends on:
ii  debootstrap  1.0.60
ii  fai-client   4.2.2

Versions of packages fai-server recommends:
pn  isc-dhcp-server   
pn  libproc-daemon-perl   
ii  nfs-kernel-server 1:1.2.8-9
pn  openbsd-inetd | inet-superserver  
ii  openssh-client1:6.6p1-7
ii  openssh-server1:6.6p1-7
ii  tftpd-hpa 5.2+20140608-3

Versions of packages fai-server suggests:
ii  aptitude   0.6.11-1
pn  debmirror  
pn  grub   
pn  perl-tk
pn  reprepro   
pn  xorriso

-- Configuration Files:
/etc/fai/NFSROOT changed:
PACKAGES aptitude
nfs-common fai-nfsroot module-init-tools ssh rdate lshw rpcbind
rsync lftp less dump e2fsprogs usbutils
hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2
dnsutils ntpdate dosfstools xfsprogs xfsdump
procinfo numactl dialog
console-common kbd
iproute moreutils udev
xz-utils
cupt
dracut-network live-boot- live-boot-initramfs-tools-
PACKAGES aptitude I386
grub-pc
linux-image-686
PACKAGES aptitude AMD64
grub-pc
linux-image-amd64

/etc/fai/apt/sources.list changed:
deb http://ftp.se.debian.org/debian jessie main
deb http://security.debian.org/debian-security jessie/updates main

/etc/fai/nfsroot.conf changed:
FAI_DEBOOTSTRAP="jessie http://ftp.se.debian.org/debian";
FAI_ROOTPW='$1$VJuUEDuz$TF7BdxNRLPh9mlpAOTZ8n1'
NFSROOT=/srv/fai/nfsroot
TFTPROOT=/srv/tftp/fai
NFSROOT_HOOKS=/etc/fai/nfsroot-hooks/
FAI_DEBOOTSTRAP_OPTS="--exclude=info --include=aptitude"
FAI_CONFIGDIR=/srv/fai/config


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#757092: fai: syslinux package split, location of pxelinux changed

2014-08-05 Thread Andreas B. Mundt
Source: fai
Severity: important
Tags: patch

Hi,

I already reported this issue to the developers' mailing list [1],
however it's probably a better idea to use the BTS to keep track of
it.

The syslinux package seems to have split pxlinux.0 into the pxelinux
package and the location of pxelinux.0 changed.  This effects the
fai-nfsroot and fai-server package.

Attached is a (upstream git) draft patch to implement these
modifications.

Best regards,

 Andi
>From 9c14e873cf1ab056028bb3279080066b3f72bab6 Mon Sep 17 00:00:00 2001
From: "Andreas B. Mundt" 
Date: Sat, 2 Aug 2014 08:52:55 +0200
Subject: [PATCH] Fix dependency and location of pxelinux.

---
 bin/fai-make-nfsroot | 2 +-
 debian/control   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/fai-make-nfsroot b/bin/fai-make-nfsroot
index 0fdd4e4..6081a56 100755
--- a/bin/fai-make-nfsroot
+++ b/bin/fai-make-nfsroot
@@ -485,7 +485,7 @@ umount_dirs() {
 setup_tftp(){
 
 # tftp environment
-local pxebin=$NFSROOT/usr/lib/syslinux/pxelinux.0
+local pxebin=$NFSROOT/usr/lib/PXELINUX/pxelinux.0
 rm -f $NFSROOT/boot/*.bak
 mkdir -p $TFTPROOT/pxelinux.cfg
 chmod a+r $NFSROOT/boot/initrd.img-*
diff --git a/debian/control b/debian/control
index 26f2aeb..1e42352 100644
--- a/debian/control
+++ b/debian/control
@@ -69,7 +69,7 @@ Description: Fully Automatic Installation quickstart package
 
 Package: fai-nfsroot
 Architecture: all
-Depends: fai-client, fai-setup-storage, syslinux-common | syslinux
+Depends: fai-client, fai-setup-storage, pxelinux
 Description: Fully Automatic Installation nfsroot package
  FAI is a non-interactive system to install, customize and manage
  Linux systems and software configurations on computers as well as
-- 
2.0.1