We are running into problems attempting to build a Debian jessie system using FAI.

We first use fai-make-nfsroot. This (mostly) seems to work, but we get some errors (see below). We then pxeboot this nsfroot to attempt to build a jessie system and get errors related to systemd and NSF and then, finally, an error having to do with cgroups followed by a reboot.

Can someone provide an FAI configuration that works to build a jessie system?

Here are some of the errors from fai-make-nfsroot:
######################################################
...
Setting up mdadm (3.3.2-5) ...
W: mdadm: failed to load MD subsystem.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'rcS.distrib' missing LSB tags and overrides
invoke-rc.d: policy-rc.d denied execution of start.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
...
Waiting for background jobs to finish
[1]+ Running nice xz -q $NFSROOT/var/tmp/base.tar & (wd: /srv/fai/jessie-amd64)
fai-make-nfsroot finished properly.
Log file written to /var/log/fai/fai-make-nfsroot.log
(Reading database ... 20696 files and directories currently installed.)
Removing openssh-server (1:6.7p1-5) ...
Failed to read /proc/cmdline. Ignoring: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for openssh-server (1:6.7p1-5) ...
insserv: warning: script 'rcS.distrib' missing LSB tags and overrides
insserv: warning: script 'rcS.distrib' missing LSB tags and overrides
Processing triggers for man-db (2.7.0.2-5) ...
(Reading database ... 20675 files and directories currently installed.)
Preparing to unpack /tmp/fai-client_4.3.1_all.deb ...
Unpacking fai-client (4.3.1) over (4.3.1) ...
Preparing to unpack /tmp/fai-nfsroot_4.3.1_all.deb ...
Leaving 'diversion of /etc/init.d/rcS to /etc/init.d/rcS.distrib by fai-nfsroot'
Unpacking fai-nfsroot (4.3.1) over (4.3.1) ...
Preparing to unpack .../fai-setup-storage_4.3.1_all.deb ...
Unpacking fai-setup-storage (4.3.1) over (4.3.1) ...
Setting up fai-client (4.3.1) ...
Setting up fai-setup-storage (4.3.1) ...
Setting up fai-nfsroot (4.3.1) ...
insserv: warning: script 'rcS.distrib' missing LSB tags and overrides
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17) ...
dracut: Generating /boot/initrd.img-3.16.0-4-amd64
Failed to read /proc/cmdline. Ignoring: No such file or directory
caps: does not work with systemd in the initramfs
Failed to read /proc/cmdline. Ignoring: No such file or directory
######################################################


Here is part of what we get once we pxeboot. There are several [FAILED] lines:
#####################################################

Welcome to Debian GNU/Linux 8 (jessie) dracut-040-207-g7252cde (Initramfs)!

[   30.145615] systemd[1]: Inserted module 'autofs4'
[   30.202189] systemd[1]: No hostname configured.
[   30.256399] systemd[1]: Set hostname to <localhost>.
[   30.315937] systemd[1]: Initializing machine ID from random generator.

...

[ 39.261366] sd 0:2:0:0: [sda] 285474816 512-byte logical blocks: (146 GB/136 GiB) [ 39.261379] sd 0:2:1:0: [sdb] 11715215360 512-byte logical blocks: (5.99 TB/5.45 TiB)
[   39.261537] sd 0:2:0:0: [sda] Write Protect is off
[   39.261543] sd 0:2:1:0: [sdb] Write Protect is off
[ 39.261587] sd 0:2:0:0: [sda] Write cache: disabled, read cache: disabled, supports DPO and FUA [ 39.261606] sd 0:2:1:0: [sdb] Write cache: disabled, read cache: disabled, supports DPO and FUA
[   39.263136]  sdb: sdb1

[   39.263652] sd 0:2:1:0: [sdb] Attached SCSI disk
[   39.271797]  sda: sda1 sda2 sda3 < sda5 >
[   39.272225] sd 0:2:0:0: [sda] Attached SCSI disk

...

Welcome to Debian GNU/Linux 8 (jessie)!

[  OK  ] Stopped Switch Root.
[  OK  ] Stopped target Switch Root.
[  OK  ] Stopped target Initrd File Systems.
[  OK  ] Stopped target Initrd Root File System.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Expecting device dev-ttyS0.device...
[  OK  ] Created slice system-getty.slice.
         Starting Increase datagram queue length...

[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Slices.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Mounting Huge Pages File System...
[  OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.
         Stopping Journal Service...
[  OK  ] Stopped Journal Service.
         Mounting POSIX Message Queue File System...
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
         Mounting Debug File System...
         Starting Load Kernel Modules...
[  OK  ] Reached target Paths.
Starting Create list of required static device nodes...rrent kernel...
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on LVM2 metadata daemon socket.
[  OK  ] Reached target Swap.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.

[  OK  ] Mounted Debug File System.
[  OK  ] Started Increase datagram queue length.
[  OK  ] Started Load Kernel Modules.
[ OK ] Started Create list of required static device nodes ...current kernel.
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
[  OK  ] Listening on Syslog Socket.
[  OK  ] Reached target Sockets.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
Starting udev Wait for [ 172.197445] systemd-udevd[1821]: starting version 215
Complete Device Initialization...
[  OK  ] Started udev Kernel Device Manager.
         Starting LSB: MD array assembly...
Starting LSB: Set preliminary keymap...[ 172.466179] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4

[  172.553703] wmi: Mapper loaded
[  172.592698] EDAC MC: Ver: 3.0.0

...

] Started LSB: MD array assembly[ 175.568683] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
.
[  175.678205] alg: No test for crc32 (crc32-pclmul)
[  OK  ] Started udev Wait for Complete Device Initialization.
         Starting Activation of LVM2 logical volumes...
         Starting Copy rules generated while the root was ro...

[  OK  ] Started Activation of LVM2 logical volumes.
[FAILED] Failed to start Copy rules generated while the root was ro.
See 'systemctl status udev-finish.service' for details.
[  OK  ] Started LSB: Set preliminary keymap.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Reached target Encrypted Volumes.
         Starting Activation of LVM2 logical volumes...
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Activation of LVM2 logical volumes.
Starting Monitoring of LVM2 mirrors, snapshots etc. ...ress polling...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
[ OK ] Started Monitoring of LVM2 mirrors, snapshots etc. u...ogress polling.
[FAILED] Failed to start Load/Save Random Seed.
See 'systemctl status systemd-random-seed.service' for details.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting LSB: Raise network interfaces....
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Prepare console...
[  OK  ] Started Create Volatile Files and Directories.

[ 177.612993] systemd-journald[1820]: Received request to flush runtime journal from PID 1
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started LSB: Prepare console.
         Starting LSB: Set console font and keymap...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started LSB: Raise network interfaces..
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: RPC portmapper replacement...
[FAILED] Failed to start Update UTMP about System Boot/Shutdown.
See 'systemctl status systemd-update-utmp.service' for details.
[DEPEND] Dependency failed for Update UTMP about System Runlevel Changes.
[  OK  ] Started LSB: RPC portmapper replacement.
[  OK  ] Reached target RPC Port Mapper.
         Starting LSB: NFS support files common to client and server...
[  OK  ] Started LSB: Set console font and keymap.
[FAILED] Failed to start LSB: NFS support files common to client and server.
See 'systemctl status nfs-common.service' for details.
[  OK  ] Reached target System Initialization.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Basic System.
Starting Self Monitoring and Reporting Technology (SMART) Daemon...

[  OK  ] Started Self Monitoring and Reporting Technology (SMART) Daemon.
         Starting /etc/rc.local Compatibility...
Starting getty on tty2-tty6 if dbus and logind are not available...
         Starting LSB: Reboot FAI in a clean manner...
         Starting System Logging Service...
         Starting Permit User Sessions...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started System Logging Service.
         Starting Getty on tty2...
[  OK  ] Started Getty on tty2.
Startin[ 179.910929] cgroup: option changes via remount are deprecated (pid=2237 comm=umount) g Getty on tty1.[ 180.008372] cgroup: option or name mismatch, new: 0x0 "", old: 0x4 "systemd"
..
[  OK  ] Started Getty on tty1.
         Starting Serial Getty on ttyS0...
[ OK ] Started Serial Getty on ttyS0.[ 180.258385] kvm: exiting hardware virtualization

         Starting Getty on tty3...
[  OK  ] Started Getty on tty3.
[  180.727622] reboot: Restarting system
[  180.771548] reboot: machine restart


Antwort per Email an