Attempt to fai-setup for Bookworm fails -?

Thomas Lange lange at cs.uni-koeln.de
Fri Jan 5 11:14:43 CET 2024


>>>>> On Fri, 5 Jan 2024 10:55:57 +0100, Steffen Grunewald <steffen.grunewald at aei.mpg.de> said:

    > Using the files in /etc/fai that come with fai-server_6.0.5, I end up with this:

    > ...
    > update-initramfs: deferring update (trigger activated)
    > Processing triggers for dracut (059-4) ...
    > dracut: Generating /boot/initrd.img-6.1.0-17-amd64
    > dracut: dracut module 'network' depends on 'systemd-networkd', which can't be installed
    > dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
    > dracut: dracut module 'livenet' depends on 'network', which can't be installed
    > dracut: dracut module 'nfs' depends on 'network', which can't be installed
    > dracut: dracut module 'nvmf' depends on 'network', which can't be installed
    > dracut: dracut module 'ifcfg' cannot be found or installed.
    > dpkg: error processing package dracut (--configure):
    >  installed dracut package post-installation script subprocess returned error exit status 1
    > Errors were encountered while processing:
    >  dracut
    > ...
You need the dracut module network-legay, not network (which needs systemd)
which is hardocded in fai-make-nfsroot.

    > Of course, I've got to do this on a Bullseye machine. What am I doing wrong?

Which version of FAI do you have on this bullseye machine? 5.10.X?
Or a FAI 6.x version?

I guess you need to use the newer version of fai-make-nfsroot (from
bookworm) on the bullseye machine. Maybe it's just related to
https://bugs.debian.org/1010906 but I did more changes to this script
for newer dracut versions.

I do not remember correctly if it's possible to use the bookworm
packages of FAI on a bullseye host system to create a bookworm
nfsroot. But I would guess it's possible.

-- 
regards Thomas


More information about the linux-fai mailing list