make nfs root dies on dracut setup in stretch build

Nat Sincheler fai1107 at macrotex.net
Tue Jun 27 15:59:48 CEST 2017


Thanks to Juri Grabowski and Justin Cattle for the suggestion to include 
curl: that took care of the issue.



On 6/23/2017 1:37 PM, Nat Sincheler wrote:
> We are trying to build a stretch NFS root. We keep getting this error:
> 
> #####################################################
> Setting up dracut (044+241-3) ...
> dracut: Generating /boot/initrd.img-4.9.0-3-amd64
> dracut: dracut module 'livenet' depends on 'url-lib', which can't be 
> installed
> dracut: dracut module 'livenet' cannot be found or installed.
> dpkg: error processing package dracut (--configure):
>   subprocess installed post-installation script returned error exit 
> status 1
> Errors were encountered while processing:
>   dracut
> ERROR: 256 256
> ERROR: chroot /srv/fai/stretch-amd64 dpkg --configure --pending return 
> code 1
> install_packages: executing chroot /srv/fai/stretch-amd64 dpkg -C
> The following packages are only half configured, probably due to problems
> configuring them the first time.  The configuration should be retried using
> dpkg --configure <package> or the configure menu option in dselect:
>   dracut               Low-level tool for generating an initramfs image 
> (automat
> 
> install_packages: executing chroot /srv/fai/stretch-amd64 apt-get clean
> 2 errors during executing of install_packages
> ERROR: install_packages had exit code: 3
> Log file written to /var/log/fai/fai-make-nfsroot.log
> #####################################################
> 
> We are using FAI version 5.3.6 on Debian jessie.
> 
> 
> Here are the packages that we install:
> 
> PACKAGES install
> 
> # Administrative and debugging utilities
> deborphan dnsutils locales numactl psmisc rsync wipe
> syslinux pxelinux
> 
> cryptsetup
> 
> # Base
> dialog iproute lsb-release xz-utils
> 
> # Disk and file system
> dosfstools dump e2fsprogs hdparm lvm2 mdadm parted xfsprogs xfsdump
> 
> # FAI (Perl sends log messages after build)
> fai-nfsroot libmime-lite-perl lftp perl
> 
> # Hardware
> hwinfo lshw pciutils procinfo read-edid smartmontools usbutils
> 
> # Kernel
> firmware-bnx2 firmware-bnx2x firmware-linux firmware-myricom
> firmware-netxen firmware-qlogic firmware-realtek kmod udev
> 
> # BusyBox
> busybox-static
> 
> # Install dracut and remove initramfs-tools:
> dracut-network dracut live-boot- initramfs-tools-
> dracut-config-generic
> 
> systemd-sysv- sysvinit-core
> 
> # Networking
> dnsutils isc-dhcp-client ntpdate openssh-client openssh-server rdate
> 
> # NFS client
> nfs-common rpcbind
> 
> 
> PACKAGES aptitude I386
> grub-pc
> linux-image-686-pae
> 
> PACKAGES aptitude AMD64
> grub-pc
> linux-image-amd64
> 



More information about the linux-fai mailing list