Package: fai-server Version: 5.10 Severity: normal Dear Maintainer,
I'm a new user of FAI. I've run a few test setups on VMs and am in the process of doing the first install on a production server, prepping to build real installs. This didn't crop up on single-interface VMs, but in production I've run into a problem with priming of the /etc/exports file, triggered by the presence of multiple interface and IP protocols on the server. At the end of the run of `fai-setup -v`, the nfs-server fails to load, and it appears the cause is that it is either failing to strip newlines when it obtains the server IP addresses, or is erroneously inserting newlines, when it constructs the exports entries. For example (indenting added by me, newlines added by fai-setup): /srv/fai/config 127.0.0.1/8 172.16.2.2/30 64.191.0.64/24 192.168.1.64/24 192.168.0.64/24 fe80::fc54:ff:fe78:7dd0/64 fe80::fc54:ff:fe48:106e/64 fe80::fc54:ff:fece:417f/64(async,ro,no_subtree_check) This causes nfs-server.service to fail to start. Correcting this is an easy problem to solve (remove the newlines) but a newbie to NFS might take a while to figure that out. -- System Information: Debian Release: 10.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-14-amd64 (SMP w/16 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages fai-server depends on: ii debootstrap 1.0.114 ii e2fsprogs 1.44.5-1+deb10u3 ii fai-client 5.10 ii xz-utils 5.2.4-1 Versions of packages fai-server recommends: ii dosfstools 4.1-2 ii isc-dhcp-server 4.4.1-2 ii libproc-daemon-perl 0.23-1 ii mtools 4.0.23-1 ii nfs-kernel-server 1:1.3.4-2.5+deb10u1 ii openbsd-inetd [inet-superserver] 0.20160825-4 ii openssh-client 1:7.9p1-10+deb10u2 ii openssh-server 1:7.9p1-10+deb10u2 ii tftpd-hpa 5.2+20150808-1+b1 Versions of packages fai-server suggests: ii binutils 2.31.1-16 pn debmirror <none> pn fai-setup-storage <none> pn grub2 <none> pn perl-tk <none> ii qemu-utils 1:3.1+dfsg-8+deb10u8 ii reprepro 5.3.0-1 ii squashfs-tools 1:4.3-12 ii xorriso 1.5.0-1 -- no debconf information